Skip to content

0.6.0: ZFS & more

Compare
Choose a tag to compare
@rsdy rsdy released this 01 May 18:33
· 96 commits to master since this release

The new release brings an upgraded dependency tree, stability fixes, and a feature I'm very excited about.

ZFS

You can now use Zerostash to store zfs snapshots wherever you want, with a centralized encryption & sealing interface.

This is how you do it:

snap=cloud-$(date +%FT%T)
zfs snap -r zroot@$snap

0s -c config.toml zfs commit -n zroot@$snap my_favourite_stash

When you run into trouble, and need to restore things, you can extract the same stash. 0s will even forward your command line arguments to zfs recv:

0s -c config.toml zfs extract -n zroot@$snap my_favourite_stash -- -suMd -x encryption storage

Dig into the archives

0s from 0.6 allows you to specify a --commit-id option whenever you interact with a stash. Instead of using the latest version of the stash, this will base it off of the specified commit.