![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
So Fucking Banned
Join Date: Jan 2005
Posts: 3,716
|
What's the Easiest Way To Backup Multiple DB's regularly?
Hello,
Simple question, I have several sites that need the SQL databases backing up on a regular basis and either emailing to me or saving to desktop. What is the simplest/ best way to do this without manually having to do a backup. Ideally it wouldn't backup to FTP either (unless it's a different server) They would need backing up daily or perhaps weekly. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
So Fucking Banned
Join Date: Jan 2005
Posts: 3,716
|
Anyone?
I guess some here bother to backup - no? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
I'm still broke.
Industry Role:
Join Date: Jul 2008
Location: WildWildWest
Posts: 3,084
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
So Fucking Banned
Industry Role:
Join Date: Apr 2001
Location: the beach, SoCal
Posts: 107,090
|
Does your server have a control panel installed? If so, which one?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: May 2012
Posts: 124
|
what db engine? I will assume mysql
i suppose you could write a script to run mysqldump and then mail it or whatever schedule with cron |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Bye - Left to do stuff
Industry Role:
Join Date: Feb 2013
Posts: 4,109
|
SQL or MySQL?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
frc
Industry Role:
Join Date: Jul 2003
Location: Bitcoin wallet
Posts: 4,664
|
I backup using the command line mySQL interface, but I wouldn't say that's the easiest unless you use the command line all the time anyway...
__________________
Crazy fast VPS for $10 a month. Try with $20 free credit |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Industry Role:
Join Date: Jun 2003
Location: Costa Rica
Posts: 1,953
|
Here's what I do via cron with mysql for one of my servers:
Code:
20 21 * * * mysqldump -u backup client_hightech | gzip -v9 - > /var/www/clients/nightlies/hightech_nightly.sql.gz 20 21 * * * mysqldump -u backup client_clinicazhen | gzip -v9 - > /var/www/clients/nightlies/clinicazhen_nightly.sql.gz 20 21 * * * mysqldump -u backup client_ics | gzip -v9 - > /var/www/clients/nightlies/ics_nightly.sql.gz
__________________
Yii Framework Guru - Seasoned PHP vet - Partner @ XXXCoupon.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
So Fucking Banned
Join Date: Jan 2005
Posts: 3,716
|
I could do with a cron job or something. It's just Cpanel and it's Mysql
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Bye - Left to do stuff
Industry Role:
Join Date: Feb 2013
Posts: 4,109
|
IF its MySQL, here is a few tools
http://dev.mysql.com/downloads/tools/utilities/ http://sourceforge.net/projects/phpbackup/ http://www.digitalcoding.com/free-so...t-Windows.html |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Registered User
Industry Role:
Join Date: May 2013
Posts: 31
|
Write\Google a script to mysqldump and move the file to your dropbox folder.
Set cronjob to w\e... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
So Fucking Banned
Industry Role:
Join Date: Apr 2001
Location: the beach, SoCal
Posts: 107,090
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
Jwerd method is easiest one.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 | |
So Fucking Banned
Join Date: Jan 2005
Posts: 3,716
|
Quote:
Thanks for all your answers. Hopefully I will get something sorted soon, these days you can't afford to fuck up. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Confirmed User
Industry Role:
Join Date: Jan 2012
Location: NC
Posts: 7,683
|
i use simple shell script for that., it creates dump of db, and then uploads it to remote ftp...
__________________
SSD Cloud Server, VPS Server, Simple Cloud Hosting | DigitalOcean
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Confirmed User
Industry Role:
Join Date: Feb 2011
Location: Ontario, Canada
Posts: 1,026
|
I don't think I have used a host in the past 5 years who didn't do daily db backups automatically, have you asked them?
__________________
[email protected] ICQ: 269486444 ZoxEmbedTube - Build unlimited "fake" tubes with this easy 100% unencoded CMS! |
![]() |
![]() ![]() ![]() ![]() ![]() |