This commit is contained in:
Kovid Goyal 2014-07-30 11:23:31 +05:30
parent c89d454838
commit fad36c7f03

View File

@ -37,7 +37,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. 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:: Then, add the following to crontab::
@daily /usr/bin/rsync -ha /srv /mnt/backup @daily /usr/bin/rsync -ha /srv /mnt/backup --exclude /srv/plugins/stats.log
@daily /usr/bin/rsync -ha /etc /mnt/backup @daily /usr/bin/rsync -ha /etc /mnt/backup
Nginx Nginx