zfsa-remote-restore(1)

Bring a snapshot back from a remote as a new dataset

ZFS Assistant 0.7.0

NAME

zfsa-remote-restore - Bring a snapshot back from a remote as a new dataset

SYNOPSIS

zfsa remote restore [GLOBAL OPTIONS] [-h|--help] <--as> <NAME> <SNAPSHOT>

DESCRIPTION

Bring a snapshot back from a remote as a new dataset.

The restore runs as the job restore-remote. It never overwrites a dataset: the new dataset's parent must exist and the dataset itself must not. It arrives unmounted, and encrypted data arrives encrypted. It needs the helper daemon, so it doesn't work with --local.

OPTIONS

--as <DATASET>

The new dataset on this computer

-h, --help

Print help (see a summary with '-h')

<NAME>

The remote

<SNAPSHOT>

The snapshot on the remote, written dataset@name

EXAMPLES

Find a backup, bring it back as a new dataset and read the job's log:

zfsa remote browse offsite backup/laptop/photos
zfsa remote restore offsite backup/laptop/photos@before-cleanup --as tank/photos-from-backup
zfsa job log restore-remote

SEE ALSO

zfsa(1) for the global options, authorization, confirmations and exit status, zfsa-remote(1).