Exclude btrfs docker submount from being backed up
Compare changes
@@ -23,7 +23,8 @@ delete_snapshot() {
Due to an influx of spam, we have had to temporarily disable account registrations. Please write an email to accountsupport@archlinux.org, with your desired username, if you want to get access. Sorry for the inconvenience.
The backup script fails on our Gitlab machine as it tries to remove a snapshot of the docker submount, which we do not want to backup anyway.
btrfs subvolume snapshot -r /var/lib/docker/btrfs /var/lib/docker/btrfs/backup-snapshot ERROR: Not a Btrfs subvolume: Invalid argument