borg/docs/usage.rst

148 lines
3.8 KiB
ReStructuredText
Raw Normal View History

2013-07-08 21:38:27 +00:00
.. _usage_attic_init:
2013-07-05 10:32:56 +00:00
2013-07-08 21:38:27 +00:00
attic init
~~~~~~~~~~
2013-07-05 10:32:56 +00:00
::
2013-07-08 21:38:27 +00:00
usage: attic init [-h] [-v] [--key-file] [--passphrase] repository
2013-07-05 10:32:56 +00:00
Initialize a new repository
positional arguments:
repository repository to create
optional arguments:
-h, --help show this help message and exit
-v, --verbose verbose output
--key-file enable key file based encryption
--passphrase enable passphrase based encryption
2013-07-08 21:38:27 +00:00
.. _usage_attic_create:
2013-07-05 10:32:56 +00:00
2013-07-08 21:38:27 +00:00
attic create
~~~~~~~~~~~~
2013-07-05 10:32:56 +00:00
::
2013-07-08 21:38:27 +00:00
usage: attic create [-h] [-v] [-s] [-e PATTERN] [-c SECONDS]
[--do-not-cross-mountpoints] [--numeric-owner]
ARCHIVE PATH [PATH ...]
2013-07-05 10:32:56 +00:00
Create new archive
positional arguments:
ARCHIVE archive to create
PATH paths to archive
optional arguments:
-h, --help show this help message and exit
-v, --verbose verbose output
-s, --stats print statistics for the created archive
-e PATTERN, --exclude PATTERN
exclude paths matching PATTERN
-c SECONDS, --checkpoint-interval SECONDS
write checkpointe ever SECONDS seconds (Default: 300)
--do-not-cross-mountpoints
do not cross mount points
--numeric-owner only store numeric user and group identifiers
2013-07-08 21:38:27 +00:00
.. _usage_attic_extract:
2013-07-05 10:32:56 +00:00
2013-07-08 21:38:27 +00:00
attic extract
~~~~~~~~~~~~~
2013-07-05 10:32:56 +00:00
::
2013-07-08 21:38:27 +00:00
usage: attic extract [-h] [-v] [-e PATTERN] [--numeric-owner]
ARCHIVE [PATH [PATH ...]]
2013-07-05 10:32:56 +00:00
Extract archive contents
positional arguments:
ARCHIVE archive to extract
PATH paths to extract
optional arguments:
-h, --help show this help message and exit
-v, --verbose verbose output
-e PATTERN, --exclude PATTERN
exclude paths matching PATTERN
--numeric-owner only obey numeric user and group identifiers
2013-07-08 21:38:27 +00:00
.. _usage_attic_delete:
2013-07-05 10:32:56 +00:00
2013-07-08 21:38:27 +00:00
attic delete
~~~~~~~~~~~~
2013-07-05 10:32:56 +00:00
::
2013-07-08 21:38:27 +00:00
usage: attic delete [-h] [-v] ARCHIVE
2013-07-05 10:32:56 +00:00
Delete archive
positional arguments:
ARCHIVE archive to delete
optional arguments:
-h, --help show this help message and exit
-v, --verbose verbose output
2013-07-08 21:38:27 +00:00
.. _usage_attic_prune:
2013-07-05 10:32:56 +00:00
2013-07-08 21:38:27 +00:00
attic prune
~~~~~~~~~~~
2013-07-05 10:32:56 +00:00
::
2013-07-08 21:38:27 +00:00
usage: attic prune [-h] [-v] [-H HOURLY] [-d DAILY] [-w WEEKLY] [-m MONTHLY]
[-y YEARLY] [-p PREFIX]
REPOSITORY
2013-07-05 10:32:56 +00:00
Prune repository archives according to specified rules
positional arguments:
REPOSITORY repository to prune
optional arguments:
-h, --help show this help message and exit
-v, --verbose verbose output
-H HOURLY, --hourly HOURLY
number of hourly archives to keep
-d DAILY, --daily DAILY
number of daily archives to keep
-w WEEKLY, --weekly WEEKLY
number of daily archives to keep
-m MONTHLY, --monthly MONTHLY
number of monthly archives to keep
-y YEARLY, --yearly YEARLY
number of yearly archives to keep
-p PREFIX, --prefix PREFIX
only consider archive names starting with this prefix
2013-07-08 21:38:27 +00:00
.. _usage_attic_verify:
2013-07-05 10:32:56 +00:00
2013-07-08 21:38:27 +00:00
attic verify
~~~~~~~~~~~~
2013-07-05 10:32:56 +00:00
::
2013-07-08 21:38:27 +00:00
usage: attic verify [-h] [-v] [-e PATTERN] ARCHIVE [PATH [PATH ...]]
2013-07-05 10:32:56 +00:00
Verify archive consistency
positional arguments:
ARCHIVE archive to verity integrity of
PATH paths to verify
optional arguments:
-h, --help show this help message and exit
-v, --verbose verbose output
-e PATTERN, --exclude PATTERN
exclude paths matching PATTERN
2013-07-08 21:38:27 +00:00
.. _usage_attic_change-passphrase:
2013-07-05 10:32:56 +00:00
2013-07-08 21:38:27 +00:00
attic change-passphrase
~~~~~~~~~~~~-~~~~~~~~~~
2013-07-05 10:32:56 +00:00
::
2013-07-08 21:38:27 +00:00
usage: attic change-passphrase [-h] [-v] repository
2013-07-05 10:32:56 +00:00
Change passphrase on repository key file
positional arguments:
repository
optional arguments:
-h, --help show this help message and exit
-v, --verbose verbose output