scp and symlinks

Jorge Almeida jalmeida
Sat Nov 20 10:56:49 PST 2004


>> 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).

-- 
Jorge Almeida


More information about the Linux-users mailing list