scp and symlinks

Matthew Carpenter matt
Mon Nov 22 06:56:33 PST 2004


Jorge Almeida wrote:

>>> files. What interests me about rsync is the "sync" part of the name. I
>>> would like to set up a better backup and/or transfer routine that will
>>> just grab all the files newly created or changed on my work machine. Is
>>> there a way to run either rsync or scp on a batch file, to have it just
>>> grab the files new or altered on a given day, or even better, just the
>>> changed portions instead of downloading the entire files?
>>>
>>> Scott
>>
>>
>> I run rsync on a nightly basis to backup /home/  and some other 
>> partitions.
>>
>> rsync -auvzr -e ssh --delete /home/   <othernamchine>:/home2/
>>
> Regarding the "sync" function, it is worth to take a look at unison
>     http://www.cis.upenn.edu/~bcpierce/unison/
> It uses ssh for the transport, too, and allows synchronization in both
> senses. Besides, it copies changed files (as opposed to copying all
> files or only new files).
>
Unison looks promising for syncronized filesystems,
rsync's main benefits are
1) only changed files can be copied and
2) only the changed PARTS of files are copied.
 and there are many others.  One simply needs read the man page to see.



More information about the Linux-users mailing list