1
0
Fork 0
mirror of https://github.com/borgbase/vorta synced 2024-12-22 15:57:34 +00:00

Add borgmatic project.

Dan Helfman 2024-02-06 10:24:03 -08:00
parent 04c8ef2d53
commit 4247a91802

@ -190,12 +190,21 @@ Other issues tagged [help wanted](https://github.com/borgbackup/borg/issues?q=is
**Additional details**: Not all Borg sub-commands make sense to wrap. For instance, Borg invokes `borg serve` internally, and there's likely not a good use case for running it via borgmatic. Similarly, some Borg flags like `--info` and `--debug` shouldn't be exposed directly via borgmatic configuration options or command-line flags, because borgmatic uses them implicitly (e.g. via `--verbosity`) without exposing them to the end-user.<br /> **Additional details**: Not all Borg sub-commands make sense to wrap. For instance, Borg invokes `borg serve` internally, and there's likely not a good use case for running it via borgmatic. Similarly, some Borg flags like `--info` and `--debug` shouldn't be exposed directly via borgmatic configuration options or command-line flags, because borgmatic uses them implicitly (e.g. via `--verbosity`) without exposing them to the end-user.<br />
### MySQL/MariaDB database directory format support ### MySQL/MariaDB database directory format support
**Difficulty**: Medium<br />
**Length**: 40 hours<br /> **Length**: 40 hours<br />
**Skills required**: Python, Linux, MySQL/MariaDB<br /> **Skills required**: Python, Linux, MySQL/MariaDB<br />
**Description**: Today borgmatic supports dumping MySQL/MariaDB databases directly to Borg for backup purposes and also restoring them directly from Borg. However, borgmatic does not support the MySQL/MariaDB `directory` format for database dumps currently.<br /> **Description**: Today borgmatic supports dumping MySQL/MariaDB databases directly to Borg for backup purposes and also restoring them directly from Borg. However, borgmatic does not support the MySQL/MariaDB `directory` format for database dumps currently.<br />
**Task outline**: Implement a new `directory` value (or maybe `tab`?) for the existing MySQL/MariaDB `format` configuration options. When that's set, pass the relevant option (`--tab=...`?) to `mysqldump` so that database dumps are dumped into a directory instead of as a single file. Note that this will have to bypass the existing streaming to named pipe logic since a directory can't be streamed that way. Also note that there are separate MySQL and MariaDB hooks, which would both need similar updates to support this feature.<br /> **Task outline**: Implement a new `directory` value (or maybe `tab`?) for the existing MySQL/MariaDB `format` configuration options. When that's set, pass the relevant option (`--tab=...`?) to `mysqldump` so that database dumps are dumped into a directory instead of as a single file. Note that this will have to bypass the existing streaming to named pipe logic since a directory can't be streamed that way. Also note that there are separate MySQL and MariaDB hooks, which would both need similar updates to support this feature.<br />
**Additional details**: Look at the existing PostgreSQL hook for an example of a database hook that supports both streaming database dumps and non-streaming directory format database dumps. You can probably take a similar approach with this MySQL/MariaDB work. Also see [the ticket](https://projects.torsion.org/borgmatic-collective/borgmatic/issues/816). **Additional details**: Look at the existing PostgreSQL hook for an example of a database hook that supports both streaming database dumps and non-streaming directory format database dumps. You can probably take a similar approach with this MySQL/MariaDB work. Also see [the ticket](https://projects.torsion.org/borgmatic-collective/borgmatic/issues/816).
### Docker/Podman container backups
**Difficulty**: Medium<br />
**Length**: 80 hours<br />
**Skills required**: Python, Linux, Docker/Podman<br />
**Description**: borgmatic has a variety of hooks for dumping non-filesystem data sources like databases, but now there's also a need to dump containers or container volumes for backup.<br />
**Task outline**: Implement a new borgmatic hook or multiple hooks for dumping and restoring containers or container volumes. Test against both Docker and Podman.<br />
**Additional details**: See [the ticket](https://projects.torsion.org/borgmatic-collective/borgmatic/issues/685) for design and implementation ideas.
Also see [good first issues](https://projects.torsion.org/borgmatic-collective/borgmatic/issues?q=&type=all&state=open&labels=52&milestone=0&assignee=0&poster=0). Also see [good first issues](https://projects.torsion.org/borgmatic-collective/borgmatic/issues?q=&type=all&state=open&labels=52&milestone=0&assignee=0&poster=0).