borgmatic 2.2.0__tar.gz → 2.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {borgmatic-2.2.0 → borgmatic-2.2.1}/NEWS +22 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/PKG-INFO +1 -1
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/browse/archive.py +22 -11
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/browse/archives_list.py +19 -7
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/browse/carousel.py +18 -13
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/browse/directory_list.py +10 -9
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/browse/file_preview.py +6 -4
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/browse/workers.py +13 -9
- borgmatic-2.2.1/borgmatic/actions/check/frequency.py +282 -0
- borgmatic-2.2.1/borgmatic/actions/check/paths.py +196 -0
- borgmatic-2.2.1/borgmatic/actions/check/run.py +174 -0
- borgmatic-2.2.1/borgmatic/actions/check/spot.py +472 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/config/bootstrap.py +2 -1
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/create.py +33 -7
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/restore.py +2 -1
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/create.py +22 -25
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/commands/borgmatic.py +130 -87
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/config/load.py +21 -6
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/config/schema.yaml +14 -4
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/config/validate.py +4 -1
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/execute.py +110 -58
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/command.py +19 -1
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/data_source/lvm.py +7 -4
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/data_source/tarballs.py +4 -2
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/data_source/zfs.py +8 -5
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/dispatch.py +21 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/monitoring/apprise.py +10 -7
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/monitoring/cronitor.py +7 -2
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/monitoring/healthchecks.py +12 -7
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/monitoring/logs.py +5 -2
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/monitoring/loki.py +26 -7
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/monitoring/ntfy.py +7 -2
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/monitoring/pagerduty.py +12 -7
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/monitoring/pushover.py +7 -2
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/monitoring/sentry.py +7 -2
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/monitoring/uptime_kuma.py +7 -2
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/monitoring/watchgoose.py +13 -8
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/monitoring/zabbix.py +7 -2
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/logger.py +6 -2
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic.egg-info/PKG-INFO +1 -1
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic.egg-info/SOURCES.txt +13 -2
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/Dockerfile +1 -1
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/command-hooks.md +28 -5
- borgmatic-2.2.1/docs/reference/configuration/monitoring/index.md +66 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/monitoring/watchgoose.md +2 -2
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/repositories.md +33 -2
- {borgmatic-2.2.0 → borgmatic-2.2.1}/pyproject.toml +3 -2
- {borgmatic-2.2.0 → borgmatic-2.2.1}/scripts/release +2 -2
- {borgmatic-2.2.0 → borgmatic-2.2.1}/scripts/run-full-tests +1 -1
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/actions/browse/test_archives_list.py +1 -1
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/actions/browse/test_carousel.py +32 -22
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/actions/browse/test_directory_list.py +11 -10
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/actions/browse/test_file_preview.py +20 -4
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/actions/browse/test_workers.py +6 -2
- borgmatic-2.2.1/tests/integration/actions/check/test_paths.py +26 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/commands/test_borgmatic.py +75 -5
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/hooks/monitoring/test_apprise.py +3 -1
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/hooks/monitoring/test_healthchecks.py +3 -1
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/hooks/monitoring/test_loki.py +39 -8
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/test_execute.py +266 -67
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/browse/test_archive.py +110 -11
- borgmatic-2.2.1/tests/unit/actions/browse/test_archives_list.py +25 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/browse/test_workers.py +7 -3
- borgmatic-2.2.1/tests/unit/actions/check/test_frequency.py +516 -0
- borgmatic-2.2.1/tests/unit/actions/check/test_paths.py +176 -0
- borgmatic-2.2.1/tests/unit/actions/check/test_run.py +253 -0
- borgmatic-2.2.0/tests/unit/actions/test_check.py → borgmatic-2.2.1/tests/unit/actions/check/test_spot.py +240 -840
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/test_create.py +119 -17
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_create.py +303 -269
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/commands/test_borgmatic.py +521 -635
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/config/test_load.py +28 -0
- borgmatic-2.2.1/tests/unit/hooks/credential/__init__.py +0 -0
- borgmatic-2.2.1/tests/unit/hooks/data_source/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/data_source/test_lvm.py +64 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/data_source/test_zfs.py +42 -0
- borgmatic-2.2.1/tests/unit/hooks/monitoring/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/monitoring/test_apprise.py +19 -1
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/monitoring/test_cronitor.py +7 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/monitoring/test_healthchecks.py +30 -4
- borgmatic-2.2.1/tests/unit/hooks/monitoring/test_loki.py +270 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/monitoring/test_ntfy.py +15 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/monitoring/test_pagerduty.py +18 -2
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/monitoring/test_pushover.py +15 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/monitoring/test_sentry.py +6 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/monitoring/test_uptimekuma.py +12 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/monitoring/test_watchgoose.py +32 -6
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/monitoring/test_zabbix.py +20 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/test_command.py +70 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/test_dispatch.py +22 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/test_execute.py +131 -73
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/test_logger.py +72 -0
- borgmatic-2.2.0/borgmatic/actions/check.py +0 -873
- borgmatic-2.2.0/docs/reference/configuration/monitoring/index.md +0 -14
- borgmatic-2.2.0/tests/unit/hooks/monitoring/test_loki.py +0 -127
- {borgmatic-2.2.0 → borgmatic-2.2.1}/AUTHORS +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/LICENSE +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/MANIFEST.in +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/README.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/arguments.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/borg.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/break_lock.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/browse/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/browse/app.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/browse/bindings.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/browse/configuration_files_list.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/browse/icons.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/browse/loading.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/browse/logs.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/browse/repositories_list.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/browse/run.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/browse/sizes.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/change_passphrase.py +0 -0
- {borgmatic-2.2.0/borgmatic/actions/config → borgmatic-2.2.1/borgmatic/actions/check}/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/compact.py +0 -0
- {borgmatic-2.2.0/borgmatic/borg → borgmatic-2.2.1/borgmatic/actions/config}/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/config/generate.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/config/show.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/config/validate.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/delete.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/diff.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/dump.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/export_key.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/export_tar.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/extract.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/import_key.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/info.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/json.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/list.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/mount.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/pattern.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/prune.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/recreate.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/repo_create.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/repo_delete.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/repo_info.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/repo_list.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/actions/transfer.py +0 -0
- {borgmatic-2.2.0/borgmatic/commands → borgmatic-2.2.1/borgmatic/borg}/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/borg.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/break_lock.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/change_passphrase.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/check.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/compact.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/delete.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/diff.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/environment.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/export_key.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/export_tar.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/extract.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/feature.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/flags.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/import_key.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/info.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/list.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/mount.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/passcommand.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/pattern.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/prune.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/recreate.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/rename.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/repo_create.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/repo_delete.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/repo_info.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/repo_list.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/state.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/transfer.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/umount.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/borg/version.py +0 -0
- {borgmatic-2.2.0/borgmatic/commands/completion → borgmatic-2.2.1/borgmatic/commands}/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/commands/arguments.py +0 -0
- {borgmatic-2.2.0/borgmatic/config → borgmatic-2.2.1/borgmatic/commands/completion}/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/commands/completion/actions.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/commands/completion/bash.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/commands/completion/fish.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/commands/completion/flag.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/commands/generate_config.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/commands/validate_config.py +0 -0
- {borgmatic-2.2.0/borgmatic/hooks → borgmatic-2.2.1/borgmatic/config}/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/config/arguments.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/config/checks.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/config/collect.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/config/constants.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/config/environment.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/config/generate.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/config/normalize.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/config/override.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/config/paths.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/config/schema.py +0 -0
- {borgmatic-2.2.0/borgmatic/hooks/credential → borgmatic-2.2.1/borgmatic/hooks}/__init__.py +0 -0
- {borgmatic-2.2.0/borgmatic/hooks/data_source → borgmatic-2.2.1/borgmatic/hooks/credential}/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/credential/container.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/credential/file.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/credential/keepassxc.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/credential/onepassword.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/credential/parse.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/credential/systemd.py +0 -0
- {borgmatic-2.2.0/borgmatic/hooks/monitoring → borgmatic-2.2.1/borgmatic/hooks/data_source}/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/data_source/bootstrap.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/data_source/btrfs.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/data_source/config.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/data_source/dump.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/data_source/influxdb.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/data_source/mariadb.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/data_source/mongodb.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/data_source/mysql.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/data_source/openldap.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/data_source/postgresql.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/data_source/snapshot.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/data_source/sqlite.py +0 -0
- {borgmatic-2.2.0/tests → borgmatic-2.2.1/borgmatic/hooks/monitoring}/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/hooks/monitoring/monitor.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/signals.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic/verbosity.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic.egg-info/dependency_links.txt +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic.egg-info/entry_points.txt +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic.egg-info/requires.txt +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/borgmatic.egg-info/top_level.txt +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/.env +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/README.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/SECURITY.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/_data/borgmatic.js +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/_data/layout.json +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/_includes/components/external-links.css +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/_includes/components/info-blocks.css +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/_includes/components/lists.css +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/_includes/components/minilink.css +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/_includes/components/suggestion-link.html +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/_includes/components/toc.css +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/_includes/header.njk +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/_includes/index.css.njk +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/_includes/layouts/base.njk +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/_includes/layouts/main.njk +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/_includes/prism-theme.css +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/_includes/snippet/command-line/sample.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/_includes/snippet/configuration/sample.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/docker-compose.yaml +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/fetch-contributors +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/how-to/add-preparation-and-cleanup-steps-to-backups.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/how-to/backup-to-a-removable-drive-or-an-intermittent-server.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/how-to/backup-your-databases.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/how-to/customize-warnings-and-errors.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/how-to/deal-with-very-large-backups.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/how-to/develop-on-borgmatic.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/how-to/extract-a-backup.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/how-to/index.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/how-to/inspect-your-backups.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/how-to/install-borgmatic.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/how-to/make-backups-redundant.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/how-to/make-per-application-backups.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/how-to/monitor-your-backups.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/how-to/provide-your-passwords.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/how-to/restore-a-backup.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/how-to/run-arbitrary-borg-commands.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/how-to/run-preparation-steps-before-backups.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/how-to/set-up-backups.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/how-to/snapshot-your-filesystems.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/how-to/upgrade.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/borg.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/break-lock.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/browse.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/check.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/compact.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/config-bootstrap.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/config-generate.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/config-show.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/config-validate.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/config.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/create.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/delete.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/diff.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/export-tar.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/extract.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/index.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/info.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/key-change-passphrase.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/key-export.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/key-import.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/list.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/mount.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/prune.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/recreate.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/repo-create.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/repo-delete.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/repo-info.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/repo-list.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/restore.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/transfer.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/actions/umount.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/autocompletion/bash.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/autocompletion/fish.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/autocompletion/index.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/index.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/logging.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/command-line/overrides.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/archive-name-format.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/consistency-checks.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/constants.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/credentials/container.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/credentials/file.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/credentials/index.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/credentials/keepassxc.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/credentials/onepassword.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/credentials/systemd.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/data-sources/btrfs.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/data-sources/index.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/data-sources/influxdb.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/data-sources/lvm.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/data-sources/mariadb.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/data-sources/mongodb.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/data-sources/mysql.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/data-sources/openldap.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/data-sources/postgresql.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/data-sources/sqlite.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/data-sources/tarballs.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/data-sources/zfs.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/environment-variables.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/includes.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/index.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/monitoring/apprise.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/monitoring/cronitor.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/monitoring/healthchecks.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/monitoring/loki.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/monitoring/ntfy.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/monitoring/pagerduty.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/monitoring/pushover.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/monitoring/sentry.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/monitoring/uptime-kuma.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/monitoring/zabbix.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/patterns-and-excludes.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/configuration/runtime-directory.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/index.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/reference/source-code.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/search.md +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/apprise.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/borgbase.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/borgmatic.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/borgmatic.svg +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/browse.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/btrfs.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/cronhub.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/cronitor.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/docker.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/healthchecks.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/influxdb.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/keepassxc.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/loki.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/lvm.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/mariadb.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/mongodb.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/mysql.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/ntfy.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/onepassword.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/openldap.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/openzfs.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/pagerduty.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/podman.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/postgresql.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/pushover.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/rclone.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/sentry.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/sqlite.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/systemd.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/uptimekuma.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/watchgoose.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/docs/static/zabbix.png +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/sample/cron/borgmatic +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/sample/systemd/borgmatic-user.service +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/sample/systemd/borgmatic-user.timer +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/sample/systemd/borgmatic.service +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/sample/systemd/borgmatic.timer +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/scripts/dev-docs +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/scripts/export-docs-from-image +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/scripts/find-unsupported-borg-options +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/scripts/push +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/scripts/run-end-to-end-tests +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/scripts/upgrade-dependencies +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/setup.cfg +0 -0
- {borgmatic-2.2.0/tests/end-to-end → borgmatic-2.2.1/tests}/__init__.py +0 -0
- {borgmatic-2.2.0/tests/end-to-end/commands → borgmatic-2.2.1/tests/end-to-end}/__init__.py +0 -0
- {borgmatic-2.2.0/tests/end-to-end/hooks → borgmatic-2.2.1/tests/end-to-end/commands}/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/commands/docker +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/commands/fake_btrfs.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/commands/fake_keepassxc_cli.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/commands/fake_lsblk.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/commands/fake_lvcreate.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/commands/fake_lvremove.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/commands/fake_lvs.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/commands/fake_mount.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/commands/fake_op.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/commands/fake_umount.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/commands/fake_zfs.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/docker-compose.yaml +0 -0
- {borgmatic-2.2.0/tests/end-to-end/hooks/credential → borgmatic-2.2.1/tests/end-to-end/hooks}/__init__.py +0 -0
- {borgmatic-2.2.0/tests/end-to-end/hooks/data_source → borgmatic-2.2.1/tests/end-to-end/hooks/credential}/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/hooks/credential/test_container.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/hooks/credential/test_file.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/hooks/credential/test_keepassxc.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/hooks/credential/test_onepassword.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/hooks/credential/test_systemd.py +0 -0
- {borgmatic-2.2.0/tests/integration → borgmatic-2.2.1/tests/end-to-end/hooks/data_source}/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/hooks/data_source/test_btrfs.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/hooks/data_source/test_database.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/hooks/data_source/test_lvm.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/hooks/data_source/test_tarballs.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/hooks/data_source/test_zfs.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/hooks/monitoring/test_monitoring.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/test_borgmatic.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/test_completion.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/test_config_flag.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/test_environment_variable.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/test_generate_config.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/test_invalid_flag.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/test_override.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/test_passcommand.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/end-to-end/test_validate_config.py +0 -0
- {borgmatic-2.2.0/tests/integration/actions → borgmatic-2.2.1/tests/integration}/__init__.py +0 -0
- {borgmatic-2.2.0/tests/integration/actions/browse → borgmatic-2.2.1/tests/integration/actions}/__init__.py +0 -0
- {borgmatic-2.2.0/tests/integration/actions/config → borgmatic-2.2.1/tests/integration/actions/browse}/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/actions/browse/test_app.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/actions/browse/test_configuration_files_list.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/actions/browse/test_loading.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/actions/browse/test_logs.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/actions/browse/test_repositories_list.py +0 -0
- {borgmatic-2.2.0/tests/integration/commands → borgmatic-2.2.1/tests/integration/actions/check}/__init__.py +0 -0
- {borgmatic-2.2.0/tests/integration/commands/completion → borgmatic-2.2.1/tests/integration/actions/config}/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/actions/config/test_validate.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/borg/test_commands.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/borg/test_feature.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/borg/test_rename.py +0 -0
- {borgmatic-2.2.0/tests/integration/config → borgmatic-2.2.1/tests/integration/commands}/__init__.py +0 -0
- {borgmatic-2.2.0/tests/integration/hooks → borgmatic-2.2.1/tests/integration/commands/completion}/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/commands/completion/test_actions.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/commands/completion/test_bash.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/commands/completion/test_fish.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/commands/test_arguments.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/commands/test_generate_config.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/commands/test_validate_config.py +0 -0
- {borgmatic-2.2.0/tests/integration/hooks/data_source → borgmatic-2.2.1/tests/integration/config}/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/config/test_arguments.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/config/test_constants.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/config/test_generate.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/config/test_load.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/config/test_override.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/config/test_schema.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/config/test_validate.py +0 -0
- {borgmatic-2.2.0/tests/integration/hooks/monitoring → borgmatic-2.2.1/tests/integration/hooks}/__init__.py +0 -0
- {borgmatic-2.2.0/tests/unit → borgmatic-2.2.1/tests/integration/hooks/data_source}/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/hooks/data_source/test_btrfs.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/hooks/data_source/test_config.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/hooks/data_source/test_lvm.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/hooks/data_source/test_zfs.py +0 -0
- {borgmatic-2.2.0/tests/unit/actions → borgmatic-2.2.1/tests/integration/hooks/monitoring}/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/hooks/test_command.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/integration/test_logger.py +0 -0
- {borgmatic-2.2.0/tests/unit/actions/browse → borgmatic-2.2.1/tests/unit}/__init__.py +0 -0
- {borgmatic-2.2.0/tests/unit/borg → borgmatic-2.2.1/tests/unit/actions}/__init__.py +0 -0
- {borgmatic-2.2.0/tests/unit/commands → borgmatic-2.2.1/tests/unit/actions/browse}/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/browse/test_directory_list.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/browse/test_logs.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/browse/test_run.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/browse/test_sizes.py +0 -0
- {borgmatic-2.2.0/tests/unit/commands/completion → borgmatic-2.2.1/tests/unit/actions/check}/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/config/test_bootstrap.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/config/test_generate.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/config/test_show.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/config/test_validate.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/test_arguments.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/test_borg.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/test_break_lock.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/test_change_passphrase.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/test_compact.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/test_delete.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/test_diff.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/test_dump.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/test_export_key.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/test_export_tar.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/test_extract.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/test_import_key.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/test_info.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/test_json.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/test_list.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/test_mount.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/test_pattern.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/test_prune.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/test_recreate.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/test_repo_create.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/test_repo_delete.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/test_repo_info.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/test_repo_list.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/test_restore.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/actions/test_transfer.py +0 -0
- {borgmatic-2.2.0/tests/unit/config → borgmatic-2.2.1/tests/unit/borg}/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_borg.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_break_lock.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_change_passphrase.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_check.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_compact.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_delete.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_diff.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_environment.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_export_key.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_export_tar.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_extract.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_flags.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_import_key.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_info.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_list.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_mount.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_passcommand.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_pattern.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_prune.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_recreate.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_rename.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_repo_create.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_repo_delete.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_repo_info.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_repo_list.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_transfer.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_umount.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/borg/test_version.py +0 -0
- {borgmatic-2.2.0/tests/unit/hooks → borgmatic-2.2.1/tests/unit/commands}/__init__.py +0 -0
- {borgmatic-2.2.0/tests/unit/hooks/credential → borgmatic-2.2.1/tests/unit/commands/completion}/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/commands/completion/test_actions.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/commands/completion/test_bash.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/commands/completion/test_fish.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/commands/completion/test_flag.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/commands/test_arguments.py +0 -0
- {borgmatic-2.2.0/tests/unit/hooks/data_source → borgmatic-2.2.1/tests/unit/config}/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/config/test_arguments.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/config/test_checks.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/config/test_collect.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/config/test_constants.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/config/test_environment.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/config/test_generate.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/config/test_normalize.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/config/test_override.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/config/test_paths.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/config/test_schema.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/config/test_validate.py +0 -0
- {borgmatic-2.2.0/tests/unit/hooks/monitoring → borgmatic-2.2.1/tests/unit/hooks}/__init__.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/credential/test_container.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/credential/test_file.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/credential/test_keepassxc.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/credential/test_onepassword.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/credential/test_parse.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/credential/test_systemd.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/data_source/test_bootstrap.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/data_source/test_btrfs.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/data_source/test_config.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/data_source/test_dump.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/data_source/test_influxdb.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/data_source/test_mariadb.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/data_source/test_mongodb.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/data_source/test_mysql.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/data_source/test_openldap.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/data_source/test_postgresql.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/data_source/test_snapshot.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/data_source/test_sqlite.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/data_source/test_tarballs.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/hooks/monitoring/test_logs.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/test_signals.py +0 -0
- {borgmatic-2.2.0 → borgmatic-2.2.1}/tests/unit/test_verbosity.py +0 -0
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
2.2.1
|
|
2
|
+
* #1365: Add support for setting monitoring hook options under each repository, making those hooks
|
|
3
|
+
repository-specific. See the documentation for more information:
|
|
4
|
+
https://torsion.org/borgmatic/reference/configuration/monitoring/
|
|
5
|
+
* #1374: With the "--json" flag, send logs to stderr instead of stdout to avoid interfering with
|
|
6
|
+
JSON parsing. Now you can pipe "borgmatic --json" to jq or other JSON-consuming commands,
|
|
7
|
+
regardless of borgmatic's verbosity level.
|
|
8
|
+
* #1377: Fix the "browse" action to support Borg 2 archives that share the same name.
|
|
9
|
+
* #1384: Fix the Watchgoose monitoring hook to construct URLs correctly when the "ping_url" option
|
|
10
|
+
is set to just a UUID.
|
|
11
|
+
* #1386: Add a "data_source_dumps" command hook, run before or after database dumps and filesystem
|
|
12
|
+
snapshots for all data source hooks.
|
|
13
|
+
* #1387: Fix the "spot" check to correctly hash source paths containing Borg's "slashdot" hack.
|
|
14
|
+
* #1388: Fix a hang in which a process closes its output buffer without borgmatic noticing, such
|
|
15
|
+
that borgmatic doesn't properly shut down associated processes. This also fixes an intermittent
|
|
16
|
+
test failure.
|
|
17
|
+
* #1391: For the ZFS and LVM hooks, delete leftover snapshot paths faster during cleanup.
|
|
18
|
+
* Repository retries are no longer round-robin with retries interleaved between repositories. Now,
|
|
19
|
+
each repository's actions are retried until they succeed or the repository's retries are
|
|
20
|
+
exhausted. This simplifies per-repository monitoring hooks.
|
|
21
|
+
* Add support for Python 3.15.
|
|
22
|
+
|
|
1
23
|
2.2.0
|
|
2
24
|
* #1273: Add a tarballs hook for backing up and restoring tar files while retaining full Borg
|
|
3
25
|
deduplication of their contents, handy for large tarballs like VM backups. See the documentation
|
|
@@ -7,6 +7,7 @@ import logging
|
|
|
7
7
|
import binaryornot.helpers
|
|
8
8
|
|
|
9
9
|
import borgmatic.borg.extract
|
|
10
|
+
import borgmatic.borg.feature
|
|
10
11
|
import borgmatic.borg.list
|
|
11
12
|
import borgmatic.borg.repo_list
|
|
12
13
|
import borgmatic.borg.version
|
|
@@ -66,11 +67,11 @@ def get_repository_archives(config, repository):
|
|
|
66
67
|
)
|
|
67
68
|
|
|
68
69
|
|
|
69
|
-
def get_archive_paths(config, repository, archive_name):
|
|
70
|
+
def get_archive_paths(config, repository, archive_id, archive_name):
|
|
70
71
|
'''
|
|
71
|
-
Given a configuration dict, a repository dict, and an archive name in that repository,
|
|
72
|
-
generator of files, directories, symlinks, etc. found in the archive, each as an
|
|
73
|
-
instance.
|
|
72
|
+
Given a configuration dict, a repository dict, and an archive ID and name in that repository,
|
|
73
|
+
get a generator of files, directories, symlinks, etc. found in the archive, each as an
|
|
74
|
+
Archive_path instance.
|
|
74
75
|
'''
|
|
75
76
|
with borgmatic.logger.Log_prefix(repository.get('label', repository['path'])):
|
|
76
77
|
logger.info(f'Listing archive {archive_name}')
|
|
@@ -89,7 +90,11 @@ def get_archive_paths(config, repository, archive_name):
|
|
|
89
90
|
)
|
|
90
91
|
for path_data in borgmatic.borg.list.capture_archive_listing(
|
|
91
92
|
repository['path'],
|
|
92
|
-
|
|
93
|
+
f'aid:{archive_id}'
|
|
94
|
+
if borgmatic.borg.feature.available(
|
|
95
|
+
borgmatic.borg.feature.Feature.ARCHIVE_SERIES, local_borg_version
|
|
96
|
+
)
|
|
97
|
+
else archive_name,
|
|
93
98
|
config,
|
|
94
99
|
local_borg_version,
|
|
95
100
|
global_arguments,
|
|
@@ -106,10 +111,10 @@ MAXIMUM_TOTAL_READ_SIZE = 100000
|
|
|
106
111
|
TRUNCATION_MESSAGE = '[... truncated for display ...]'
|
|
107
112
|
|
|
108
113
|
|
|
109
|
-
def get_archive_file_content(config, repository, archive_name, file_path):
|
|
114
|
+
def get_archive_file_content(config, repository, archive_id, archive_name, file_path):
|
|
110
115
|
'''
|
|
111
|
-
Given a configuration dict, a repository dict, an archive name in that repository, and a
|
|
112
|
-
path in that archive, return the file's contents or None if the file can't be loaded, e.g.
|
|
116
|
+
Given a configuration dict, a repository dict, an archive ID and name in that repository, and a
|
|
117
|
+
file path in that archive, return the file's contents or None if the file can't be loaded, e.g.
|
|
113
118
|
because it's binary or can't be decoded.
|
|
114
119
|
|
|
115
120
|
If the file is too large, then truncate the returned content.
|
|
@@ -118,14 +123,19 @@ def get_archive_file_content(config, repository, archive_name, file_path):
|
|
|
118
123
|
logger.info(f'Getting archive content of file {file_path}')
|
|
119
124
|
local_path = config.get('local_path', 'borg')
|
|
120
125
|
remote_path = config.get('remote_path')
|
|
126
|
+
local_borg_version = borgmatic.borg.version.local_borg_version(config, local_path)
|
|
121
127
|
|
|
122
128
|
extract_process = borgmatic.borg.extract.extract_archive(
|
|
123
129
|
dry_run=False,
|
|
124
130
|
repository=repository['path'],
|
|
125
|
-
archive=
|
|
131
|
+
archive=f'aid:{archive_id}'
|
|
132
|
+
if borgmatic.borg.feature.available(
|
|
133
|
+
borgmatic.borg.feature.Feature.ARCHIVE_SERIES, local_borg_version
|
|
134
|
+
)
|
|
135
|
+
else archive_name,
|
|
126
136
|
paths=(file_path,),
|
|
127
137
|
config=config,
|
|
128
|
-
local_borg_version=
|
|
138
|
+
local_borg_version=local_borg_version,
|
|
129
139
|
global_arguments=argparse.Namespace(),
|
|
130
140
|
local_path=local_path,
|
|
131
141
|
remote_path=remote_path,
|
|
@@ -141,7 +151,8 @@ def get_archive_file_content(config, repository, archive_name, file_path):
|
|
|
141
151
|
# Capture stdout while logging stderr.
|
|
142
152
|
with borgmatic.logger.Log_prefix(None): # Log command output without any prefix.
|
|
143
153
|
for chunk in borgmatic.execute.log_outputs(
|
|
144
|
-
|
|
154
|
+
main_process=extract_process,
|
|
155
|
+
stream_processes=(),
|
|
145
156
|
exclude_stdouts=(),
|
|
146
157
|
output_log_level=None,
|
|
147
158
|
borg_local_path=local_path,
|
|
@@ -5,6 +5,22 @@ import borgmatic.actions.browse.loading
|
|
|
5
5
|
import borgmatic.actions.browse.workers
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
def make_archives_list_option(archive, latest=False):
|
|
9
|
+
'''
|
|
10
|
+
Given an archive dict with "archive" and "id" keys, make a textual.widgets.option_list.Option
|
|
11
|
+
for the archive. Include a "latest" archive indicator in the prompt if latest is True.
|
|
12
|
+
|
|
13
|
+
Return the resulting option.
|
|
14
|
+
'''
|
|
15
|
+
prompt_pieces = (archive['archive'], '[dim](latest)[/dim]') if latest else (archive['archive'],)
|
|
16
|
+
option = textual.widgets.option_list.Option(' '.join(prompt_pieces), id=archive['id'])
|
|
17
|
+
|
|
18
|
+
# Tack on the unadulterated prompt text, making it easy to get when this option is selected.
|
|
19
|
+
option.prompt_text = archive['archive']
|
|
20
|
+
|
|
21
|
+
return option
|
|
22
|
+
|
|
23
|
+
|
|
8
24
|
class Archives_list(textual.widgets.OptionList):
|
|
9
25
|
'''
|
|
10
26
|
A widget for selecting a single Borg archive from among the archives in a repository. The item
|
|
@@ -48,20 +64,16 @@ class Archives_list(textual.widgets.OptionList):
|
|
|
48
64
|
repository=self.repository,
|
|
49
65
|
)
|
|
50
66
|
|
|
51
|
-
def on_archive_loaded(self,
|
|
67
|
+
def on_archive_loaded(self, archive):
|
|
52
68
|
'''
|
|
53
69
|
When an archive loads, add it as an option to this archives list. But if we get a
|
|
54
70
|
signal that all path loading is complete, stop and remove our loading indicator.
|
|
55
71
|
'''
|
|
56
|
-
if
|
|
72
|
+
if archive is borgmatic.actions.browse.workers.LOADING_DONE:
|
|
57
73
|
self.loading_timer.stop()
|
|
58
74
|
self.remove_option('loading-indicator')
|
|
59
75
|
return
|
|
60
76
|
|
|
61
|
-
label_pieces = (
|
|
62
|
-
(archive_name, '[dim](latest)[/dim]') if len(self.options) == 1 else (archive_name,)
|
|
63
|
-
)
|
|
64
|
-
|
|
65
77
|
# Textual 6.0.0+ has self.highlighted_option, but we want to support older versions.
|
|
66
78
|
highlighted_option = (
|
|
67
79
|
self.options[self.highlighted] if self.highlighted is not None else None
|
|
@@ -71,7 +83,7 @@ class Archives_list(textual.widgets.OptionList):
|
|
|
71
83
|
self.remove_option('loading-indicator')
|
|
72
84
|
self.add_options(
|
|
73
85
|
(
|
|
74
|
-
|
|
86
|
+
make_archives_list_option(archive, latest=bool(len(self.options) == 0)),
|
|
75
87
|
loading_indicator,
|
|
76
88
|
),
|
|
77
89
|
)
|
|
@@ -11,11 +11,12 @@ import borgmatic.actions.browse.file_preview
|
|
|
11
11
|
import borgmatic.actions.browse.repositories_list
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
def make_next_panel(focused_panel,
|
|
14
|
+
def make_next_panel(focused_panel, option):
|
|
15
15
|
'''
|
|
16
|
-
Given a focused panel widget and the selected option
|
|
17
|
-
that selection. This is the mechanism by which
|
|
18
|
-
configuration file to repository to archive to root
|
|
16
|
+
Given a focused panel widget and the selected option as a textual.widgets.option_list.Option
|
|
17
|
+
instance, return the next panel corresponding to that selection. This is the mechanism by which
|
|
18
|
+
the user can successively drill down from configuration file to repository to archive to root
|
|
19
|
+
directory to non-root directory or file.
|
|
19
20
|
|
|
20
21
|
If the particular option ID on the focused panel doesn't have a supported next panel, then
|
|
21
22
|
return None.
|
|
@@ -24,38 +25,42 @@ def make_next_panel(focused_panel, option_id):
|
|
|
24
25
|
focused_panel, borgmatic.actions.browse.configuration_files_list.Configuration_files_list
|
|
25
26
|
):
|
|
26
27
|
return borgmatic.actions.browse.repositories_list.Repositories_list(
|
|
27
|
-
config=focused_panel.configs[
|
|
28
|
+
config=focused_panel.configs[option.id]
|
|
28
29
|
)
|
|
29
30
|
|
|
30
31
|
if isinstance(focused_panel, borgmatic.actions.browse.repositories_list.Repositories_list):
|
|
31
32
|
return borgmatic.actions.browse.archives_list.Archives_list(
|
|
32
|
-
config=focused_panel.config, repository=focused_panel.repositories[
|
|
33
|
+
config=focused_panel.config, repository=focused_panel.repositories[option.id]
|
|
33
34
|
)
|
|
34
35
|
|
|
35
36
|
if isinstance(focused_panel, borgmatic.actions.browse.archives_list.Archives_list):
|
|
36
37
|
return borgmatic.actions.browse.directory_list.Directory_list(
|
|
37
|
-
config=focused_panel.config,
|
|
38
|
+
config=focused_panel.config,
|
|
39
|
+
repository=focused_panel.repository,
|
|
40
|
+
archive_id=option.id,
|
|
41
|
+
archive_name=option.prompt_text,
|
|
38
42
|
)
|
|
39
43
|
|
|
40
44
|
if isinstance(focused_panel, borgmatic.actions.browse.directory_list.Directory_list):
|
|
41
|
-
option = focused_panel.get_option(option_id)
|
|
42
45
|
path_type = getattr(option, 'path_type', None)
|
|
43
46
|
|
|
44
47
|
if path_type == borgmatic.actions.browse.archive.Path_type.DIRECTORY.value:
|
|
45
48
|
return borgmatic.actions.browse.directory_list.Directory_list(
|
|
46
49
|
focused_panel.config,
|
|
47
50
|
focused_panel.repository,
|
|
51
|
+
focused_panel.archive_id,
|
|
48
52
|
focused_panel.archive_name,
|
|
49
53
|
path_loaded=focused_panel.path_loaded,
|
|
50
|
-
path_components=(*focused_panel.path_components,
|
|
54
|
+
path_components=(*focused_panel.path_components, option.id),
|
|
51
55
|
)
|
|
52
56
|
|
|
53
57
|
if path_type == borgmatic.actions.browse.archive.Path_type.FILE.value:
|
|
54
58
|
return borgmatic.actions.browse.file_preview.File_preview(
|
|
55
59
|
focused_panel.config,
|
|
56
60
|
focused_panel.repository,
|
|
61
|
+
focused_panel.archive_id,
|
|
57
62
|
focused_panel.archive_name,
|
|
58
|
-
file_path=os.path.sep.join((*focused_panel.path_components,
|
|
63
|
+
file_path=os.path.sep.join((*focused_panel.path_components, option.id)),
|
|
59
64
|
)
|
|
60
65
|
|
|
61
66
|
return None
|
|
@@ -97,7 +102,7 @@ class Carousel(textual.containers.Horizontal):
|
|
|
97
102
|
self.focused_panel.styles.display = 'block'
|
|
98
103
|
self.focused_panel.focus()
|
|
99
104
|
|
|
100
|
-
def action_next(self,
|
|
105
|
+
def action_next(self, option):
|
|
101
106
|
'''
|
|
102
107
|
Hide the current focused panel and create the next one.
|
|
103
108
|
'''
|
|
@@ -107,7 +112,7 @@ class Carousel(textual.containers.Horizontal):
|
|
|
107
112
|
next_panel = self.panels[next_panel_index]
|
|
108
113
|
next_panel.styles.display = 'block'
|
|
109
114
|
else:
|
|
110
|
-
next_panel = make_next_panel(self.focused_panel,
|
|
115
|
+
next_panel = make_next_panel(self.focused_panel, option)
|
|
111
116
|
|
|
112
117
|
if next_panel is None:
|
|
113
118
|
self.notify('Cannot display this content', severity='warning')
|
|
@@ -142,4 +147,4 @@ class Carousel(textual.containers.Horizontal):
|
|
|
142
147
|
if event.option_id == '..':
|
|
143
148
|
self.action_previous()
|
|
144
149
|
else:
|
|
145
|
-
self.action_next(event.
|
|
150
|
+
self.action_next(event.option)
|
|
@@ -108,14 +108,13 @@ def add_archive_paths(
|
|
|
108
108
|
directory_list,
|
|
109
109
|
config,
|
|
110
110
|
repository,
|
|
111
|
-
archive_name,
|
|
112
111
|
archive_paths,
|
|
113
112
|
):
|
|
114
113
|
'''
|
|
115
|
-
Given a DirectoryList instance, a configuration dict, a repository dict,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
114
|
+
Given a DirectoryList instance, a configuration dict, a repository dict, a sequence of
|
|
115
|
+
ArchivePath instances, add the paths to the directory list as options, sorting and deduplicating
|
|
116
|
+
the resulting directory list's options. For paths that already have options, instead update
|
|
117
|
+
their displayed sizes, since directory sizes grow as more archive paths load.
|
|
119
118
|
|
|
120
119
|
First collapse the paths to a single representative per displayed option, since a batch usually
|
|
121
120
|
contains many paths beneath the same directory and each directory's size only needs computing
|
|
@@ -206,9 +205,11 @@ class Directory_list(textual.widgets.OptionList):
|
|
|
206
205
|
|
|
207
206
|
BINDINGS = borgmatic.actions.browse.bindings.OPTION_LIST_BINDINGS
|
|
208
207
|
|
|
209
|
-
def __init__(
|
|
208
|
+
def __init__(
|
|
209
|
+
self, config, repository, archive_id, archive_name, path_loaded=None, path_components=None
|
|
210
|
+
):
|
|
210
211
|
'''
|
|
211
|
-
Given a configuration dict, a repository dict, an archive name, an optional
|
|
212
|
+
Given a configuration dict, a repository dict, an archive ID, an archive name, an optional
|
|
212
213
|
Archive_path_loaded instance for signalling new paths as they load, and an optional tuple of
|
|
213
214
|
path components indicating this directory's position in the backed up filesystem, prepare to
|
|
214
215
|
load paths from the archive for eventual display in this widget. Actual loading kicks off in
|
|
@@ -216,6 +217,7 @@ class Directory_list(textual.widgets.OptionList):
|
|
|
216
217
|
'''
|
|
217
218
|
self.config = config
|
|
218
219
|
self.repository = repository
|
|
220
|
+
self.archive_id = archive_id
|
|
219
221
|
self.archive_name = archive_name
|
|
220
222
|
self.path_components = path_components or ()
|
|
221
223
|
self.highlighted_option_changed = False
|
|
@@ -257,7 +259,6 @@ class Directory_list(textual.widgets.OptionList):
|
|
|
257
259
|
directory_list=self,
|
|
258
260
|
config=self.config,
|
|
259
261
|
repository=self.repository,
|
|
260
|
-
archive_name=self.archive_name,
|
|
261
262
|
archive_paths=borgmatic.actions.browse.workers.get_paths(
|
|
262
263
|
self.path_loaded.path_hierarchy, self.path_components
|
|
263
264
|
),
|
|
@@ -268,6 +269,7 @@ class Directory_list(textual.widgets.OptionList):
|
|
|
268
269
|
path_loaded=self.path_loaded,
|
|
269
270
|
config=self.config,
|
|
270
271
|
repository=self.repository,
|
|
272
|
+
archive_id=self.archive_id,
|
|
271
273
|
archive_name=self.archive_name,
|
|
272
274
|
)
|
|
273
275
|
|
|
@@ -310,7 +312,6 @@ class Directory_list(textual.widgets.OptionList):
|
|
|
310
312
|
directory_list=self,
|
|
311
313
|
config=self.config,
|
|
312
314
|
repository=self.repository,
|
|
313
|
-
archive_name=self.archive_name,
|
|
314
315
|
archive_paths=data,
|
|
315
316
|
)
|
|
316
317
|
|
|
@@ -31,14 +31,15 @@ class File_preview(textual.widgets.RichLog):
|
|
|
31
31
|
),
|
|
32
32
|
)
|
|
33
33
|
|
|
34
|
-
def __init__(self, config, repository, archive_name, file_path):
|
|
34
|
+
def __init__(self, config, repository, archive_id, archive_name, file_path):
|
|
35
35
|
'''
|
|
36
|
-
Given a configuration dict, a repository dict, an archive name, and the path of a
|
|
37
|
-
the archive, prepare to load the file's contents for eventual display in this
|
|
38
|
-
loading kicks off in on_mount() below.
|
|
36
|
+
Given a configuration dict, a repository dict, an archive ID and name, and the path of a
|
|
37
|
+
file in the archive, prepare to load the file's contents for eventual display in this
|
|
38
|
+
widget. Actual loading kicks off in on_mount() below.
|
|
39
39
|
'''
|
|
40
40
|
self.config = config
|
|
41
41
|
self.repository = repository
|
|
42
|
+
self.archive_id = archive_id
|
|
42
43
|
self.archive_name = archive_name
|
|
43
44
|
self.file_path = file_path
|
|
44
45
|
|
|
@@ -66,6 +67,7 @@ class File_preview(textual.widgets.RichLog):
|
|
|
66
67
|
file_preview_loaded=self.file_preview_loaded,
|
|
67
68
|
config=self.config,
|
|
68
69
|
repository=self.repository,
|
|
70
|
+
archive_id=self.archive_id,
|
|
69
71
|
archive_name=self.archive_name,
|
|
70
72
|
file_path=self.file_path,
|
|
71
73
|
)
|
|
@@ -57,7 +57,7 @@ def add_repository_archives(browse_app, archive_loaded, config, repository):
|
|
|
57
57
|
# Reverse the archives, so the common case of accessing the latest archive is easy because it's
|
|
58
58
|
# at the top.
|
|
59
59
|
for archive in reversed(archives_data['archives']):
|
|
60
|
-
archive_loaded.publish(archive
|
|
60
|
+
archive_loaded.publish(archive)
|
|
61
61
|
|
|
62
62
|
archive_loaded.publish(LOADING_DONE)
|
|
63
63
|
|
|
@@ -203,12 +203,12 @@ class Archive_path_loaded(textual.signal.Signal):
|
|
|
203
203
|
|
|
204
204
|
|
|
205
205
|
@textual.work(thread=True)
|
|
206
|
-
def load_archive_paths(browse_app, path_loaded, config, repository, archive_name):
|
|
206
|
+
def load_archive_paths(browse_app, path_loaded, config, repository, archive_id, archive_name):
|
|
207
207
|
'''
|
|
208
208
|
Given a running Browse_app instance, an Archive_path_loaded instance, a configuration dict, a
|
|
209
|
-
repository dict, and an archive name, load the paths in this archive and publish
|
|
210
|
-
via the Archive_path_loaded signal, so interested widgets can subscribe. Also
|
|
211
|
-
done" signal when loading completes.
|
|
209
|
+
repository dict, an archive ID, and an archive name, load the paths in this archive and publish
|
|
210
|
+
them in batches via the Archive_path_loaded signal, so interested widgets can subscribe. Also
|
|
211
|
+
send a "loading done" signal when loading completes.
|
|
212
212
|
|
|
213
213
|
Publish in batches rather than one path at a time so that widgets don't have to process (and
|
|
214
214
|
repaint for) every single path.
|
|
@@ -219,7 +219,10 @@ def load_archive_paths(browse_app, path_loaded, config, repository, archive_name
|
|
|
219
219
|
batch = []
|
|
220
220
|
|
|
221
221
|
for archive_path in borgmatic.actions.browse.archive.get_archive_paths(
|
|
222
|
-
config,
|
|
222
|
+
config,
|
|
223
|
+
repository,
|
|
224
|
+
archive_id,
|
|
225
|
+
archive_name,
|
|
223
226
|
):
|
|
224
227
|
batch.append(archive_path)
|
|
225
228
|
|
|
@@ -250,19 +253,20 @@ def load_file_preview(
|
|
|
250
253
|
file_preview_loaded,
|
|
251
254
|
config,
|
|
252
255
|
repository,
|
|
256
|
+
archive_id,
|
|
253
257
|
archive_name,
|
|
254
258
|
file_path,
|
|
255
259
|
):
|
|
256
260
|
'''
|
|
257
261
|
Given a running Browse_app instance, a File_preview_loaded instance, a configuration dict, a
|
|
258
|
-
repository dict, an archive name, and the path of a file in that archive, load the
|
|
259
|
-
the file and write it into the given file preview widget.
|
|
262
|
+
repository dict, an archive ID and name, and the path of a file in that archive, load the
|
|
263
|
+
contents of the file and write it into the given file preview widget.
|
|
260
264
|
|
|
261
265
|
This function runs in a separate thread from the main UI. When loading is complete, publish a
|
|
262
266
|
loading done signal.
|
|
263
267
|
'''
|
|
264
268
|
file_contents = borgmatic.actions.browse.archive.get_archive_file_content(
|
|
265
|
-
config, repository, archive_name, file_path
|
|
269
|
+
config, repository, archive_id, archive_name, file_path
|
|
266
270
|
)
|
|
267
271
|
|
|
268
272
|
file_preview_loaded.publish(file_contents)
|