Nextcloud backup and restore scripts

Sharing my backup and restore scripts to the community. The backup script can be run from cron and optionally email the results of each backup. Hopefully, others will benefit.

The scripts require the installation of borg backup, an open source backup program.
BorgBackup (short: Borg) is a deduplicating backup program. Optionally, it supports compression and authenticated encryption.

2 Likes