LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-20-2006, 03:01 PM   #1
leupi
Member
 
Registered: Mar 2004
Location: Annapolis, Maryland, USA
Distribution: Ubuntu 11.04, Mint 11.11, Xubuntu 11.11
Posts: 458

Rep: Reputation: 30
rsync or dump


I have setup a backup system for my computer (wish I did this BEFORE I lost my data...) with an online company 'iBackup' and they gave me directions on using 'rsync' and it worked fine.

When would one use 'dump' vs 'rsync'? It is my understanding the rsync does not work for tapes and dump does; what are the pros and cons to each when deciding on a backup strategy?

Thanks

Todd
 
Old 01-20-2006, 03:20 PM   #2
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,280

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
"dump" is like the "dd" command. It works with raw binary. Creates an "image" so to speak. Roughly analagous to what Ghost, DriveImage or TrueImage do for Windows. You cannot pick out and restore individual files from a dump. It's all or nothing. The whole image or none of it. I believe the Windows equivalents I mentioned probably DO allow you to pick out individual files under some circumstances, but "dump/restore" and "dd" will not.

rsync, on the other hand, copies individual files (and directories). It does not produce an "image". So if you accidently deleted one file you could restore just that one file from a rsync backup. Think of rsync as just a fancy copy command.

You might want to "dump" filesystems that rarely change and you would want to quickly restore after a catastrophic event. Possibly / and /boot. But you might desire the rsync individual file flexibility for a backup or /home however. That way when a user calls and says they accidently deleted an important file you can leave /home untouched except for that one file. You'll probably want overlap from both backup strategies. Quickly restore a working-but-not-perfect system from the latest dump, and then catch up on the latest changes you've made to config files from the latest rsync backup.

Last edited by haertig; 01-20-2006 at 03:21 PM.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 03:49 PM
rsync error AND/OR dump question Sinope Linux - General 4 08-26-2004 06:57 PM
How to forcely dump the history of user commands to the admin dump file. mcp_achindra Linux - Security 1 03-19-2004 01:04 PM
Using dump. h3r0n Linux - Software 0 08-29-2003 08:11 AM
I'm nearly able to dump XP... closet geek Linux - Software 8 04-14-2003 03:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:47 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration