Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Backup or not?
PostPosted: Thu Dec 06, 2012 8:56 am 
Offline
Senior Member

Joined: Tue Oct 20, 2009 9:02 am
Posts: 56
I have a site (yes, some would call it app, but "site" was there first and I'm sticking with that term) with a setup like so:

A) 1 linode holds php + nginx
B) 1 linode holds mysql
C) 1 linode holds redis

I also have a linode that RSYNCs the content of (A) and mysqldumps every morning from (B) and stores it i.e. in effect creates a backup of my site and stores it on this one linode that does nothing else than just sit there as backup. At times, I even make backup of the backup and RSYNCs the whole linode to my home machine so that if New Jersey gets completely snowed in, I can still setup my site elsewhere with a couple of days lagging.

My simple question is: is there a better/simpler/cheaper way to make backups at linode? I know of the backup package but pardon me for saying so but it seems .... well, not so good.

Anyways, please do feel free to pitch me your suggestions, if you can spare the time.

Much appreciated.


Top
   
 Post subject: Re: Backup or not?
PostPosted: Thu Dec 06, 2012 9:55 am 
Offline
Senior Member
User avatar

Joined: Sat Apr 07, 2012 3:40 am
Posts: 56
Website: http://for-no-reason.net
Location: Australia
I personally use duplicity + amazons s3 service to store my backups. Depending on how much data you're storing and how often you access it, it should still turn out cheaper than having a dedicated linode just for storing backups, but it would still be a good idea to back up to multiple services just in case :)


Top
   
 Post subject: Re: Backup or not?
PostPosted: Thu Dec 06, 2012 10:59 am 
Offline
Senior Member

Joined: Sun May 23, 2010 1:57 pm
Posts: 315
Website: http://www.jebblue.net
>> I have a site (yes, some would call it app, but "site" was there first and I'm sticking with that term)

If it's not Web 2.0 (no AJAX for example) then it's still a site, not an app, that's my understanding.

http://en.wikipedia.org/wiki/Web_2.0

It's tough to do better than rsync for backups, after the very first one, it's fast for daily backups, use the -e option to run over ssh.

If a vulnerability in rsync is ever found then all operating systems are in trouble.


Top
   
 Post subject: Re: Backup or not?
PostPosted: Thu Dec 06, 2012 2:09 pm 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
If a vulnerability in rsync is ever found... it won't matter for most of us, as we don't use rsync in daemon mode. We use it over SSH, and so in order to exploit a flaw in rsync they would first need to get an authenticated SSH connection to the server.


Top
   
 Post subject: Re: Backup or not?
PostPosted: Thu Dec 13, 2012 8:27 am 
Offline
Senior Member

Joined: Tue Oct 20, 2009 9:02 am
Posts: 56
Thank you for the S3 suggestion. Seems a reasonable alternative.


Top
   
 Post subject: Re: Backup or not?
PostPosted: Fri Dec 14, 2012 12:27 pm 
Offline
Junior Member
User avatar

Joined: Wed Apr 11, 2012 8:46 am
Posts: 31
Website: http://www.neomallers.com
Location: Toronto Canada
sorry to hijack this thread but is there a good way to keep local backups of a linode? //linux n00b here

Thanks!


Top
   
 Post subject: Re: Backup or not?
PostPosted: Fri Dec 14, 2012 12:33 pm 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
Depends on your definition of "local"... Linode offers a backup service ($5/mth on the cheapest Linode, IIRC) that keeps on-site backups, allowing you to recover quickly from hardware failures or messing up your linode; you can deploy a new linode from a backup.


Top
   
 Post subject: Re: Backup or not?
PostPosted: Sat Dec 15, 2012 6:22 pm 
Offline
Senior Member
User avatar

Joined: Tue Nov 24, 2009 1:59 pm
Posts: 362
I have an old quiet laptop with a big disk running 24/7 at home.
Linode dumps an rdiff-backup incremental to it every night.
Wouldn't recommend that for a mission critical system, but for personal stuff it's fine.

_________________
rsk, providing useless advice on the Internet since 2005.


Top
   
 Post subject: Re: Backup or not?
PostPosted: Sat Dec 15, 2012 6:47 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
rsk wrote:
I have an old quiet laptop with a big disk running 24/7 at home.

Which keeps him busy on weekends backing that up to floppies...

Image

_________________
Either provide enough details for people to help, or sit back and listen to the crickets chirp.
Security thru obscurity is a myth - and really really annoying.


Top
   
 Post subject: Re: Backup or not?
PostPosted: Sat Dec 15, 2012 8:41 pm 
Offline
Senior Member

Joined: Sun May 23, 2010 1:57 pm
Posts: 315
Website: http://www.jebblue.net
Guspaz wrote:
If a vulnerability in rsync is ever found... it won't matter for most of us, as we don't use rsync in daemon mode. We use it over SSH, and so in order to exploit a flaw in rsync they would first need to get an authenticated SSH connection to the server.


That's true.


Top
   
 Post subject: Re: Backup or not?
PostPosted: Mon Dec 31, 2012 12:02 pm 
Offline
Junior Member
User avatar

Joined: Wed Apr 11, 2012 8:46 am
Posts: 31
Website: http://www.neomallers.com
Location: Toronto Canada
Local backups as in on an external hard disk (or even dropbox) What i do currently is backup the file system using webmin and dump the databases into a gzip every at 2 am via a cron task, (it also keeps the last 10 days worth of databases) But what would be great is something that takes incremental backups of the files + system and also be able to restore a single file if needed. I was thinking of using linode for the system and keep doing my usual business for the data+databases but thought there might be an easier route.

I'll take a look into rdiff-backup though! Thanks!


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


Who is online

Users browsing this forum: No registered users and 1 guest


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