When I run a command like
schnapps -d /srv/lxc/ create "/srv/lxc: 2021-01-06"
,
I’m getting a snapshot from the root (/) directory and not from the directory /srv/lxc.
I’m using TurrisOS 5.1.4 on a Turris Omnia Router 2019 with root installed on an internal SSD and a second partition (/dev/sda2) mount on /srv/lxc. The second partition is formated with btrfs and mounted via /etc/config/fstab with the following config lines:
config mount
option uuid ‘d8445935-7fc5-4c7e-9ebc-7d20c5e86587’
option target ‘/srv/lxc’
option fstype ‘btrfs’
option options ‘rw,noatime,ssd,space_cache,commit=5,subvol=/lxc’
option enabled ‘1’
The configuration file /etc/config/schnapps contains the lines:
config keep 'keep' option max_single '-1' option max_time '5' option max_updater '5' option max_rollback '3' config remote 'remote' # option url 'nextcloud://cloud.example.com'|'webdav://dav.example.com' # option path '/turris/backups' # option user 'myself' # option password 'password' option sync_types 'single,time' #config encrypt 'encrypt' # option pass 'password'