99 Commits

Author SHA256 Message Date
f9d1cb9c05 Accepting request 1239041 from Archiving:Backup
OBS-URL: https://build.opensuse.org/request/show/1239041
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/borgmatic?expand=0&rev=47
2025-01-20 16:16:42 +00:00
1c12181910 Accepting request 1239038 from home:alarrosa:branches:Archiving:Backup
- Fix changelog line widths

  * #418: Backup and restore databases that have the same name but
    with different ports, hostnames, or hooks.
  * #947: To avoid a hang in the database hooks, error and exit
    when the borgmatic runtime directory overlaps with the
    configured excludes.
  * #954: Fix a findmnt command error in the Btrfs hook by
    switching to parsing JSON output.
  * #956: Fix the printing of a color reset code even when color
    is disabled.
  * When the ZFS, Btrfs, or LVM hooks aren't configured, don't try
    to cleanup snapshots for them.
  * #80 (beta): Add an LVM hook for snapshotting and backing up LVM
    logical volumes. See the documentation for more information:
  * #251 (beta): Add a Btrfs hook for snapshotting and backing up
    Btrfs subvolumes. See the documentation for more information:
    https://torsion.org/borgmatic/docs/how-to/snapshot-your-filesystems/
  * #926: Fix a library error when running within a PyInstaller
    bundle.
  * #950: Fix a snapshot unmount error in the ZFS hook when using
    nested datasets.
  * Update the ZFS hook to discover and snapshot ZFS datasets even
    if they are parent/grandparent directories of your source
    directories.
  * Reorganize data source and monitoring hooks to make developing
    new hooks easier.
  * #261 (beta): Add a ZFS hook for snapshotting and backing up ZFS
    datasets. See the documentation for more information:
  * Remove any temporary copies of the manifest file created in

OBS-URL: https://build.opensuse.org/request/show/1239038
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/borgmatic?expand=0&rev=95
2025-01-20 13:42:33 +00:00
fc1c10f73e Accepting request 1237990 from Archiving:Backup
OBS-URL: https://build.opensuse.org/request/show/1237990
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/borgmatic?expand=0&rev=46
2025-01-15 16:44:29 +00:00
e347cd65cb Accepting request 1237875 from home:mcalabkova:branches:Archiving:Backup
- Update to 1.9.5
  * #418: Backup and restore databases that have the same name but with different ports, hostnames,
    or hooks.
  * #947: To avoid a hang in the database hooks, error and exit when the borgmatic runtime
    directory overlaps with the configured excludes.
  * #954: Fix a findmnt command error in the Btrfs hook by switching to parsing JSON output.
  * #956: Fix the printing of a color reset code even when color is disabled.
  * #958: Drop colorama as a library dependency.
  * When the ZFS, Btrfs, or LVM hooks aren't configured, don't try to cleanup snapshots for them.
  * #80 (beta): Add an LVM hook for snapshotting and backing up LVM logical volumes. See the
    documentation for more information:
    https://torsion.org/borgmatic/docs/how-to/snapshot-your-filesystems/
  * #251 (beta): Add a Btrfs hook for snapshotting and backing up Btrfs subvolumes. See the
    documentation for more information:
    https://torsion.org/borgmatic/docs/how-to/snapshot-your-filesystems/
  * #926: Fix a library error when running within a PyInstaller bundle.
  * #950: Fix a snapshot unmount error in the ZFS hook when using nested datasets.
  * Update the ZFS hook to discover and snapshot ZFS datasets even if they are parent/grandparent
    directories of your source directories.
  * Reorganize data source and monitoring hooks to make developing new hooks easier.
  * #261 (beta): Add a ZFS hook for snapshotting and backing up ZFS datasets. See the documentation
    for more information: https://torsion.org/borgmatic/docs/how-to/snapshot-your-filesystems/
  * Remove any temporary copies of the manifest file created in support of the "bootstrap" action.
  * Deprecate the "store_config_files" option at the global scope and move it under the "bootstrap"
    hook. See the documentation for more information:
    https://torsion.org/borgmatic/docs/how-to/extract-a-backup/#extract-the-configuration-files-used-to-create-an-archive
  * Require the runtime directory to be an absolute path.
  * Add a "--deleted" flag to the "repo-list" action for listing deleted archives that haven't
    yet been compacted (Borg 2 only).
  * Promote the "spot" check from a beta feature to stable.
  * #441: Apply the "umask" option to all relevant actions, not just some of them.
  * #722: Remove the restriction that the "extract" and "mount" actions must match a single
    repository. Now they work more like other actions, where each repository is applied in turn.
  * #932: Fix the missing build backend setting in pyproject.toml to allow Fedora builds.
  * #934: Update the logic that probes for the borgmatic streaming database dump, bootstrap
    metadata, and check state directories to support more platforms and use cases. See the
    documentation for more information:
    https://torsion.org/borgmatic/docs/how-to/backup-your-databases/#runtime-directory
  * #934: Add the "RuntimeDirectory" and "StateDirectory" options to the sample systemd service
    file to support the new runtime and state directory logic.
  * #939: Fix borgmatic ignoring the "BORG_RELOCATED_REPO_ACCESS_IS_OK" and
    "BORG_UNKNOWN_UNENCRYPTED_REPO_ACCESS_IS_OK" environment variables.
  * Add a Pushover monitoring hook. See the documentation for more information:
    https://torsion.org/borgmatic/docs/how-to/monitor-your-backups/#pushover-hook
  * #928: Fix the user runtime directory location on macOS (and possibly Cygwin).
  * #930: Fix an error with the sample systemd service when no credentials are configured.
  * #931: Fix an error when implicitly upgrading the check state directory from ~/.borgmatic to
    ~/.local/state/borgmatic across filesystems.
  * #609: Fix the glob expansion of "source_directories" values to respect the "working_directory"
    option.
  * #609: BREAKING: Apply the "working_directory" option to all actions, not just "create". This
    includes repository paths, destination paths, mount points, etc.
  * #562: Deprecate the "borgmatic_source_directory" option in favor of "user_runtime_directory"
    and "user_state_directory".
  * #562: BREAKING: Move the default borgmatic streaming database dump and bootstrap metadata
    directory from ~/.borgmatic to /run/user/$UID/borgmatic, which is more XDG-compliant. You can
    override this location with the new "user_runtime_directory" option. Existing archives with
    database dumps at the old location are still restorable. 
  * #562, #638: Move the default check state directory from ~/.borgmatic to 
    ~/.local/state/borgmatic. This is more XDG-compliant and also prevents these state files from
    getting backed up (unless you explicitly include them). You can override this location with the
    new "user_state_directory" option. After the first time you run the "check" action with borgmatic
    1.9.0, you can safely delete the ~/.borgmatic directory.
  * #838: BREAKING: With Borg 1.4+, store database dumps and bootstrap metadata in a "/borgmatic"
    directory within a backup archive, so the path doesn't depend on the current user. This means
    that you can now backup as one user and restore or bootstrap as another user, among other use
    cases.
  * #902: Add loading of encrypted systemd credentials. See the documentation for more information:
    https://torsion.org/borgmatic/docs/how-to/provide-your-passwords/#using-systemd-service-credentials
  * #911: Add a "key change-passphrase" action to change the passphrase protecting a repository key.
  * #914: Fix a confusing apparent hang when when the repository location changes, and instead
    show a helpful error message.
  * #915: BREAKING: Rename repository actions like "rcreate" to more explicit names like
    "repo-create" for compatibility with recent changes in Borg 2.0.0b10.
  * #918: BREAKING: When databases are configured, don't auto-enable the "one_file_system" option,
    as existing auto-excludes of special files should be sufficient to prevent Borg from hanging on
    them. But if this change causes problems for you, you can always enable "one_file_system"
    explicitly.
  * #919: Clarify the command-line help for the "--config" flag.
  * #919: Document a policy for versioning and breaking changes:
    https://torsion.org/borgmatic/docs/how-to/upgrade/#versioning-and-breaking-changes
  * #921: BREAKING: Change soft failure command hooks to skip only the current repository rather than
    all repositories in the configuration file.
  * #922: Replace setup.py (Python packaging metadata) with the more modern pyproject.toml.
  * When using Borg 2, default the "archive_name_format" option to just "{hostname}", as Borg 2 does
    not require unique archive names; identical archive names form a common "series" that can be
    targeted together. See the Borg 2 documentation for more information:
    https://borgbackup.readthedocs.io/en/2.0.0b13/changes.html#borg-1-2-x-1-4-x-to-borg-2-0
  * Add support for Borg 2's "rclone:" repository URLs, so you can backup to 70+ cloud storage
    services whether or not they support Borg explicitly.
  * Add support for Borg 2's "sftp://" repository URLs.
  * Update the "--match-archives" and "--archive" flags to support Borg 2 series names or archive
    hashes.
  * Add a "--match-archives" flag to the "prune" action.
  * Add "--local-path" and "--remote-path" flags to the "config bootstrap" action for setting the
    Borg executable paths used for bootstrapping.
  * Add a "--user-runtime-directory" flag to the "config bootstrap" action for helping borgmatic
    locate the bootstrap metadata stored in an archive.
  * Add a Zabbix monitoring hook. See the documentation for more information:
    https://torsion.org/borgmatic/docs/how-to/monitor-your-backups/#zabbix-hook
  * Add a tarball of borgmatic's HTML documentation to the packages on the project page.
- Refresh dependencies
- Update packaging to the modern python standard

OBS-URL: https://build.opensuse.org/request/show/1237875
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/borgmatic?expand=0&rev=93
2025-01-15 07:40:51 +00:00
3ad31d2f87 Accepting request 1205412 from Archiving:Backup
OBS-URL: https://build.opensuse.org/request/show/1205412
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/borgmatic?expand=0&rev=45
2024-10-04 15:08:46 +00:00
fc27de4559 Accepting request 1205411 from home:jbaier_cz:branches:Archiving:Backup
Fix requirements and apply spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/1205411
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/borgmatic?expand=0&rev=91
2024-10-03 11:55:27 +00:00
09686b6ddd Accepting request 1202154 from home:jbaier_cz:branches:Archiving:Backup
Update to 1.8.14, adapt python macros, re-enable tests. Now with changes also properly commited into the branch 🤦

OBS-URL: https://build.opensuse.org/request/show/1202154
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/borgmatic?expand=0&rev=90
2024-10-02 08:18:07 +00:00
6963013190 Accepting request 1157998 from Archiving:Backup
OBS-URL: https://build.opensuse.org/request/show/1157998
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/borgmatic?expand=0&rev=44
2024-03-14 16:45:53 +00:00
bc2033ea3e Accepting request 1157642 from home:bobbie424242:branches:Archiving:Backup
Update to 1.8.9

OBS-URL: https://build.opensuse.org/request/show/1157642
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/borgmatic?expand=0&rev=88
2024-03-14 13:27:23 +00:00
2f88873838 Accepting request 1147084 from Archiving:Backup
OBS-URL: https://build.opensuse.org/request/show/1147084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/borgmatic?expand=0&rev=43
2024-02-16 20:42:47 +00:00
c25c273a18 Accepting request 1147075 from home:smolsheep:upgrades
- Add borgmatic.rpmlintrc
- Rebase skip-tests.patch
- Remove unneeded support-python3.6.patch
- Update to 1.8.8:
  * For the PostgreSQL hook, pass the "PGSSLMODE" environment
    variable through to Borg when the database's configuration
    omits the "ssl_mode" option.
  * Allow the "--repository" flag to match across multiple
    configuration files.
  * Fix broken repository detection in the "rcreate" action with
    Borg 1.4. The issue did not occur with other versions of Borg.
  * Fix broken escaping logic in the PostgreSQL hook's
    "pg_dump_command" option.
  * SECURITY: Prevent additional shell injection attacks within the
    PostgreSQL hook.
- Updates from 1.8.7:
  * Store included configuration files within each backup archive
    in support of the "config bootstrap" action. Previously, only
    top-level configuration files were stored.
  * Elevate specific Borg warnings to errors or squash errors to
    warnings.
  * SECURITY: Prevent shell injection attacks within the PostgreSQL
    hook, the MongoDB hook, the SQLite hook, the "borgmatic borg"
    action, and command hook variable/constant interpolation.
  * Fix a traceback when providing an invalid "--override" value
    for a list option.
- Updates from 1.8.6:
  * Add an "--ssh-command" flag to the "config bootstrap"
    action for setting a custom SSH command, as no configuration
    is available (including the "ssh_command" option) until
    bootstrapping completes.
  * Fix a traceback when the "repositories" option contains both
    strings and key/value pairs.
  * Add configured repository labels to the JSON output for all
    actions.
  * The "check --force" flag now runs checks even if "check" is
    in "skip_actions".
  * Validate the configured action names in the "skip_actions"
    option.
  * Stream SQLite databases directly to Borg instead of dumping
    to an intermediate file. When logging commands that borgmatic
    executes, log the environment variables that borgmatic sets for
    those commands. (But don't log their values, since they often
    contain passwords.)
- Updates from 1.8.5:
  * Add a "skip_actions" option to skip running particular actions,
    handy for append-only or checkless configurations.
  * Deprecate the "disabled" value for the "checks" option in favor
    of the new "skip_actions" option.
  * Constants now apply to included configuration, not just the
    file doing the includes. As a side effect of this change,
    constants no longer apply to option names and only substitute
    into configuration values.
  * Add a "--match-archives" flag to the "check" action for
    selecting the archives to check, overriding the existing
    "archive_name_format" and "match_archives" options in
    configuration.
  * Only parse "--override" values as complex data types when
    they're for options of those types.
  * Fix environment variable interpolation within configured
    repository paths.
  * Add configuration constant overriding via the existing
    "--override" flag.
  * Upgrade ruamel.yaml dependency to support version 0.18.x.
  * Drop support for Python 3.7, which has been end-of-lifed.
- Updates from 1.8.4:
  * Add a monitoring hook for sending backup status to a variety of
    monitoring services via the Apprise library.
  * When an archive filter causes no matching archives for the
    "rlist" or "info" actions, warn the user and suggest how to
    remove the filter.
  * Fix a traceback when an invalid command-line flag or action
    is used.
  * Fix normalization of deprecated sections ("location:",
    "storage:", "hooks:", etc.) to support empty sections without
    erroring.
  * Disallow the "--dry-run" flag with the "borg" action, as
    borgmatic can't guarantee the Borg command won't have side
    effects.
- Updates from 1.8.3:
  * BREAKING: Simplify logging logic as follows: Syslog
    verbosity is now disabled by default, but setting the
    "--syslog-verbosity" flag enables it regardless of
    whether you're at an interactive console. Additionally,
    "--log-file-verbosity" and "--monitoring-verbosity" now
    default to 1 (info about steps borgmatic is taking) instead
    of 0. And both syslog logging and file logging can be enabled
    simultaneously.
  * Add a monitoring hook for sending backup status and logs to
    Grafana Loki.
  * When "archive_name_format" is not set, filter archives using
    the default archive name format.
  * Fix error handling to log command output as one record per line
    instead of truncating too-long output and swallowing the end of
    some Borg error messages.
  * Fix for borgmatic not stopping Borg immediately when the user
    presses ctrl-C.

OBS-URL: https://build.opensuse.org/request/show/1147075
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/borgmatic?expand=0&rev=86
2024-02-16 12:49:23 +00:00
8f07909168 Accepting request 1116875 from Archiving:Backup
OBS-URL: https://build.opensuse.org/request/show/1116875
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/borgmatic?expand=0&rev=42
2023-10-11 21:56:03 +00:00
2b9070bbae Accepting request 1114258 from home:amanzini:branches:Archiving:Backup
- update to 1.8.2:
  * Add "key export" action to export a copy of the repository key for safekeeping in case the original 
    goes missing or gets damaged.
  * Add a MariaDB database hook that uses native MariaDB commands instead of the deprecated
    MySQL ones. Be aware though that any existing backups made with the "mysql_databases:" hook are
    only restorable with a "mysql_databases:" configuration.
  * Fix for potential data loss (data not getting restored) in which the database "restore"
    action didn't actually restore anything and indicated success anyway.
  * Remove the deprecated use of the MongoDB hook's "--db" flag for database restoration.
  * Add source code reference documentation for getting oriented with the borgmatic code as a
    developer: https://torsion.org/borgmatic/docs/reference/source-code/

OBS-URL: https://build.opensuse.org/request/show/1114258
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/borgmatic?expand=0&rev=84
2023-10-11 09:37:33 +00:00
4c5325d8c6 Accepting request 1100774 from Archiving:Backup
OBS-URL: https://build.opensuse.org/request/show/1100774
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/borgmatic?expand=0&rev=41
2023-07-26 11:24:32 +00:00
3e085493c6 Accepting request 1099848 from home:polslinux:branches:Archiving:Backup
- update to 1.8.0:
  * BREAKING: For the "borgmatic borg" action, instead of
    implicitly injecting repository/archive into the resulting Borg
    command-line, pass repository to Borg via an environment
    variable and make archive available for explicit use in your
    commands.
  * Fix an error when running "borg key export" through borgmatic.
  * Fix an error when dumping a database and the "exclude_nodump"
    option is set.
  * Add "check_i_know_what_i_am_doing" option to bypass Borg
    confirmation prompt when running "check --repair".
  * When merging two configuration files, error gracefully if the
    two files do not adhere to the same format.
  * Remove configuration sections ("location:", "storage:",
    "hooks:" etc.), while still keeping deprecated support for
    them. Now, all options are at the same level, and you don't
    need to worry about commenting/uncommenting section headers
    when you change an option (if you remove your sections first).
  * BREAKING: The retention prefix and the consistency prefix
    can no longer have different values (unless one is not set).
  * BREAKING: The storage umask and the hooks umask can no longer
    have different values (unless one is not set).
  * BREAKING: Flags like "--config" that previously took multiple
    values now need to be given once per value, e.g.
    "--config first.yaml --config second.yaml" instead of
    "--config first.yaml second.yaml". This prevents argument
    parsing errors on ambiguous commands.
  * BREAKING: Remove the deprecated (and silently ignored)
    "--successful" flag on the "list" action, as newer versions
    of Borg list successful (non-checkpoint) archives by default.
  * All deprecated configuration option values now generate
    warning logs.
  * Remove the deprecated (and non-functional) "--excludes"
    flag in favor of excludes within configuration.
  * Fix an error when logging too-long command output during
    error handling. Now, long command output is truncated
    before logging.

OBS-URL: https://build.opensuse.org/request/show/1099848
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/borgmatic?expand=0&rev=82
2023-07-26 08:01:53 +00:00
99b0c2d2e2 Accepting request 1096454 from Archiving:Backup
OBS-URL: https://build.opensuse.org/request/show/1096454
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/borgmatic?expand=0&rev=40
2023-07-03 15:43:33 +00:00
07593e2988 Accepting request 1095940 from home:jbaier_cz:branches:Archiving:Backup
Update to 1.7.15

OBS-URL: https://build.opensuse.org/request/show/1095940
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/borgmatic?expand=0&rev=80
2023-07-03 05:28:19 +00:00
f665f5ddca Accepting request 1091220 from Archiving:Backup
OBS-URL: https://build.opensuse.org/request/show/1091220
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/borgmatic?expand=0&rev=39
2023-06-07 21:07:40 +00:00
b9811e838b Accepting request 1090580 from home:dirkmueller:Factory
- update to 1.7.13:
  * Restore particular PostgreSQL schemas from a database
    dump via "borgmatic restore --schema"
    flag.
  * Fix error from PostgreSQL when dumping a database with
    a "format" of "plain".
  * : Fix PostgreSQL hook to support "psql_command" and
    "pg_restore_command" options containing
    commands with arguments.
  * Fix calls to psql in PostgreSQL hook to ignore
    "~/.psqlrc", whose settings can break
    database dumping.
  * Add support for logging each log line as a JSON object
    via global "--log-json" flag.
  * Fix "source_directories_must_exist" option to expand
    globs and tildes in source directories.
  * Add fish shell completion script so you can tab-
    complete on the borgmatic command-line.
  * Fix borgmatic error when not finding the configuration
    schema for certain "pip install --editable" development
    installs.
  * Fix archive checks being skipped even when particular
    archives haven't been checked
    recently. This occurred when using multiple borgmatic
    configuration files with different
    "archive_name_format"s, for instance.
  * Fix error in "borgmatic restore" action when the
    configured repository path is relative
    instead of absolute.
  * Run "borgmatic borg" action without capturing output so

OBS-URL: https://build.opensuse.org/request/show/1090580
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/borgmatic?expand=0&rev=78
2023-06-07 08:31:28 +00:00
cbc28dc236 Accepting request 1077672 from Archiving:Backup
OBS-URL: https://build.opensuse.org/request/show/1077672
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/borgmatic?expand=0&rev=38
2023-04-06 13:57:15 +00:00
974a8eeef4 Accepting request 1075573 from home:polslinux:branches:Archiving:Backup
- update to 1.7.10:
  * #396: When a database command errors, display and log the error message instead of swallowing it.
  * #501: Optionally error if a source directory does not exist via "source_directories_must_exist"
    option in borgmatic's location configuration.
  * #576: Add support for "file://" paths within "repositories" option.
  * #612: Define and use custom constants in borgmatic configuration files. See the documentation for
    more information:
    https://torsion.org/borgmatic/docs/how-to/make-per-application-backups/#constant-interpolation
  * #618: Add support for BORG_FILES_CACHE_TTL environment variable via "borg_files_cache_ttl" option
    in borgmatic's storage configuration.
  * #623: Fix confusing message when an error occurs running actions for a configuration file.
  * #635: Add optional repository labels so you can select a repository via "--repository yourlabel"
    at the command-line. See the configuration reference for more information:
    https://torsion.org/borgmatic/docs/reference/configuration/
  * #649: Add documentation on backing up a database running in a container:
    https://torsion.org/borgmatic/docs/how-to/backup-your-databases/#containers
  * #655: Fix error when databases are configured and a source directory doesn't exist.
  * Add code style plugins to enforce use of Python f-strings and prevent single-letter variables.
    To join in the pedantry, refresh your test environment with "tox --recreate".
  * Rename scripts/run-full-dev-tests to scripts/run-end-to-end-dev-tests and make it run end-to-end
    tests only. Continue using tox to run unit and integration tests.

OBS-URL: https://build.opensuse.org/request/show/1075573
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/borgmatic?expand=0&rev=76
2023-04-06 07:35:43 +00:00
8f0cae31dd Accepting request 1071077 from Archiving:Backup
OBS-URL: https://build.opensuse.org/request/show/1071077
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/borgmatic?expand=0&rev=37
2023-03-13 11:40:43 +00:00
e9f252c81a Accepting request 1070028 from home:dirkmueller:Factory
- update to 1.7.8:
  * #620: With the "create" action and the "--list" ("--files")
    flag, only show excluded files at verbosity 2.
  * #621: Add optional authentication to the ntfy monitoring
    hook.
  * With the "create" action, only one of "--list" ("--files")
    and "--progress" flags can be used.
  * This lines up with the new behavior in Borg 2.0.0b5.
  * Internally support new Borg 2.0.0b5 "--filter" status
    characters / item flags for the "create" action.
  * Fix the "create" action with the "--dry-run" flag querying
    for databases when a PostgreSQL/MySQL "all" database is
    configured. Now, these queries are skipped due to the dry run.
  * Add "--repository" flag to the "rcreate" action to optionally
    select one configured repository to create.
  * Add "--progress" flag to the "transfer" action, new in Borg
    2.0.0b5.
  * Add "checkpoint_volume" configuration option to creates
    checkpoints every specified number of bytes during a
    long-running backup, new in Borg 2.0.0b5.

OBS-URL: https://build.opensuse.org/request/show/1070028
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/borgmatic?expand=0&rev=74
2023-03-13 08:57:30 +00:00
68f7873673 Accepting request 1067900 from Archiving:Backup
OBS-URL: https://build.opensuse.org/request/show/1067900
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/borgmatic?expand=0&rev=36
2023-02-27 11:55:50 +00:00
e4918438d1 Accepting request 1066930 from home:polslinux:branches:Archiving:Backup
- Update to 1.7.7:
  * #642: Add MySQL database hook "add_drop_database" configuration option to control whether dumped
    MySQL databases get dropped right before restore.
  * #643: Fix for potential data loss (data not getting backed up) when dumping large "directory"
    format PostgreSQL/MongoDB databases. Prior to the fix, these dumps would not finish writing to
    disk before Borg consumed them. Now, the dumping process completes before Borg starts. This only
    applies to "directory" format databases; other formats still stream to Borg without using
    temporary disk space.
  * Fix MongoDB "directory" format to work with mongodump/mongorestore without error. Prior to this
    fix, only the "archive" format worked.
  * #393, #438, #560: Optionally dump "all" PostgreSQL/MySQL databases to separate files instead of one
    combined dump file, allowing more convenient restores of individual databases. You can enable
    this by specifying the database dump "format" option when the database is named "all".
  * #602: Fix logs that interfere with JSON output by making warnings go to stderr instead of stdout.
  * #622: Fix traceback when include merging configuration files on ARM64.
  * #629: Skip warning about excluded special files when no special files have been excluded.
  * #630: Add configuration options for database command customization: "list_options",
    "restore_options", and "analyze_options" for PostgreSQL, "restore_options" for MySQL, and
    "restore_options" for MongoDB.

OBS-URL: https://build.opensuse.org/request/show/1066930
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/borgmatic?expand=0&rev=72
2023-02-27 08:31:53 +00:00
0fb60f34ed Accepting request 1060858 from Archiving:Backup
OBS-URL: https://build.opensuse.org/request/show/1060858
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/borgmatic?expand=0&rev=35
2023-01-25 16:44:06 +00:00
bb7d95a8d6 Accepting request 1060857 from home:alarrosa:branches:Archiving:Backup
- Add patch to reduce the requirement of python 3.7 to work with
  python 3.6 so borgmatic can be used in Leap 15.5 . All the tests
  work fine so it seems python 3.7 isn't really required:
  * support-python3.6.patch

OBS-URL: https://build.opensuse.org/request/show/1060857
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/borgmatic?expand=0&rev=70
2023-01-25 11:20:29 +00:00
90aefacd1e Accepting request 1040582 from Archiving:Backup
OBS-URL: https://build.opensuse.org/request/show/1040582
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/borgmatic?expand=0&rev=34
2022-12-06 13:24:27 +00:00
7dd03fbc61 Accepting request 1038617 from home:polslinux:branches:Archiving:Backup
- Update to 1.7.5:
 * #463: Add "before_actions" and "after_actions" command hooks that run before/after all the
   actions for each repository. These new hooks are a good place to run per-repository steps like
   mounting/unmounting a remote filesystem.
 * #463: Update documentation to cover per-repository configurations:
   https://torsion.org/borgmatic/docs/how-to/make-per-application-backups/
 * #557: Support for Borg 2 while still working with Borg 1. This includes new borgmatic actions
   like "rcreate" (replaces "init"), "rlist" (list archives in repository), "rinfo" (show repository
   info), and "transfer" (for upgrading Borg repositories). For the most part, borgmatic tries to
   smooth over differences between Borg 1 and 2 to make your upgrade process easier. However, there
   are still a few cases where Borg made breaking changes. See the Borg 2.0 changelog for more
   information: https://www.borgbackup.org/releases/borg-2.0.html
 * #557: If you install Borg 2, you'll need to manually upgrade your existing Borg 1 repositories
   before use. Note that Borg 2 stable is not yet released as of this borgmatic release, so don't
   use Borg 2 for production until it is! See the documentation for more information:
   https://torsion.org/borgmatic/docs/how-to/upgrade/#upgrading-borg
 * #557: Rename several configuration options to match Borg 2: "remote_rate_limit" is now
   "upload_rate_limit", "numeric_owner" is "numeric_ids", and "bsd_flags" is "flags". borgmatic
   still works with the old options.
 * #557: Remote repository paths without the "ssh://" syntax are deprecated but still supported for
   now. Remote repository paths containing "~" are deprecated in borgmatic and no longer work in
   Borg 2.
 * #557: Omitting the "--archive" flag on the "list" action is deprecated when using Borg 2. Use
   the new "rlist" action instead.
 * #557: The "--dry-run" flag can now be used with the "rcreate"/"init" action.
 * #565: Fix handling of "repository" and "data" consistency checks to prevent invalid Borg flags.
 * #566: Modify "mount" and "extract" actions to require the "--repository" flag when multiple
   repositories are configured.
 * #571: BREAKING: Remove old-style command-line action flags like "--create, "--list", etc. If
   you're already using actions like "create" and "list" instead, this change should not affect you.

OBS-URL: https://build.opensuse.org/request/show/1038617
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/borgmatic?expand=0&rev=68
2022-12-06 10:20:20 +00:00
7646bd215a Accepting request 1030288 from Archiving:Backup
OBS-URL: https://build.opensuse.org/request/show/1030288
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/borgmatic?expand=0&rev=33
2022-10-21 14:19:44 +00:00
709f800f53 Accepting request 1029763 from home:pgajdos:python
- python-six is not required
  https://trello.com/c/MO53MocR/143-remove-python3-six

OBS-URL: https://build.opensuse.org/request/show/1029763
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/borgmatic?expand=0&rev=66
2022-10-21 06:17:42 +00:00
5e95ffd8fb Accepting request 998782 from Archiving:Backup
OBS-URL: https://build.opensuse.org/request/show/998782
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/borgmatic?expand=0&rev=32
2022-08-23 12:29:58 +00:00
a992e85766 Accepting request 995232 from home:dirkmueller:Factory
- update to 1.5.24:
  * #431: Add "working_directory" option to support source directories with relative paths.
  * #444: When loading a configuration file that is unreadable due to file permissions, warn instead
    of erroring. This supports running borgmatic as a non-root user with configuration in ~/.config
    even if there is an unreadable global configuration file in /etc.
  * #469: Add "repositories" context to "before_" and "after_" command action hooks. See the
    documentation for more information:
    https://torsion.org/borgmatic/docs/how-to/add-preparation-and-cleanup-steps-to-backups/
  * #486: Fix handling of "patterns_from" and "exclude_from" options to error instead of warning when
    referencing unreadable files and "create" action is run.
  * #507: Fix Borg usage error in the "compact" action when running "borgmatic --dry-run". Now, skip
    "compact" entirely during a dry run.
  * #394: Compact repository segments and free space with new "borgmatic compact" action. Borg 1.2+
    only. Also run "compact" by default when no actions are specified, as "prune" in Borg 1.2 no
    longer frees up space unless "compact" is run.
  * #394: When using the "atime", "bsd_flags", "numeric_owner", or "remote_rate_limit" options,
    tailor the flags passed to Borg depending on the Borg version.
  * #480, #482: Fix traceback when a YAML validation error occurs.
  * #288: Add database dump hook for MongoDB.
  * #470: Move mysqldump options to the beginning of the command due to MySQL bug 30994.
  * #471: When command-line configuration override produces a parse error, error cleanly instead of
    tracebacking.
  * #476: Fix unicode error when restoring particular MySQL databases.
    Drop support for Python 3.6, which has been end-of-lifed.
    Add support for Python 3.10.
- avoid bashism in post scripts (bsc#1195391)
- light modernization of spec file

OBS-URL: https://build.opensuse.org/request/show/995232
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/borgmatic?expand=0&rev=64
2022-08-23 09:02:01 +00:00
b29cfbe462 Accepting request 963482 from Archiving:Backup
OBS-URL: https://build.opensuse.org/request/show/963482
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/borgmatic?expand=0&rev=31
2022-03-21 19:11:42 +00:00
7dcd7893d3 Accepting request 962060 from home:illuusio:python
- Update 1.5.21 which is last that supports Python 3.6
  *  #28: Optionally retry failing backups via "retries" and "retry_wait" configuration options.
  *  #306: Add "list_options" MySQL configuration option for passing additional arguments to MySQL
     list command.
  *  #459: Add support for old version (2.x) of jsonschema library.
  *  #387: Fix error when configured source directories are not present on the filesystem at the time
     of backup. Now, Borg will complain, but the backup will still continue.
  *  #455: Mention changing borgmatic path in cron documentation.
     Update sample systemd service file with more granular read-only filesystem settings.
  *  Move Gitea and GitHub hosting from a personal namespace to an organization for better
     collaboration with related projects.
  *  #389: Fix "message too long" error when logging to rsyslog.
  *  #440: Fix traceback that can occur when dumping a database.

OBS-URL: https://build.opensuse.org/request/show/962060
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/borgmatic?expand=0&rev=62
2022-03-21 08:16:53 +00:00
da9cb02b18 Accepting request 919445 from Archiving:Backup
OBS-URL: https://build.opensuse.org/request/show/919445
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/borgmatic?expand=0&rev=30
2021-09-16 21:14:52 +00:00
0f65323235 Accepting request 917940 from home:dimstar:Factory
- ExcludeArch %ix86: this is a bit a special trick, but as there is
  no pandoc for intel/i586 arch, we can't build there anyway. As
  the resulting package is noarch though, it does not matter much.

OBS-URL: https://build.opensuse.org/request/show/917940
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/borgmatic?expand=0&rev=61
2021-09-16 07:26:47 +00:00
836b4da8d2 Accepting request 909377 from Archiving:Backup
OBS-URL: https://build.opensuse.org/request/show/909377
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/borgmatic?expand=0&rev=29
2021-07-30 21:22:17 +00:00
e20da29887 Accepting request 909097 from home:polslinux:branches:Archiving:Backup
- Update to 1.5.17
  * Fix error when configuration file contains "umask" option.
  * Remove test dependency on vim and /dev/urandom.
- Update to 1.5.16
  * Suppress console output in sample crontab and
    systemd service files.
  * Fix syslog logging on FreeBSD.
  * Fix hang when restoring a PostgreSQL "tar" format database dump.
  * Better error messages! Switch the library used
    for validating configuration files
  * Link borgmatic Ansible role from installation documentation:

OBS-URL: https://build.opensuse.org/request/show/909097
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/borgmatic?expand=0&rev=60
2021-07-30 10:04:22 +00:00
5af73c6366 Accepting request 904550 from Archiving:Backup
OBS-URL: https://build.opensuse.org/request/show/904550
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/borgmatic?expand=0&rev=28
2021-07-07 16:30:39 +00:00
90e39d75ee Accepting request 903281 from home:susnux:branches:Archiving:Backup
Update to 1.5.15

OBS-URL: https://build.opensuse.org/request/show/903281
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/borgmatic?expand=0&rev=59
2021-07-07 08:33:30 +00:00
1423c19496 Accepting request 899888 from Archiving:Backup
OBS-URL: https://build.opensuse.org/request/show/899888
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/borgmatic?expand=0&rev=27
2021-06-14 21:11:04 +00:00
5013f24375 Accepting request 898780 from home:polslinux:branches:Archiving:Backup
- Update to 1.5.14:
  * Add link to Hetzner storage offering from the documentation.
  * Clarify canonical home of borgmatic in documentation.
  * Clarify that spaces in path names should not be backslashed
    in path names.
  * Fix error handling to error loudly when Borg gets killed due to
    running out of memory!
  * Fix build so as not to attempt to build and push documentation
    for a non-master branch.

OBS-URL: https://build.opensuse.org/request/show/898780
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/borgmatic?expand=0&rev=57
2021-06-14 07:08:43 +00:00
Richard Brown
7310ed7a94 Accepting request 882329 from Archiving:Backup
OBS-URL: https://build.opensuse.org/request/show/882329
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/borgmatic?expand=0&rev=26
2021-04-01 12:17:46 +00:00
1d38dceefa Accepting request 882325 from home:polslinux:branches:Archiving:Backup
- Update to 1.5.13:
  * #373: Document that passphrase is used for Borg keyfile encryption,
    not just repokey encryption.
  * #404: Add support for ruamel.yaml 0.17.x YAML parsing library.
  * Update systemd service example to return a permission error when
    a system call isn't permitted
    (instead of terminating borgmatic outright).
  * Drop support for Python 3.5, which has been end-of-lifed.
  * Add support for Python 3.9.
  * Only support black code formatter on Python 3.8+.
- Drop 0001-Update-versions-of-test-dependencies.patch
- Rebase skip-tests.patch

OBS-URL: https://build.opensuse.org/request/show/882325
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/borgmatic?expand=0&rev=55
2021-03-31 10:58:25 +00:00
58cdb1a757 Accepting request 870769 from Archiving:Backup
OBS-URL: https://build.opensuse.org/request/show/870769
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/borgmatic?expand=0&rev=25
2021-02-10 20:30:58 +00:00
fab0e9d187 Accepting request 870669 from home:alarrosa:branches:Archiving:Backup
- Update to 1.5.12
  * Fix for previous release with incorrect version suffix in
    setup.py. No other changes.
- Update to 1.5.11
  * #341: Add "temporary_directory" option for changing Borg's
    temporary directory.
  * #352: Lock down systemd security settings in sample systemd
    service file.
  * #355: Fix traceback when a database hook value is null in
    a configuration file.
  * #361: Merge override values when specifying the "--override"
    flag multiple times. The previous behavior was to take the
    value of the last "--override" flag only.
  * #367: Fix traceback when upgrading old INI-style configuration
    with upgrade-borgmatic-config.
  * #368: Fix signal forwarding from borgmatic to Borg resulting
    in recursion traceback.
  * #369: Document support for Borg placeholders in repository
    names.
- Replace patch:
  * remove-invalid-test.patch
  with patch from upstream that fixes tests:
  * 0001-Update-versions-of-test-dependencies.patch

OBS-URL: https://build.opensuse.org/request/show/870669
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/borgmatic?expand=0&rev=53
2021-02-10 06:36:07 +00:00
0b0666f9ea Accepting request 830717 from Archiving:Backup
OBS-URL: https://build.opensuse.org/request/show/830717
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/borgmatic?expand=0&rev=24
2020-08-31 14:52:54 +00:00
1656e7f4e1 Accepting request 830716 from home:alarrosa:branches:Archiving:Backup
- Update to 1.5.10
  * #347: Add hooks that run for the "extract" action:
    "before_extract" and "after_extract".
  * #350: Fix traceback when a configuration directory is
    non-readable due to directory permissions.
  * Add documentation navigation links on left side of all
    documentation pages.
  * Clarify documentation on configuration overrides, specifically
    the portion about list syntax:
    http://torsion.org/borgmatic/docs/how-to/make-per-application-backups/#configuration-overrides
  * Clarify documentation overview of monitoring options:
    http://torsion.org/borgmatic/docs/how-to/monitor-your-backups/

  * #300: Add “borgmatic export-tar” action to export an archive to
    a tar-formatted file or stream.
  * #339: Fix for intermittent timing-related test failure of
    logging function.
  * Clarify database documentation about excluding named pipes and
    character/block devices to prevent hangs.

OBS-URL: https://build.opensuse.org/request/show/830716
OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/borgmatic?expand=0&rev=51
2020-08-31 09:45:30 +00:00
f5373693ff Accepting request 823146 from Archiving:Backup
OBS-URL: https://build.opensuse.org/request/show/823146
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/borgmatic?expand=0&rev=23
2020-07-28 15:27:50 +00:00