mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-27 02:08:54 +00:00
35 lines
1.3 KiB
PHP
35 lines
1.3 KiB
PHP
|
.. _borg_init:
|
||
|
|
||
|
borg init
|
||
|
---------
|
||
|
::
|
||
|
|
||
|
usage: borg init [-h] [-v] [--show-rc] [--no-files-cache] [--umask M]
|
||
|
[--remote-path PATH] [-e {none,keyfile,repokey,passphrase}]
|
||
|
[REPOSITORY]
|
||
|
|
||
|
Initialize an empty repository
|
||
|
|
||
|
positional arguments:
|
||
|
REPOSITORY repository to create
|
||
|
|
||
|
optional arguments:
|
||
|
-h, --help show this help message and exit
|
||
|
-v, --verbose verbose output
|
||
|
--show-rc show/log the return code (rc)
|
||
|
--no-files-cache do not load/update the file metadata cache used to
|
||
|
detect unchanged files
|
||
|
--umask M set umask to M (local and remote, default: 63)
|
||
|
--remote-path PATH set remote path to executable (default: "borg")
|
||
|
-e {none,keyfile,repokey,passphrase}, --encryption {none,keyfile,repokey,passphrase}
|
||
|
select encryption key mode
|
||
|
|
||
|
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.
|
||
|
Please note that the 'passphrase' encryption mode is DEPRECATED (instead of it,
|
||
|
consider using 'repokey').
|