Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions docs/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,6 @@ are calculated *before* compression. New compression settings
will only be applied to new chunks, not existing chunks. So it's safe
to change them.

Use ``borg repo-compress`` to efficiently recompress a complete repository.

Why is backing up an unmodified FAT filesystem slow on Linux?
-------------------------------------------------------------

Expand Down
1 change: 0 additions & 1 deletion docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ Usage
usage/repo-space
usage/repo-list
usage/repo-info
usage/repo-compress
usage/repo-delete
usage/serve
usage/version
Expand Down
12 changes: 0 additions & 12 deletions docs/usage/repo-compress.rst

This file was deleted.

69 changes: 0 additions & 69 deletions docs/usage/repo-compress.rst.inc

This file was deleted.

7 changes: 0 additions & 7 deletions scripts/shell_completions/fish/borg.fish
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ complete -c borg -f -n __fish_is_first_token -a 'compact' -d 'Free repository sp
complete -c borg -f -n __fish_is_first_token -a 'info' -d 'Show archive details'
complete -c borg -f -n __fish_is_first_token -a 'mount' -d 'Mount archive or a repository'
complete -c borg -f -n __fish_is_first_token -a 'umount' -d 'Unmount the mounted archive'
complete -c borg -f -n __fish_is_first_token -a 'repo-compress' -d 'Repository (re-)compression'
complete -c borg -f -n __fish_is_first_token -a 'repo-create' -d 'Create a new, empty repository'
complete -c borg -f -n __fish_is_first_token -a 'repo-delete' -d 'Delete a repository'
complete -c borg -f -n __fish_is_first_token -a 'repo-info' -d 'Show repository information'
Expand Down Expand Up @@ -106,12 +105,6 @@ complete -c borg -f -l 'newest' -d 'Consider archives within
complete -c borg -f -l 'older' -d 'Consider archives older than TIMESPAN' -n "__fish_seen_subcommand_from analyze"
complete -c borg -f -l 'newer' -d 'Consider archives newer than TIMESPAN' -n "__fish_seen_subcommand_from analyze"

# borg repo-compress options
# Define compression methods once at the top
set -l compression_methods "none auto lz4 zstd,1 zstd,2 zstd,3 zstd,4 zstd,5 zstd,6 zstd,7 zstd,8 zstd,9 zstd,10 zstd,11 zstd,12 zstd,13 zstd,14 zstd,15 zstd,16 zstd,17 zstd,18 zstd,19 zstd,20 zstd,21 zstd,22 zlib,1 zlib,2 zlib,3 zlib,4 zlib,5 zlib,6 zlib,7 zlib,8 zlib,9 lzma,0 lzma,1 lzma,2 lzma,3 lzma,4 lzma,5 lzma,6 lzma,7 lzma,8 lzma,9"
complete -c borg -f -s C -l 'compression' -d 'Select compression ALGORITHM,LEVEL [lz4]' -a "$compression_methods" -n "__fish_seen_subcommand_from repo-compress"
complete -c borg -f -s s -l 'stats' -d 'Print statistics' -n "__fish_seen_subcommand_from repo-compress"

# borg create options
complete -c borg -f -s n -l 'dry-run' -d 'Do not create a backup archive' -n "__fish_seen_subcommand_from create"
complete -c borg -f -s s -l 'stats' -d 'Print verbose statistics' -n "__fish_seen_subcommand_from create"
Expand Down
3 changes: 0 additions & 3 deletions src/borg/archiver/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
from .lock_cmds import LocksMixIn
from .mount_cmds import MountMixIn
from .prune_cmd import PruneMixIn
from .repo_compress_cmd import RepoCompressMixIn
from .recreate_cmd import RecreateMixIn
from .rename_cmd import RenameMixIn
from .repo_create_cmd import RepoCreateMixIn
Expand Down Expand Up @@ -117,7 +116,6 @@ class Archiver(
PruneMixIn,
RecreateMixIn,
RenameMixIn,
RepoCompressMixIn,
RepoCreateMixIn,
RepoDeleteMixIn,
RepoInfoMixIn,
Expand Down Expand Up @@ -292,7 +290,6 @@ def build_parser(self):
self.build_parser_locks(subparsers, common_parser, mid_common_parser)
self.build_parser_mount_umount(subparsers, common_parser, mid_common_parser)
self.build_parser_prune(subparsers, common_parser, mid_common_parser)
self.build_parser_repo_compress(subparsers, common_parser, mid_common_parser)
self.build_parser_repo_create(subparsers, common_parser, mid_common_parser)
self.build_parser_repo_delete(subparsers, common_parser, mid_common_parser)
self.build_parser_repo_info(subparsers, common_parser, mid_common_parser)
Expand Down
199 changes: 0 additions & 199 deletions src/borg/archiver/repo_compress_cmd.py

This file was deleted.

Loading
Loading