Revisions of borgmatic
buildservice-autocommit
accepted
request 1157998
from
Martin Pluskal (pluskalm)
(revision 89)
baserev update by copy to link target
Martin Pluskal (pluskalm)
accepted
request 1157642
from
Michael Pujos (bobbie424242)
(revision 88)
Update to 1.8.9
buildservice-autocommit
accepted
request 1147084
from
Martin Pluskal (pluskalm)
(revision 87)
baserev update by copy to link target
Martin Pluskal (pluskalm)
accepted
request 1147075
from
smolsheep
(revision 86)
- 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.
buildservice-autocommit
accepted
request 1116875
from
Martin Pluskal (pluskalm)
(revision 85)
baserev update by copy to link target
Martin Pluskal (pluskalm)
accepted
request 1114258
from
Andrea Manzini (amanzini)
(revision 84)
- 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/
buildservice-autocommit
accepted
request 1100774
from
Martin Pluskal (pluskalm)
(revision 83)
baserev update by copy to link target
Martin Pluskal (pluskalm)
accepted
request 1099848
from
Paolo Stivanin (polslinux)
(revision 82)
- 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.
buildservice-autocommit
accepted
request 1096454
from
Martin Pluskal (pluskalm)
(revision 81)
baserev update by copy to link target
Martin Pluskal (pluskalm)
accepted
request 1095940
from
Jan Baier (jbaier_cz)
(revision 80)
Update to 1.7.15
buildservice-autocommit
accepted
request 1091220
from
Martin Pluskal (pluskalm)
(revision 79)
baserev update by copy to link target
Martin Pluskal (pluskalm)
accepted
request 1090580
from
Dirk Mueller (dirkmueller)
(revision 78)
- 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
buildservice-autocommit
accepted
request 1077672
from
Martin Pluskal (pluskalm)
(revision 77)
baserev update by copy to link target
Martin Pluskal (pluskalm)
accepted
request 1075573
from
Paolo Stivanin (polslinux)
(revision 76)
- 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.
buildservice-autocommit
accepted
request 1071077
from
Martin Pluskal (pluskalm)
(revision 75)
baserev update by copy to link target
Martin Pluskal (pluskalm)
accepted
request 1070028
from
Dirk Mueller (dirkmueller)
(revision 74)
- 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.
buildservice-autocommit
accepted
request 1067900
from
Martin Pluskal (pluskalm)
(revision 73)
baserev update by copy to link target
Martin Pluskal (pluskalm)
accepted
request 1066930
from
Paolo Stivanin (polslinux)
(revision 72)
- 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.
buildservice-autocommit
accepted
request 1060858
from
Antonio Larrosa (alarrosa)
(revision 71)
baserev update by copy to link target
Antonio Larrosa (alarrosa)
accepted
request 1060857
from
Antonio Larrosa (alarrosa)
(revision 70)
- 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
Displaying revisions 1 - 20 of 89