This repository has been archived on 2024-01-30. You can view files and clone it, but cannot push or open issues or pull requests.
docs/content/snapshots.md

19 lines
409 B
Markdown
Raw Permalink Normal View History

2022-01-27 20:48:57 +00:00
+++
title = "Use ZFS snapshot"
taxonomies.categories = [ "zfs", "snapshot", "filesystem", "backup", "update", "upgrade" ]
+++
## Make a ZFS snapshot
sudo zfs snapshot zroot/safe/persist@$name
## Rollback
### single files
The snapshots can be accessed under /mnt/.zfs/snapshot/$name/
### fully
sudo zfs rollback zroot/safe/persist@$name
## Delete a ZFS snapshot
sudo zfs destroy zroot/safe/persist@$name