Automatically backup SeaFile data and delete old backups

Automatically backup SeaFile data
and delete old backups

Daily backups will be stored in the /root/backups/ and copies older than 7 days will be automatically deleted.

Make file /root/backup.sh

Change /var/www/seafile-server/install on yours Seafile install path.
Change /var/www/seafile-server/cloud_storage on yours Seafile data path.

In the terminal crontab -e add entry:

read more about – find
read more about – crontab
read more about – tar
read more about – rm
read more about – find

I ask you to review this article

Rating 4 Stars from 1 reviews

One thought on “Automatically backup SeaFile data and delete old backups”

Leave a Reply

Your email address will not be published. Required fields are marked *

3 × 3 =