February 18Feb 18 I am using SpaceInvaderOne's script for snapshoting/replication of zfs datasets. It runs on a nightly schedule. The default data retention policy in the script was using too much disk space, so I reduced it from 7 days, 4 weeks and 2 months, to 7 days, 2 weeks and 1 month. However, since I reduced the cadence in the script over a week ago, I have not seen any change in the number of snapshots being stored.My question is, what do I need to do for the old snapshots that no longer fit the new retention policy to be deleted?
February 19Feb 19 Community Expert you can install teh beta snapshot plugiin and delete old snap shots.I have a code stich into my zfs snapshot sytem that keeps X # of snapshots...example:https://forums.unraid.net/topic/178033-bmartino1-user-scripts/#findComment-1478664You would most likey need a zfs comand to search and delte teh oldest sanpshopt to bring you to new setup....
February 19Feb 19 Author Thank you. I deleted the old snapshots manually via the ZFS snapshots master plugin.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.