User Tools

Site Tools


computing:storage:zfs_snapshot

This is an old revision of the document!


ZFS Snapshots

https://docs.oracle.com/cd/E23824_01/html/821-1448/gavvx.html

ZFS snapshots can be a fast and easy way to perform backups.

:!: Napp-IT has a commercial (Pro) module available that performs ZFS snapshots and sends them to another ZFS server.

Recover Data from Snapshots

Snapshots are automatically mounted under /$MOUNTPOINT/.zfs/snapshot/$SNAPSHOTNAME. You can use the CLI to copy data you want to recover to another location.

Example with a (three level) nested ZFS filesystem showing an NFS storage repository containing VHDs:

/toplevel/midlevel/bottomlevel/.zfs/snapshot/job-name-job-ID_year.month.day.hour.min.sec/nfs_SR_ID/

:!: Note that cloning does not require much additional disk space.

If you don't want to muck with the .zfs hidden folder, you could also:

  1. Clone the snapshot
  2. Copy out your files/folders that need recovering
  3. Destroy the clone
computing/storage/zfs_snapshot.1625764729.txt.gz · Last modified: 2021/07/08 11:18 by gcooper