Open ouranos6 opened 1 year ago
Hello,
you need to install zfs-auto-snapshot
on host system. (configure it according to the following guide) Or you can create the snapshots manually and naming them correctly: test-zfs/subvol-101-disk-0@zfs-auto-snap_frequent-2023-10-30-0830
etc.
zmb-member are zmb-standalone are preconfigured for zfs-auto-snapshot, but also works with other snapshot engines. You need to adjust the regex search filter in /etc/samba/smb.conf
inside the container to match the snapshot names of the installed snapshot engine:
https://github.com/bashclub/zamba-lxc-toolbox/blob/20a158c9169fff2faee672739be44f496d940325/src/zmb-member/install-service.sh#L77
One should mention that all these funny things do not work as expected in 'zmb-standalone'. There, the configuration is stored in the registry with fancy web editor from 45drives. This editor does not work with lines starting with a dash (message Invalid option -20: unknown option
). Registry tools (sudo net conf setparm global "shadow: delimiter" -20
) do not work either.
Other values do not do the magic, as mentioned here and there.
The only solution I have found is to manually put this into /etc/samba/smb.conf
and not in the registry.
Hello,
I've installed everything following your installation guide and it's working, I can access the web interface and mount the share folder onto my win11.
I've tried to see the differents versions of my same text file but not possible.
If I run
zfs list -t snapshot zfs list
I can see all the snapshots I've done.
Do you have some hints or ideas about that?