Skip to content

Instantly share code, notes, and snippets.

@kenny-evitt
Last active August 29, 2015 14:13
Show Gist options
  • Save kenny-evitt/6c2c403ec6c3c6f2051d to your computer and use it in GitHub Desktop.
Save kenny-evitt/6c2c403ec6c3c6f2051d to your computer and use it in GitHub Desktop.
ZFS commands
# List snapshots
sudo zfs list -t snapshot
# List differences since snapshot
sudo zfs diff snapshot snapshot_or_filesystem_or_pool
# Send+receive an incremental stream between two snapshots
sudo sh -c 'zfs send -i tank1@snapshot2 tank1@snapshot3 | zfs receive tank2'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment