delete.rst.inc 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. .. _borg_delete:
  2. borg delete
  3. -----------
  4. ::
  5. usage: borg delete [-h] [-v] [--debug] [--lock-wait N] [--show-version]
  6. [--show-rc] [--no-files-cache] [--umask M]
  7. [--remote-path PATH] [-p] [-s] [-c] [--save-space]
  8. [TARGET]
  9. Delete an existing repository or archive
  10. positional arguments:
  11. TARGET archive or repository to delete
  12. optional arguments:
  13. -h, --help show this help message and exit
  14. -v, --verbose, --info
  15. enable informative (verbose) output, work on log level
  16. INFO
  17. --debug enable debug output, work on log level DEBUG
  18. --lock-wait N wait for the lock, but max. N seconds (default: 1).
  19. --show-version show/log the borg version
  20. --show-rc show/log the return code (rc)
  21. --no-files-cache do not load/update the file metadata cache used to
  22. detect unchanged files
  23. --umask M set umask to M (local and remote, default: 0077)
  24. --remote-path PATH set remote path to executable (default: "borg")
  25. -p, --progress show progress display while deleting a single archive
  26. -s, --stats print statistics for the deleted archive
  27. -c, --cache-only delete only the local cache for the given repository
  28. --save-space work slower, but using less space
  29. Description
  30. ~~~~~~~~~~~
  31. This command deletes an archive from the repository or the complete repository.
  32. Disk space is reclaimed accordingly. If you delete the complete repository, the
  33. local cache for it (if any) is also deleted.