borg/docs/usage/delete.rst.inc

46 lines
1.9 KiB
PHP
Raw Normal View History

2016-07-05 21:30:08 +00:00
.. IMPORTANT: this file is auto-generated from borg's built-in help, do not edit!
.. _borg_delete:
borg delete
-----------
::
2016-04-08 21:38:46 +00:00
usage: borg delete [-h] [--critical] [--error] [--warning] [--info] [--debug]
[--lock-wait N] [--show-rc] [--no-files-cache] [--umask M]
2016-07-05 21:30:08 +00:00
[--remote-path PATH] [-p] [-s] [-c] [--force]
[--save-space]
[TARGET]
Delete an existing repository or archive
positional arguments:
2015-12-08 09:21:20 +00:00
TARGET archive or repository to delete
optional arguments:
2015-12-08 09:21:20 +00:00
-h, --help show this help message and exit
2016-04-08 21:38:46 +00:00
--critical work on log level CRITICAL
--error work on log level ERROR
--warning work on log level WARNING (default)
--info, -v, --verbose
work on log level INFO
--debug work on log level DEBUG
2015-12-08 09:21:20 +00:00
--lock-wait N wait for the lock, but max. N seconds (default: 1).
--show-rc show/log the return code (rc)
--no-files-cache do not load/update the file metadata cache used to
detect unchanged files
--umask M set umask to M (local and remote, default: 0077)
--remote-path PATH set remote path to executable (default: "borg")
2016-01-23 19:54:20 +00:00
-p, --progress show progress display while deleting a single archive
2015-12-08 09:21:20 +00:00
-s, --stats print statistics for the deleted archive
-c, --cache-only delete only the local cache for the given repository
2016-07-05 21:30:08 +00:00
--force force deletion of corrupted archives
2015-12-13 14:47:03 +00:00
--save-space work slower, but using less space
Description
~~~~~~~~~~~
This command deletes an archive from the repository or the complete repository.
Disk space is reclaimed accordingly. If you delete the complete repository, the
local cache for it (if any) is also deleted.