Results 11 to 11 of 11
-
27th Jun 2010, 11:27 AM #11Member
Well, I've tested this and it works
But I've made some modification for it to work
Replace the following according:
1. - /home/<something>/
2. - <the-username>
3. - <the-password>
4. - <the-db>
5. - RSUsername
6. - RSPassword
7. - change col to prem if you have premium rs acc
save the following script to filename.sh
Code:date=$(date +%F) mysqldump -u <the-username> --password=<the-password> --databases <the-db> > /home/<something>/db_$date.sql gzip -f /home/<something>/db_$date.sql perl "/home/<something>/perl/rsapiresume.pl" /home/<something>/db_$date.sql.gz col RSUsername RSPassword rm /home/<something>/db_$date.sql.gz rm /home/<something>/rsapiuploads.txt
save and upload it to /home/<something>/perl
in cPanel, add a cron job
- set Common Settings : Once a day
- command: /bin/sh /home/<something>/filename.sh
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
MySql Database To Large
By Kat in forum Webmaster DiscussionReplies: 16Last Post: 14th Dec 2011, 10:59 PM -
mysql query to export database
By lenney in forum IP.BoardReplies: 4Last Post: 7th May 2011, 03:43 PM -
WTB method of backing up a large forum database?
By DoctorX in forum Technical Help Desk SupportReplies: 11Last Post: 11th Apr 2011, 02:17 PM -
Mysql(Database)host
By Mit1mit2 in forum Hosting DiscussionReplies: 1Last Post: 19th Sep 2010, 07:03 PM -
Backing up database problem
By pspuser007 in forum vBulletinReplies: 7Last Post: 21st Nov 2009, 11:09 AM
themaLeecher - leech and manage...
Version 5.06 released. Open older version (or...