init.rst.inc 1.6 KB

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