Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • I was using backtics for inserting the date but it wasn't compatible with this site's markup (which also uses backtics for inline code). So I changed them to apostrophes and forgot to mention that. But $() looks better so I will probably use that. For now, I won't have any automated pruning strategy but will manually delete older snapshots as needed. Is zfs destroy backup@some-date enough to free the space or do I need to perform some other actions?
    – alesc
    Commented Sep 5, 2015 at 13:27
  • @alesc zfs destroy backup@some-date should be enough if you have only a single file system in the pool. Otherwise, consider using something like zfs destroy backup@some-date -r. Be aware that destroying snapshots is a potentially lengthy operation, even though the zfs destroy command may exit quickly. Check man zpool-features for async_destroy and consider enabling it on your pool if it isn't already enabled.
    – user
    Commented Sep 5, 2015 at 13:34