Backup
What is done to ensure data availability?
#Frontend
When you delete a file in Nextcloud, it is not immediately deleted permanently, only moved into the trash bin. It is not permanently deleted until you manually delete it, or when the Deleted Files app deletes it to make room for new files.
Find your deleted files by clicking on the Deleted files button on the Files page of the Nextcloud Web interface. You’ll have options to either restore or permanently delete files.
Nextcloud checks the age of deleted files every time new files are added to the deleted files. By default, deleted files stay in the trash bin for 30 days.
#Backend
A ZFS snapshot of the nextcloud installation's data directory is copied onto a different machine daily at 5:00 AM. An incremental backup of all the files in the nextcloud installation's data directory is copied via rsnapshot onto a different machine and kept daily at 0:00 AM, 4:00 AM, 8:00 AM, 12:00 AM, 4:00 PM, 8:00 PM, weekly each day at 4:00 AM, monthly and weekly.