1
0
Fork 0
mirror of https://github.com/borgbase/vorta synced 2025-01-03 05:36:19 +00:00

Formatting fixes.

Dan Helfman 2024-02-06 09:58:29 -08:00
parent 6287c91ea5
commit 64bbeb31cc

@ -192,8 +192,8 @@ Other issues tagged [help wanted](https://github.com/borgbackup/borg/issues?q=is
### MySQL/MariaDB database directory format support ### MySQL/MariaDB database directory format support
**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. **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 for the existing MySQL/MariaDB "format" configuration options. When that's set, pass the relevant option 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. **Task outline**: Implement a new "directory" value for the existing MySQL/MariaDB "format" configuration options. When that's set, pass the relevant option 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. **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 [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).