2015-11-13 15:42:16 +00:00
|
|
|
.. _borg_delete:
|
|
|
|
|
|
|
|
borg delete
|
|
|
|
-----------
|
|
|
|
::
|
|
|
|
|
2015-12-08 09:21:20 +00:00
|
|
|
usage: borg delete [-h] [-v] [--debug] [--lock-wait N] [--show-rc]
|
|
|
|
[--no-files-cache] [--umask M] [--remote-path PATH] [-s]
|
|
|
|
[-c]
|
2015-11-13 15:42:16 +00:00
|
|
|
[TARGET]
|
|
|
|
|
|
|
|
Delete an existing repository or archive
|
|
|
|
|
|
|
|
positional arguments:
|
2015-12-08 09:21:20 +00:00
|
|
|
TARGET archive or repository to delete
|
2015-11-13 15:42:16 +00:00
|
|
|
|
|
|
|
optional arguments:
|
2015-12-08 09:21:20 +00:00
|
|
|
-h, --help show this help message and exit
|
|
|
|
-v, --verbose, --info
|
|
|
|
enable informative (verbose) output, work on log level
|
|
|
|
INFO
|
|
|
|
--debug enable debug output, work on log level DEBUG
|
|
|
|
--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")
|
|
|
|
-s, --stats print statistics for the deleted archive
|
|
|
|
-c, --cache-only delete only the local cache for the given repository
|
2015-11-13 15:42:16 +00:00
|
|
|
|
|
|
|
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.
|