#!/bin/sh

cd /var/www
mysqldump -q --opt -h localhost --user=root --password={password} --events --all-databases > /var/www/backup/db_$(date +%y%m%d).sql
gzip -f /var/www/backup/db_$(date +%y%m%d).sql

echo "Sync.... \r\n";
java -jar /opt/SyncrifyClient/Loader.jar -console backup.syncrify
Facebook 討論區載入中...