delete.rst.inc 1.6 KB

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