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

60 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

2017-04-05 14:02:16 +00:00
zvault-import(1) -- Reconstruct a repository from the remote storage
====================================================================
## SYNOPSIS
2017-04-07 16:57:49 +00:00
`zvault import <REMOTE> <REPO>`
2017-04-05 14:02:16 +00:00
## DESCRIPTION
This subcommand imports a repository from remote storage. First, an empty
repository will be created and then the remote bundles will be imported and
added to the local index.
2017-04-07 16:57:49 +00:00
The repository will be created at the location `REPO`. It is important that the
path given as `REPO` does not yet exist, so that it can be created.
2017-04-05 14:02:16 +00:00
The remote storage path `REMOTE` must be an existing remote storage folder
initialized by _zvault-init(1)_.
Note that this command is not intended to import single backups exported as tar
files via _zvault-restore(1)_ with the `--tar` flag. Those archives can be
imported via _zvault-backup(1)_ also with the `--tar` flag.
## OPTIONS
* `-k`, `--key <FILE>...`:
2017-04-05 14:02:16 +00:00
Add the key pair in the given file to the repository before importing the
remote bundles. This option can be used to add keys that are needed to read
the bundles. If multiple keys are needed, this options can be given multiple
times.
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
2018-03-03 16:25:38 +00:00
Copyright (C) 2017-2018 Dennis Schwerdel
2017-04-05 14:02:16 +00:00
This software is licensed under GPL-3 or newer (see LICENSE.md)