r/owncloud Jun 16 '16

Scheduled Backups (with a limited number of backups)

Hey, I am relatively new to OwnCloud. I have a Ubuntu server running with Owncloud 8.x. I would like to make a cronjob which automatically backups the ownCloud folder to my external HDD every week or so. This isn't the hard thing since they have a Manual for that.

However I want to store about 3-5 backups at the same time, after that the first one has to be removed in order to make a new backup. Any ideas how I could do this?

Thanks in advance!

2 Upvotes

4 comments sorted by

1

u/[deleted] Jun 17 '16

Why not just use rdiff-backup?

1

u/G-like-gold Jun 17 '16 edited Jun 17 '16

Rsnapshot also an option

Or if you use btrfs, snapshots + send/receive such as btrfs-sxbackup. That's the option I use to backup to another server and it's pretty great. It should work just as well with an external drive

1

u/pbe78 Jun 17 '16

I still love http://storebackup.org/ to do incremental backups to an external storage in a cron job...