This commit is contained in:
Kovid Goyal 2014-08-02 12:22:06 +05:30
parent c5c1a3d84c
commit 40540fae6d

View File

@ -40,7 +40,7 @@ Add the following to crontab::
If the server has a backup hard-disk, mount it at /mnt/backup and edit /etc/fstab so that it is auto-mounted.
Then, add the following to crontab::
@daily /usr/bin/rsync -ha /srv /mnt/backup --exclude /srv/plugins/stats.log
@daily /usr/bin/rsync -ha /srv /mnt/backup --exclude /srv/plugins/stats.log --exclude /srv/plugins/rotated-stats.log
@daily /usr/bin/rsync -ha /etc /mnt/backup
Nginx