delete.rst.inc 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. .. _borg_delete:
  2. borg delete
  3. -----------
  4. ::
  5. usage: borg delete [-h] [-v] [--show-rc] [--no-files-cache] [--umask M]
  6. [--remote-path PATH] [-s] [-c]
  7. [TARGET]
  8. Delete an existing repository or archive
  9. positional arguments:
  10. TARGET archive or repository to delete
  11. optional arguments:
  12. -h, --help show this help message and exit
  13. -v, --verbose verbose output
  14. --show-rc show/log the return code (rc)
  15. --no-files-cache do not load/update the file metadata cache used to
  16. detect unchanged files
  17. --umask M set umask to M (local and remote, default: 63)
  18. --remote-path PATH set remote path to executable (default: "borg")
  19. -s, --stats print statistics for the deleted archive
  20. -c, --cache-only delete only the local cache for the given repository
  21. Description
  22. ~~~~~~~~~~~
  23. This command deletes an archive from the repository or the complete repository.
  24. Disk space is reclaimed accordingly. If you delete the complete repository, the
  25. local cache for it (if any) is also deleted.