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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 06-06-2013, 10:39 AM   #1
nexcom28
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.
nexcom28 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-06-2013, 12:23 PM   #2
nexcom28
So Fucking Banned
 
Join Date: Jan 2005
Posts: 3,716
Anyone?

I guess some here bother to backup - no?
nexcom28 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-06-2013, 12:24 PM   #3
PornDude
I'm still broke.
 
PornDude's Avatar
 
Industry Role:
Join Date: Jul 2008
Location: WildWildWest
Posts: 3,084
http://www.phpmybackuppro.net/
PornDude is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-06-2013, 12:28 PM   #4
baddog
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?
baddog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-06-2013, 12:32 PM   #5
alcstrategy
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
alcstrategy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-06-2013, 12:35 PM   #6
Ferus
Bye - Left to do stuff
 
Industry Role:
Join Date: Feb 2013
Posts: 4,109
SQL or MySQL?
Ferus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-06-2013, 12:35 PM   #7
shake
frc
 
Industry Role:
Join Date: Jul 2003
Location: Bitcoin wallet
Posts: 4,664
Quote:
Originally Posted by nexcom28 View Post
Anyone?

I guess some here bother to backup - no?
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
shake is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-06-2013, 12:38 PM   #8
jwerd
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
You could add more to it like date/timestamp, if you wanted.
__________________
Yii Framework Guru - Seasoned PHP vet - Partner @ XXXCoupon.com
jwerd is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-06-2013, 12:38 PM   #9
nexcom28
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
nexcom28 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-06-2013, 12:38 PM   #10
Ferus
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
Ferus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-06-2013, 12:42 PM   #11
evil0x
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...
evil0x is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-06-2013, 12:52 PM   #12
baddog
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: the beach, SoCal
Posts: 107,090
Quote:
Originally Posted by nexcom28 View Post
I could do with a cron job or something. It's just Cpanel and it's Mysql
I don't use cPanel but I am relatively confident they have a backup feature. That would probably be the easiest (via cron job)
baddog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-06-2013, 12:54 PM   #13
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Jwerd method is easiest one.
Klen is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-06-2013, 12:55 PM   #14
nexcom28
So Fucking Banned
 
Join Date: Jan 2005
Posts: 3,716
Quote:
Originally Posted by baddog View Post
I don't use cPanel but I am relatively confident they have a backup feature. That would probably be the easiest (via cron job)
I only just started using it this week, I didn't know that but I will look into it.

Thanks for all your answers. Hopefully I will get something sorted soon, these days you can't afford to fuck up.
nexcom28 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-06-2013, 10:37 PM   #15
freecartoonporn
Confirmed User
 
freecartoonporn's Avatar
 
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...
freecartoonporn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-06-2013, 10:47 PM   #16
Zoxxa
Confirmed User
 
Zoxxa's Avatar
 
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!
Zoxxa is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.