Nov 6, 2017

Backup MySQL to AWS s3

mysqlbackup --login-path=root --skip-final-rescan --only-known-file-types --no-locking --sleep=88 --on-disk-full=abort_and_remove --protocol=tcp --backup-dir=/backup/database --with-timestamp --backup-image=- backup-to-image | aws s3 cp - s3://i88-ca-backup-canada/db/$(date +%F-%R) 
Post a Comment

Featured Post

Setup Chinese Input Method in Ubuntu 17.10 Artful

sudo apt install ibus-sunpinyin After either of those commands do not forget to restart the IBus daemon ibus restart You might need t...