120EE0980
  • Joined on 2025-03-12
120EE0980 commented on pull request borgmatic-collective/borgmatic#1115 2025-10-25 08:50:30 +00:00
MySQL directory-per-database-format

Just checking in... Do you plan to get back to this one? If not, no problem, just please let me know. Thanks!

I will be back on DEC 1st and will definitely complete this.

120EE0980 commented on pull request borgmatic-collective/borgmatic#1115 2025-08-07 02:59:04 +00:00
MySQL directory-per-database-format

I will continue working on the PR.

120EE0980 pushed to mysql-format-directory at 120EE0980/borgmatic 2025-07-31 17:06:25 +00:00
64e854f67d Add suggested changes
120EE0980 commented on pull request borgmatic-collective/borgmatic#1115 2025-07-31 17:02:11 +00:00
MySQL directory-per-database-format

Should I also add a test where password_transport = pipe will be ignored when format is directory?

120EE0980 commented on pull request borgmatic-collective/borgmatic#1115 2025-07-31 16:56:12 +00:00
MySQL directory-per-database-format

So, should I add something like this in dump_data_sources code ?

is_directory_format = database.get('format') == 'directory'
password_transport = ( 'environment' if is_directory_format…
120EE0980 commented on pull request borgmatic-collective/borgmatic#1115 2025-07-28 03:04:35 +00:00
MySQL directory-per-database-format

One more bit of scope creep to consider. There are end-to-end tests for MySQL, currently in `tests/end-to-end/…

120EE0980 commented on pull request borgmatic-collective/borgmatic#1115 2025-07-27 17:19:20 +00:00
MySQL directory-per-database-format

Kind of a pain, I know. But I'm fine if you want to do this in a separate PR instead of in this one.

I am porting the changes to MariaDB in this PR itself.

120EE0980 pushed to mysql-format-directory at 120EE0980/borgmatic 2025-07-27 16:16:19 +00:00
f921cec051 Make small changes
120EE0980 commented on pull request borgmatic-collective/borgmatic#1115 2025-07-27 04:29:59 +00:00
MySQL directory-per-database-format

There is one test failure test_dump_data_sources_dumps_each_database() which I have been debugging from last 2 days. Only thing I could figure out is 'foo' database is not dumped which should…

120EE0980 pushed to mysql-format-directory at 120EE0980/borgmatic 2025-07-27 03:21:01 +00:00
8000a30022 Add tests
4b13fef936 Merge remote-tracking branch 'origin/main' into mysql-format-directory
88ecb96b98 Document systemd configuration changes for the ZFS filesystem hook (#1114).
099d30f044 Only run Python 3.9 and 3.13 in end-to-end tests since 3.11 has issues in Alpine.
5439e616f8 Hopefully fix end-to-end tests broken due to uv changes.
Compare 8 commits »
120EE0980 pushed to main at 120EE0980/borgmatic 2025-07-26 08:19:00 +00:00
88ecb96b98 Document systemd configuration changes for the ZFS filesystem hook (#1114).
099d30f044 Only run Python 3.9 and 3.13 in end-to-end tests since 3.11 has issues in Alpine.
5439e616f8 Hopefully fix end-to-end tests broken due to uv changes.
2d8b455e44 Switched from pipx to uv for installing development tools, and added tox-uv for speeding up test environment creation.
9a80fec91b When running tests, use Ruff for faster and more comprehensive code linting and formatting.
Compare 48 commits »
120EE0980 commented on pull request borgmatic-collective/borgmatic#1115 2025-07-21 02:39:15 +00:00
MySQL directory-per-database-format

Yes writing tests after factoring out to separate functions is a lot easier. I want to just confirm once: password_transport for all the 3 functions should be environment, only so directory format…

120EE0980 commented on pull request borgmatic-collective/borgmatic#1115 2025-07-14 03:12:32 +00:00
MySQL directory-per-database-format

I did the round-tripping...Dump and restore are working as expected.Is refactoring upto the mark?? I am working on failing tests and adding new tests now.

120EE0980 pushed to mysql-format-directory at 120EE0980/borgmatic 2025-07-14 03:02:04 +00:00
b236b9d3a4 refactoring
120EE0980 deleted branch custom-command-sqlite from 120EE0980/borgmatic 2025-07-13 08:29:29 +00:00
120EE0980 deleted branch noprunestats from 120EE0980/borgmatic 2025-07-13 08:29:22 +00:00
120EE0980 pushed to mysql-format-directory at 120EE0980/borgmatic 2025-07-12 02:04:37 +00:00
92f80d64ea Add restore and some minor changes
31264dd26b basic process flow for database-per-directory-format
34f677dba1 Add a flake8 plugin that enforces a blank line after if/for/while/with/try blocks.
3eed3191e8 Add a flake8 extension to tests to detect commented out code.
1a33e5fa1e Bump version for release.
Compare 7 commits »
120EE0980 commented on pull request borgmatic-collective/borgmatic#1115 2025-07-10 12:47:16 +00:00
MySQL directory-per-database-format

@witten I have added restore. Is this the expected process flow for restore??

120EE0980 pushed to mysql-format-directory at 120EE0980/borgmatic 2025-07-07 02:40:25 +00:00
2228d0ec28 Add restore and some minor changes
120EE0980 commented on pull request borgmatic-collective/borgmatic#1115 2025-07-05 02:39:09 +00:00
MySQL directory-per-database-format

Currently I have restore implemented considering only one conditional if data_source.get(format)==directory, that restores from borgmatic_runtime_directory , schema and tables separately. Should…