delete.rst.inc 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. .. _borg_delete:
  2. borg delete
  3. -----------
  4. ::
  5. usage: borg delete [-h] [--critical] [--error] [--warning] [--info] [--debug]
  6. [--lock-wait N] [--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. --critical work on log level CRITICAL
  15. --error work on log level ERROR
  16. --warning work on log level WARNING (default)
  17. --info, -v, --verbose
  18. work on log level INFO
  19. --debug work on log level DEBUG
  20. --lock-wait N wait for the lock, but max. N seconds (default: 1).
  21. --show-rc show/log the return code (rc)
  22. --no-files-cache do not load/update the file metadata cache used to
  23. detect unchanged files
  24. --umask M set umask to M (local and remote, default: 0077)
  25. --remote-path PATH set remote path to executable (default: "borg")
  26. -p, --progress show progress display while deleting a single archive
  27. -s, --stats print statistics for the deleted archive
  28. -c, --cache-only delete only the local cache for the given repository
  29. --save-space work slower, but using less space
  30. Description
  31. ~~~~~~~~~~~
  32. This command deletes an archive from the repository or the complete repository.
  33. Disk space is reclaimed accordingly. If you delete the complete repository, the
  34. local cache for it (if any) is also deleted.