LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 05-20-2010, 08:45 AM   #1
hywei
LQ Newbie
 
Registered: May 2010
Posts: 2

Rep: Reputation: 0
better sofeware to backup disk


Hello, my problem is that I have about 20 virtual disks, and I use rsync to backup them,
but if I only change a byte of one disk, rsync will transfer the whole disk.
Is there any software to just transfer what I changed instead of the whole file?
 
Old 05-21-2010, 04:29 AM   #2
vigi
Member
 
Registered: May 2009
Location: australia
Distribution: slackware
Posts: 177

Rep: Reputation: 27
Yes rsync does this.
This is the command I use to backup my "home-source" data directory to "home-destination" directory on a second drive partition.

"home-source" backup to sdb6 "rsync -auvpH home-source/ /mnt/hd/home-destination/"
This does incremental backups, with the same permissions.
Do some reading on the web to find what the options are doing; and if it suits you.
 
Old 05-22-2010, 08:56 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
hywei, did you get this worked out? Not clear from your original post whether it would be a problem with how you are specifying the details to rsync, or whether perhaps you are dealing with disk images for virtual systems. If the latter, and you are using rsync from outside those virtual systems, then rsync will see the disk image as a single file, and that could be a problem. If you run rsync from within the virtual system, then you can be more appropriate and conservative in what you copy. It is sort of like the idea of backing up your data rather than your whole system on the assumption that you will reinstall the OS and recover the data.

However, there may be some tricks you can apply to get virtual system disk images copied efficiently, if that's what you are doing and what you want to do. See, for example, http://www.finalcog.com/rsync-vm-spa...ace-kvm-vmware.
 
Old 05-23-2010, 01:32 AM   #4
hywei
LQ Newbie
 
Registered: May 2010
Posts: 2

Original Poster
Rep: Reputation: 0
hi, choogendyk.

My problem is the latter case as you said, and I try to use rdiff-backup to solve it before, but currently I don't have enough time to complete it.

However, thanks very much for your suggestion, and I will post it if it works.
 
  


Reply

Tags
rsync


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
linux sofeware traveling like street& map or pc miler rd8006 Linux - Newbie 2 08-25-2009 10:08 PM
clone hard disk with: cat /dev/sda >/media/disk/backup deathalele Linux - Security 3 04-17-2009 12:29 AM
backup a failing disk to a larger disk gfem Linux - General 8 07-13-2007 07:19 PM
disk to disk backup for debian/Mempis on bootable cd-- advice loninappleton Linux - Software 3 05-27-2005 01:00 AM
can I backup a root disk and boot from the new backup disk linuxbkp Linux - Enterprise 3 10-15-2004 06:42 PM


All times are GMT -5. The time now is 06:23 PM.

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