This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
rsync-backup [2012/12/21 15:26] 85.218.109.130 created |
rsync-backup [2012/12/21 15:31] 85.218.109.130 |
||
---|---|---|---|
Line 3: | Line 3: | ||
(run as sudo) | (run as sudo) | ||
- | rsync -azvv --exclude | + | <code>rsync -azvv --exclude /var/log /etc /home /opt /var /pathtofolderwherebackupisstored</code> |
+ | |||
+ | https://help.ubuntu.com/community/rsync | ||
to backup mysql database, it is enough to: | to backup mysql database, it is enough to: | ||
Line 15: | Line 17: | ||
<code>rsync -azvv /var/lib/mysql /somewhere</code> | <code>rsync -azvv /var/lib/mysql /somewhere</code> | ||
+ | ====== automated backup ====== | ||
+ | http://rbgeek.wordpress.com/2012/05/22/automatic-backup-from-ubuntu-server-with-rsync/ |