usage.rst 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. .. _usage_attic_init:
  2. attic init
  3. ~~~~~~~~~~
  4. ::
  5. usage: attic init [-h] [-v] [--key-file] [--passphrase] repository
  6. Initialize a new repository
  7. positional arguments:
  8. repository repository to create
  9. optional arguments:
  10. -h, --help show this help message and exit
  11. -v, --verbose verbose output
  12. --key-file enable key file based encryption
  13. --passphrase enable passphrase based encryption
  14. .. _usage_attic_create:
  15. attic create
  16. ~~~~~~~~~~~~
  17. ::
  18. usage: attic create [-h] [-v] [-s] [-e PATTERN] [-c SECONDS]
  19. [--do-not-cross-mountpoints] [--numeric-owner]
  20. ARCHIVE PATH [PATH ...]
  21. Create new archive
  22. positional arguments:
  23. ARCHIVE archive to create
  24. PATH paths to archive
  25. optional arguments:
  26. -h, --help show this help message and exit
  27. -v, --verbose verbose output
  28. -s, --stats print statistics for the created archive
  29. -e PATTERN, --exclude PATTERN
  30. exclude paths matching PATTERN
  31. -c SECONDS, --checkpoint-interval SECONDS
  32. write checkpointe ever SECONDS seconds (Default: 300)
  33. --do-not-cross-mountpoints
  34. do not cross mount points
  35. --numeric-owner only store numeric user and group identifiers
  36. .. _usage_attic_extract:
  37. attic extract
  38. ~~~~~~~~~~~~~
  39. ::
  40. usage: attic extract [-h] [-v] [-e PATTERN] [--numeric-owner]
  41. ARCHIVE [PATH [PATH ...]]
  42. Extract archive contents
  43. positional arguments:
  44. ARCHIVE archive to extract
  45. PATH paths to extract
  46. optional arguments:
  47. -h, --help show this help message and exit
  48. -v, --verbose verbose output
  49. -e PATTERN, --exclude PATTERN
  50. exclude paths matching PATTERN
  51. --numeric-owner only obey numeric user and group identifiers
  52. .. _usage_attic_delete:
  53. attic delete
  54. ~~~~~~~~~~~~
  55. ::
  56. usage: attic delete [-h] [-v] ARCHIVE
  57. Delete archive
  58. positional arguments:
  59. ARCHIVE archive to delete
  60. optional arguments:
  61. -h, --help show this help message and exit
  62. -v, --verbose verbose output
  63. .. _usage_attic_prune:
  64. attic prune
  65. ~~~~~~~~~~~
  66. ::
  67. usage: attic prune [-h] [-v] [-H HOURLY] [-d DAILY] [-w WEEKLY] [-m MONTHLY]
  68. [-y YEARLY] [-p PREFIX]
  69. REPOSITORY
  70. Prune repository archives according to specified rules
  71. positional arguments:
  72. REPOSITORY repository to prune
  73. optional arguments:
  74. -h, --help show this help message and exit
  75. -v, --verbose verbose output
  76. -H HOURLY, --hourly HOURLY
  77. number of hourly archives to keep
  78. -d DAILY, --daily DAILY
  79. number of daily archives to keep
  80. -w WEEKLY, --weekly WEEKLY
  81. number of daily archives to keep
  82. -m MONTHLY, --monthly MONTHLY
  83. number of monthly archives to keep
  84. -y YEARLY, --yearly YEARLY
  85. number of yearly archives to keep
  86. -p PREFIX, --prefix PREFIX
  87. only consider archive names starting with this prefix
  88. .. _usage_attic_verify:
  89. attic verify
  90. ~~~~~~~~~~~~
  91. ::
  92. usage: attic verify [-h] [-v] [-e PATTERN] ARCHIVE [PATH [PATH ...]]
  93. Verify archive consistency
  94. positional arguments:
  95. ARCHIVE archive to verity integrity of
  96. PATH paths to verify
  97. optional arguments:
  98. -h, --help show this help message and exit
  99. -v, --verbose verbose output
  100. -e PATTERN, --exclude PATTERN
  101. exclude paths matching PATTERN
  102. .. _usage_attic_change-passphrase:
  103. attic change-passphrase
  104. ~~~~~~~~~~~~-~~~~~~~~~~
  105. ::
  106. usage: attic change-passphrase [-h] [-v] repository
  107. Change passphrase on repository key file
  108. positional arguments:
  109. repository
  110. optional arguments:
  111. -h, --help show this help message and exit
  112. -v, --verbose verbose output