LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 08-11-2009, 04:04 PM   #1
werfer
Member
 
Registered: Sep 2003
Posts: 52

Rep: Reputation: 15
backup question


Hi,

this is rather a philosophical question, I guess: I was sitting around with a few friends of mine, and it turns out we all use a Linux machine as a file server.

Now, so much for the similarities. We discovered that each of us uses a different method to backup the file server. I simply have a script which creates a tar.gzip of the files and SCPs it to a backup machine. One of my friends uses a script which uses FTP to put the files on a backup machine, a third guy simply uses dd. And so on.

Now, we started arguing about the very best method to backup a file server. I do admit that mine is a bit amateurish, as I need to reinstall my machine after a crash before I can restore the data and go on working :-) So we argued all night about the very best way to do this - and came to no real result. Anyone here who has some experience on how this should be done best?
 
Old 08-12-2009, 12:19 AM   #2
donneo
LQ Newbie
 
Registered: Jun 2008
Posts: 16

Rep: Reputation: 0
You need not tar the files every day and scp to a different server. It is better to use rsync the files to the remote location. rsync will first create the list of files and transfer to the remote location. Next day before transferring the files, it will check for the list of files in the folder. If there are no changes in any of the files, rsync will not take the burden to copy those files. It will copy only the new and updated files making the entire process simple and faster.
 
Old 08-12-2009, 08:12 AM   #3
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,189

Rep: Reputation: 105Reputation: 105
Arguments over what is best will always go all night.

If you are interested in digging into alternatives and possibilities, and learning a bunch about backups along the way, get the book Backup and Recovery by W. Curtis Preston. It has a companion web site http://www.backupcentral.com/.

The book covers all the basic tools like tar, dump, dd, rsync, etc., as well as more advanced network backup software such as Amanda and Bacula.
 
Old 08-12-2009, 03:02 PM   #4
werfer
Member
 
Registered: Sep 2003
Posts: 52

Original Poster
Rep: Reputation: 15
Thanks for the answers - I will take a look at man rsync, and this book definitely sounds intriguing!! :-)
 
Old 08-12-2009, 03:06 PM   #5
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by werfer View Post
Thanks for the answers - I will take a look at man rsync, and this book definitely sounds intriguing!! :-)
have a look at rsnapshot too....a lovely little tool
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
backup question - NFS share in Ubuntu 9.04 backup to READYNAS NV+ newellrp1 Linux - Newbie 3 05-19-2009 04:57 PM
Backup question numtre Linux - Software 6 01-07-2009 07:24 PM
About backup question. satimis Linux - General 12 06-29-2006 06:47 AM
backup question blockme Debian 3 05-28-2004 08:08 PM
Backup question TomH37 Linux - Software 1 05-24-2004 07:32 PM


All times are GMT -5. The time now is 01:57 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration