diff --git a/setup/file_hosting_servers.rst b/setup/file_hosting_servers.rst index ded46e31c6..7e85305699 100644 --- a/setup/file_hosting_servers.rst +++ b/setup/file_hosting_servers.rst @@ -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