Results 1 to 10 of 10
-
9th May 2011, 03:41 AM #1OPMember
Automated DB backup and FTP
I'm running a CentOS 5 Dedicated Server (no control panel, preferably won't install one).
I'm wanting to be able to have a automated MySQL database backup every 12 hours and uploaded to a VPS via FTP, how would I be able to do that?
Thanks.Time Reviewed by Time on . Automated DB backup and FTP I'm running a CentOS 5 Dedicated Server (no control panel, preferably won't install one). I'm wanting to be able to have a automated MySQL database backup every 12 hours and uploaded to a VPS via FTP, how would I be able to do that? Thanks. Rating: 5
-
9th May 2011, 04:04 AM #2OH GOD!!!!!Website's:
HotNewHipHop.comare you using any scripts?
in vbulletin theres a plugin which takes an automatic backup then later on you can ftp that backup or transfer it to another server but im not sure on how you would go about making it go straight ftp etc
-
9th May 2011, 04:08 AM #3OPMember
I don't have anything like that running on the Dedicated Server, it's for a game.
-
9th May 2011, 02:24 PM #4MemberWebsite's:
animeout.com mangaout.com scenator.comwhat cms are u using? (if any)...most cms have plugins for this purpose
-
9th May 2011, 02:57 PM #5Respected Member
Use mysqldumper. It will do all that for you automatically.
-
10th May 2011, 11:19 AM #6MemberWebsite's:
XXX-ddl.orgWell I would do this with a cron job executing every 12 hours and a small bash script:
Code:#! /bin/bash mysqldump -u username -h localhost -p password database_name | gzip -9 > backup_db.sql.gz wput backup_db.sql.gz ftp://user:pass@host
Second line uploads compressed file to another server via ftp.
KaFo
-
10th May 2011, 01:44 PM #7Respected Member
Remember wput is not standard on all servers and would have to be installed.
-
10th May 2011, 02:51 PM #8MemberWebsite's:
XXX-ddl.org
-
10th May 2011, 03:16 PM #9The Wise OneWebsite's:
twilight.ws ddlrank.comWhy not just take the backup and SCP it to the VPS? Why would you need FTP? =/
-
10th May 2011, 05:05 PM #10Respected Member
@KaFo * true if he knows he has to do it.
@Whoo * I am assuming he wants it offsite somewhere. Not on the same server.
He could scp instead of ftp or wput or ?? Just what a person knows that make them feel comfortable.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
CrownCloud - Backup solution - Backup your sites today ! For $5/Month
By speedbus in forum Other Hosting OffersReplies: 0Last Post: 17th Apr 2012, 06:55 AM -
Unable to restore backup using Wp complete backup
By Jayzzy in forum Webmaster DiscussionReplies: 13Last Post: 25th Mar 2012, 03:32 PM -
Fully automated backup - SSH to Windows FTP
By cvrle77 in forum Tutorials and GuidesReplies: 9Last Post: 13th Jan 2012, 01:35 AM -
Semi-automated MySQL Database Backup Using SSH :)
By Lifetalk in forum Tutorials and GuidesReplies: 6Last Post: 23rd Jan 2011, 05:43 PM -
Automated vBulletin Database Backup to RapidShare.com
By desiboy in forum Tutorials and GuidesReplies: 30Last Post: 20th May 2010, 04:25 PM
themaCreator - create posts from...
Version 3.45 released. Open older version (or...