we use here UCS version 5.0-6 and sambashares on BTRFS. Now we enabled shadowcopy on the server for us Windows Clients. This is working, but i did not find how i can limit the number of versions of the snapshots.
What do you to expect to happen when the limit is reached? No additional can be created? I guess probably not, maybe you want the new copy to happen and then a cleanup job should remove the oldest? In that case a cron job would be one way.
The problem is there is no limit, at least I can’t find a way to configure it in Samba. The Samba documentation doesn’t mention it either. The snapshots already went into the millions and had a virtual size of over 1.5PB. Deleting them was a pain.