Skip to content
Snippets Groups Projects

Exclude btrfs docker submount from being backed up

Merged Jelle van der Waa requested to merge borg_client_btrfs into master
  1. Sep 03, 2020
    • Jelle van der Waa's avatar
      Exclude btrfs docker submount from being backed up · 580f91f9
      Jelle van der Waa authored
      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
      Verified
      580f91f9
Loading