btrfs-snap
btrfs-snap copied to clipboard
btrfs snapshots with rotation
btrfs-snap version: 1.7.3 btrfs-progs version : 5.4.1 root btrfs volume : /var/fileserver btrfs subvolume : /var/fileserver/data/active When Verifying that the path is either a valid btrfs mountpoint or a subvolume...
I was trying to snapshot on moutpoint / by using command `/root/btrfs-snap/btrfs-snap / 10min 12` And I get following error message (with `set -x`) ``` + mp= + prefix=daily +...
With btrfs-tools 4.12 (e.g., as in Debian 10/buster/testing), mount points are not detected properly anymore, since the output of ``btrfs subvolume show`` changed significantly. Specifically, the mount point is no...
When in quiet mode (i.e., ``-q`` is given) false negative exit codes might occur. For example, when snapshots have to be deleted due to rotation. This is especially annoying with...
Hello, I would like to have weekly, daily and monthly snapshots. Is that possible in one command (I think not) or at least in one crontab-entry? I am going to...
call to realpath. realpath will strip trailing slashes as well as otherwise normalize the path. The prior approach would fail for paths that were simply "/" turning mp into the...
Hi I have an errpr message: ``` # btrfs-du Subvolume Total Exclusive ID ───────────────────────────────────────────────────────────────────────────────────────── @rootfs 257 /usr/local/sbin/btrfs-du: line 118: EXCL_TOTAL + : syntax error: operand expected (error token is "+...
I use a folder `/btrfs/system` to mount my btrfs root. Inside `/btrfs/system` I place snapshots inside `/btrfs/system/snapshots`. ```bash tree -d -L 1 /btrfs/system/ /btrfs/system/ ├── @home ├── @root ├── snapshots...
commit https://github.com/jf647/btrfs-snap/commit/30ef9f314e4349a9c28da7e518ee69caee7d68e5 broke cases where the user wants to snapshot the directory root, as @kfriedberger already pointed out in a comment on the commit. A possible fix would be: mp=$(realpath...
Hi, and thanks for your script ! Do you think you could manage the qgroup deletion when delting an old snap, since it's a known limitation in btrfs ? After...