2015-11-13 15:42:16 +00:00
|
|
|
.. _borg_init:
|
|
|
|
|
|
|
|
borg init
|
|
|
|
---------
|
|
|
|
::
|
|
|
|
|
2016-03-17 02:30:31 +00:00
|
|
|
usage: borg init [-h] [-v] [--debug] [--lock-wait N] [--show-version]
|
|
|
|
[--show-rc] [--no-files-cache] [--umask M]
|
|
|
|
[--remote-path PATH] [-e {none,keyfile,repokey}]
|
2015-11-13 15:42:16 +00:00
|
|
|
[REPOSITORY]
|
|
|
|
|
|
|
|
Initialize an empty repository
|
|
|
|
|
|
|
|
positional arguments:
|
|
|
|
REPOSITORY repository to create
|
|
|
|
|
|
|
|
optional arguments:
|
|
|
|
-h, --help show this help message and exit
|
2015-12-08 09:21:20 +00:00
|
|
|
-v, --verbose, --info
|
|
|
|
enable informative (verbose) output, work on log level
|
|
|
|
INFO
|
|
|
|
--debug enable debug output, work on log level DEBUG
|
|
|
|
--lock-wait N wait for the lock, but max. N seconds (default: 1).
|
2016-03-17 02:30:31 +00:00
|
|
|
--show-version show/log the borg version
|
2015-11-13 15:42:16 +00:00
|
|
|
--show-rc show/log the return code (rc)
|
|
|
|
--no-files-cache do not load/update the file metadata cache used to
|
|
|
|
detect unchanged files
|
2015-12-08 09:21:20 +00:00
|
|
|
--umask M set umask to M (local and remote, default: 0077)
|
2015-11-13 15:42:16 +00:00
|
|
|
--remote-path PATH set remote path to executable (default: "borg")
|
2016-02-07 13:50:39 +00:00
|
|
|
-e {none,keyfile,repokey}, --encryption {none,keyfile,repokey}
|
|
|
|
select encryption key mode (default: "repokey")
|
2015-11-13 15:42:16 +00:00
|
|
|
|
|
|
|
Description
|
|
|
|
~~~~~~~~~~~
|
|
|
|
|
|
|
|
This command initializes an empty repository. A repository is a filesystem
|
|
|
|
directory containing the deduplicated data from zero or more archives.
|
|
|
|
Encryption can be enabled at repository init time.
|