zvault/docs/man/zvault-restore.1.md

59 lines
1.3 KiB
Markdown
Raw Normal View History

2017-04-05 14:02:16 +00:00
zvault-restore(1) -- Restore a backup or subtree
================================================
## SYNOPSIS
`zvault restore [OPTIONS] <BACKUP> <DST>`
## DESCRIPTION
This subcommand restores a backup or a backup subtree `BACKUP` into the folder
`DST`.
The backup or backup subtree given by `BACKUP` must be in the format
`[repository]::backup_name[::subtree]` as described in _zvault(1)_.
If `repository` is omitted, the default repository location is used instead.
If `--tar` is set, the data is written to a tar file named `DST`. In this case
`DST` must not exist. If `DST` is `-`, the data will be written to stdout.
2017-04-05 14:02:16 +00:00
If `--tar` is not set, the data will be written into the existing folder `DST`.
## OPTIONS
* `--tar`:
2017-04-05 14:02:16 +00:00
Write the backup to a tar archive named `DST` instead of creating files and
folders at this location.
2017-04-05 14:02:16 +00:00
This option can be used to export a backup that can be imported again using
zvault-backup(1) with the `--tar` flag.
2017-04-05 14:02:16 +00:00
* `-q`, `--quiet`:
2017-04-05 14:02:16 +00:00
Print less information
* `-v`, `--verbose`:
Print more information
* `-h`, `--help`:
Prints help information
* `-V`, `--version`:
Prints version information
2017-04-05 14:02:16 +00:00
## COPYRIGHT
Copyright (C) 2017 Dennis Schwerdel
This software is licensed under GPL-3 or newer (see LICENSE.md)