Backup with Rsync

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

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

No comments:

Post a Comment

I appreciate comments. Feel free to write anything you wish. Selected comments and questions will be published.