Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: how to set up backups
PostPosted: Tue Nov 23, 2010 1:17 pm 
Offline
Senior Newbie

Joined: Fri Nov 12, 2010 5:45 am
Posts: 14
Hi,

I'm running a couple of linodes and am enrolled in the linode backups program, so "normally" we should be able to restore our full systems if anything serious goes wrong, right?

We are running apache and mysql and allow users to upload files to our server.

what's the best way to backups mysql and those user files?
We currently dump all mysql databases to an SQL file in a weekly/daily/monthly folder, but that of course is not incremental.

We are looking for a set-it-and-forget-it solution, not a three day full time project.

thanks for all your help and advice!


Top
   
 Post subject:
PostPosted: Tue Nov 23, 2010 2:09 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
That sounds like a reasonable plan. Just make sure the dump occurs before the daily backup runs. :-)

I wouldn't worry too much about the incrementality, unless your dump files are quite large (consider using pbzip2 if that's the case). Something like rsnapshot or duplicity could help with managing old versions of user files, especially for the dreaded accidental delete.

Bonus points: consider enabling MySQL's binlog and look at the --master-data option for mysqldump. With this, you might be able to reduce the frequency of mysqldumps.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group