init.rst.inc 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. .. _borg_init:
  2. borg init
  3. ---------
  4. ::
  5. usage: borg init [-h] [-v] [--debug] [--lock-wait N] [--show-version]
  6. [--show-rc] [--no-files-cache] [--umask M]
  7. [--remote-path PATH] [-e {none,keyfile,repokey}]
  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-version show/log the borg version
  20. --show-rc show/log the return code (rc)
  21. --no-files-cache do not load/update the file metadata cache used to
  22. detect unchanged files
  23. --umask M set umask to M (local and remote, default: 0077)
  24. --remote-path PATH set remote path to executable (default: "borg")
  25. -e {none,keyfile,repokey}, --encryption {none,keyfile,repokey}
  26. select encryption key mode (default: "repokey")
  27. Description
  28. ~~~~~~~~~~~
  29. This command initializes an empty repository. A repository is a filesystem
  30. directory containing the deduplicated data from zero or more archives.
  31. Encryption can be enabled at repository init time.