init.rst.inc 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. .. _borg_init:
  2. borg init
  3. ---------
  4. ::
  5. usage: borg init [-h] [-v] [--show-rc] [--no-files-cache] [--umask M]
  6. [--remote-path PATH] [-e {none,keyfile,repokey,passphrase}]
  7. [REPOSITORY]
  8. Initialize an empty repository
  9. positional arguments:
  10. REPOSITORY repository to create
  11. optional arguments:
  12. -h, --help show this help message and exit
  13. -v, --verbose verbose output
  14. --show-rc show/log the return code (rc)
  15. --no-files-cache do not load/update the file metadata cache used to
  16. detect unchanged files
  17. --umask M set umask to M (local and remote, default: 63)
  18. --remote-path PATH set remote path to executable (default: "borg")
  19. -e {none,keyfile,repokey,passphrase}, --encryption {none,keyfile,repokey,passphrase}
  20. select encryption key mode
  21. Description
  22. ~~~~~~~~~~~
  23. This command initializes an empty repository. A repository is a filesystem
  24. directory containing the deduplicated data from zero or more archives.
  25. Encryption can be enabled at repository init time.
  26. Please note that the 'passphrase' encryption mode is DEPRECATED (instead of it,
  27. consider using 'repokey').