Difference between revisions of "Zfs"

From CHG-Wiki
Jump to navigationJump to search
(Created ZFS notes page.)
 
m
Line 1: Line 1:
 
==Retrieving ZFS Snapshots==
 
==Retrieving ZFS Snapshots==
List the backups you're looking for
+
List the backups you're looking for.
 
  zfs list -r -t snapshot -o name,creation /raid/zas/r.r/chg-emily/IDLWorkspace85/Default/
 
  zfs list -r -t snapshot -o name,creation /raid/zas/r.r/chg-emily/IDLWorkspace85/Default/
Copy over the files needed.
+
Clone the snapshot with the needed files.
 
  zfs clone raid/zas/r.r/chg-emily@zas_d-20160811-1207 raid/emily-restore
 
  zfs clone raid/zas/r.r/chg-emily@zas_d-20160811-1207 raid/emily-restore
 +
Copy over the files needed and then clean up the rest with
 +
zfs destroy -r raid/vms@vmbkr-20151028
  
zfs destroy -r raid/vms@vmbkr-20151028
 
To clean up the cruft.
 
  
 
==Notes==
 
==Notes==

Revision as of 12:45, 3 November 2016

Retrieving ZFS Snapshots

List the backups you're looking for.

zfs list -r -t snapshot -o name,creation /raid/zas/r.r/chg-emily/IDLWorkspace85/Default/

Clone the snapshot with the needed files.

zfs clone raid/zas/r.r/chg-emily@zas_d-20160811-1207 raid/emily-restore

Copy over the files needed and then clean up the rest with

zfs destroy -r raid/vms@vmbkr-20151028


Notes