[script]backup in mathieu's home

This commit is contained in:
Mathieu Maret 2014-01-23 18:03:39 +01:00
parent 545e2be87d
commit 9194e07fea

View File

@ -9,4 +9,4 @@ fi
file=$BACKUP_DIR/wiki-$DATABASE-$(date '+%Y-%m-%d').sql.gz
/usr/bin/mysqldump -u $USER --password=$PASSWORD $DATABASE -c | /usr/bin/gzip > $file
#rsync $BACKUP_DIR
scp $file pi@tutabaga.hd.free.fr:~/Backups/wiki/
scp $file mathieu@tutabaga.hd.free.fr:~/Backups/wiki/