Backup with Rsync

Diposkan oleh Unknown on Saturday, November 1, 2008

There's a nice article about backups with rsync at Linux.com.
I shall leave the explanations to it and just post my script as example here
DIRS="Documents Desktop"

cd ~
for i in $DIRS;
do
echo Syncing $i
rsync -av --progress -e ssh "$i" user@server:/path/to/dir
done

{ 0 komentar... read them below or add one }

Post a Comment

Come on share your comment, but please do not spam