Hi all,
I recently decided to give btrfs snapshots a try, but it failed:
nc-snapshot (LIMIT=4), called from ncp-config, gives me the following
Running nc-snapshot
Maintenance mode enabled
Nextcloud is in maintenance mode - no apps have been loaded
ERROR: not a btrfs filesystem: /media/ncpdata/…/ncp-snapshots
Maintenance mode disabled
Done. Press any key…
which makes sense, right?
/media/ncpdata/ncdata
is my data directory
/media/ncpdata
is the mount point of my data partition
Now btrfs-snp tries to create a snapshot in /media/ncp-snapshots
which is not located in my data partition.
When I manually run
btrfs-snp /media/ncpdata manual 4 0 ./ncp-snapshots
it works.
Conclusion:
Shouldn’t the btrfs-snp
[dest-dir]-argument in nc-snapshot.sh and nc-snapshot-auto.sh be ./ncp-snapshots
in order to work?
I know that I can fix that manually, just wanted to check if I configured something wrong. Plus: maybe the next update overwrites my changes …
Thanks in advance!