delete.rst.inc 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. .. IMPORTANT: this file is auto-generated from borg's built-in help, do not edit!
  2. .. _borg_delete:
  3. borg delete
  4. -----------
  5. ::
  6. usage: borg delete [-h] [--critical] [--error] [--warning] [--info] [--debug]
  7. [--lock-wait N] [--show-rc] [--no-files-cache] [--umask M]
  8. [--remote-path PATH] [-p] [-s] [-c] [--force]
  9. [--save-space]
  10. [TARGET]
  11. Delete an existing repository or archive
  12. positional arguments:
  13. TARGET archive or repository to delete
  14. optional arguments:
  15. -h, --help show this help message and exit
  16. --critical work on log level CRITICAL
  17. --error work on log level ERROR
  18. --warning work on log level WARNING (default)
  19. --info, -v, --verbose
  20. work on log level INFO
  21. --debug work on log level DEBUG
  22. --lock-wait N wait for the lock, but max. N seconds (default: 1).
  23. --show-rc show/log the return code (rc)
  24. --no-files-cache do not load/update the file metadata cache used to
  25. detect unchanged files
  26. --umask M set umask to M (local and remote, default: 0077)
  27. --remote-path PATH use PATH as borg executable on the remote (default:
  28. "borg")
  29. -p, --progress show progress display while deleting a single archive
  30. -s, --stats print statistics for the deleted archive. Requires
  31. -v/--verbose.
  32. -c, --cache-only delete only the local cache for the given repository
  33. --force force deletion of corrupted archives, use --force
  34. --force in case --force does not work.
  35. --save-space work slower, but using less space
  36. Description
  37. ~~~~~~~~~~~
  38. This command deletes an archive from the repository or the complete repository.
  39. Disk space is reclaimed accordingly. If you delete the complete repository, the
  40. local cache for it (if any) is also deleted.