Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Mar 19, 2009 5:47 am 
Offline

Joined: Thu Mar 19, 2009 5:17 am
Posts: 1
Hi All Linodites!
I have just joined in and am thinking about a bomb-proof backup solution. I noticed you can create a disk image copy and keep it in your reserve space.
However can one download and upload it? And how if so?
What cronable command can do this disk cloning from cronjob?
Any there any better ideas?
Thank you in advance


Top
   
 Post subject:
PostPosted: Sat Mar 21, 2009 12:34 am 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
Cloning a disk image and downloading it regularly is NOT a bomb-proof backup solution.

First of all, you need to shut down your linode whenever you do the cloning, because otherwise some files will change in the middle of the cloning and cause inconsistencies in your filesystem. Do you really want to shut down your linode every day/week/etc just to clone your disk image?

Second, it's a ridiculous waste of space and bandwidth to produce a copy of your entire server every day/week/etc and download it. On most servers, very little data actually changes between those backups. So you'll be cloning and downloading gigabytes upon gigabytes of data that you already have copies of.

In addition, I don't think it would be possible to handle disk cloning with cron, because cron runs inside your linode and disk cloning is done outside of it. (As I said above, you need to shut down your linode first. How would you run cron, or anything else for that matter, when your server is powered off?)

Linode seems to have a backup solution in the works, but nobody here knows when it will be released.

Best solution: learn to use rsync or any of its useful derivatives, such as rdiff-backup or rsnapshot. Use it regularly from your home machine, or better yet, from one of those excellent $15/month backup services. Or maybe using Amazon S3.


Top
   
 Post subject:
PostPosted: Sat Mar 21, 2009 12:52 am 
Offline
Senior Member
User avatar

Joined: Sun Feb 08, 2004 7:18 pm
Posts: 562
Location: Austin
Second the rdiff-backup suggestion. I got some useful ideas from this guide when I set mine up. It looks insecure because it has you logging in as root, but it isn't because that key is only allowed to run the specified rdiff command when it logs in.


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


Who is online

Users browsing this forum: No registered users and 4 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