init.rst.inc 1.6 KB

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