# EXAMPLE CRONJOB: # 0 2 * * * /mnt/cloud/nc_dmcl/btrbk/btrfs_bckp.sh > /var/log/backup/btrfs_log.log # stop services and snapshot #Backup # brtbk was present as a local copy in /mnt/cloud/nc_dmcl/btrbk ... cd /mnt/cloud/nc_dmcl/btrbk/ ./btrbk -c /mnt/cloud/nc_dmcl/btrbk/btrbk.conf run btrfs device stats /mnt/cloud/ btrfs device stats /mnt/backup/ btrfs device stats /mnt/db_ssd/ # send mail with logfile docker run --rm -v /var/log/backup/:/attachment mcr.microsoft.com/powershell pwsh /external/sendEmail.ps1 # start services