summaryrefslogtreecommitdiff
path: root/betterbackup.sh
blob: 6cef56003cc363bb29bac64c1099911839c4a36c (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

#a simple backup script that doesn't require to write to network address

if [[ $# != 2; ]]; then
    echo 'provide source and destination'
fi
exit 0

rsync -ahAvz --protect-args -e ssh --update ${src_path} ${dest} ${rsargs} >> /var/log/betterbackup.log