• Joined on 2023-02-27
diivi commented on pull request borgmatic-collective/borgmatic#660 2023-03-25 14:01:28 +00:00
WIP: Separate endpoint for each primary action for monitor hooks

Missed a debug log here 😄

diivi commented on pull request borgmatic-collective/borgmatic#660 2023-03-25 14:01:10 +00:00
WIP: Separate endpoint for each primary action for monitor hooks

A description should probably still be here (followed by what you added). somethine like Default ping url for cronitor...

diivi commented on pull request borgmatic-collective/borgmatic#660 2023-03-25 14:00:32 +00:00
WIP: Separate endpoint for each primary action for monitor hooks

nit(pythonic): next(iter(arguments))

diivi commented on issue borgmatic-collective/borgmatic#658 2023-03-24 06:32:15 +00:00
How can I disable timestamps on each line of borgmatic output

For your particular use case, maybe you can use sed to strip this information from the file before you email it to yourself?

I tried this and it seems to work:

sed 's/^\[[0-9]\{4\}
diivi commented on issue borgmatic-collective/borgmatic#612 2023-03-23 08:20:23 +00:00
define custom variable in configuration file

Simpler solution that supports all types too:

load.py::load_configuration() (I think this is where Borgmatic first checks the config file too).

with open(filename) as f:
   
diivi commented on issue borgmatic-collective/borgmatic#612 2023-03-23 06:23:08 +00:00
define custom variable in configuration file

Right, I was able to get this working with a "trick", at the end of normalize.py, and at the beginning of borgmatic.py::run_configuration(), I added this:

    config_str =
diivi commented on issue borgmatic-collective/borgmatic#326 2023-03-23 05:00:09 +00:00
Allow restoring to other database server

As for me getting back to you, it was so I can adjust my proposal accordingly as the mentors also suggested me. I wouldn't be asking anyone else to change theirs for me.

Ah, thanks, I would…

diivi commented on issue borgmatic-collective/borgmatic#612 2023-03-23 04:47:34 +00:00
define custom variable in configuration file

Nice idea! I'd like to add this functionality to Borgmatic. @witten could you help me understand where the default ({now} etc) interpolation from config takes place, maybe that'll help.

diivi commented on issue borgmatic-collective/borgmatic#326 2023-03-23 03:50:13 +00:00
Allow restoring to other database server

@diivi I do have some code ready.

Why would you ask for the issue to be assigned to you and start working before you get a reply? I replied right after you asked.

I also made it pretty…

diivi commented on issue borgmatic-collective/borgmatic#326 2023-03-22 17:34:23 +00:00
Allow restoring to other database server

This issue was part of the GSoC ideas list, so I added it to my proposal and worked on other tickets.

I'd have to edit a major part of my proposal if this does get implemented though 😓, can…

diivi commented on issue borgmatic-collective/borgmatic#610 2023-03-22 13:17:00 +00:00
Native support for borg recreate (using config yaml, not arbitrary borg command line)

This should be similar to what borgmatic does for borgmatic create right (except the extra arguments that borgmatic create can take)?

It should take the source repos from config and overwrite…

diivi commented on issue borgmatic-collective/borgmatic#375 2023-03-22 13:07:35 +00:00
Restore specific schemas
diivi commented on issue borgmatic-collective/borgmatic#623 2023-03-21 19:42:50 +00:00
Confusing error messages

I had the same issue with the phrasing too, I'll work on this if nobody else does, considering this might be a good issue for (even) newer contributors :D

diivi commented on issue borgmatic-collective/borgmatic#446 2023-03-21 19:37:07 +00:00
check --repair for an specific repository

@witten so this can be closed now that #564 is closed?

diivi opened issue borgmatic-collective/borgmatic#655 2023-03-20 16:39:16 +00:00
Borgmatic raises unexpected error when backing up databases without source_directories
diivi commented on issue borgmatic-collective/borgmatic#418 2023-03-19 21:50:10 +00:00
Backup same-named databases on the same host but with different ports

I like the second point more, add additional flags to the current restore command, seems to be more user friendly as I won't have to explicitly label every database and worry about uniqueness of…

diivi commented on issue borgmatic-collective/borgmatic#418 2023-03-19 20:51:04 +00:00
Backup same-named databases on the same host but with different ports

Ah okay, makes sense. I referred the documentation and have another small doubt though, gien that…

diivi commented on issue borgmatic-collective/borgmatic#576 2023-03-18 17:08:51 +00:00
file:// paths for repositories

Are you asking if the start of run_actions() is where the two repository paths should be matched? Or where they should be normalized?

I wanted to ask if --repository file:///foo/bar be…

diivi commented on issue borgmatic-collective/borgmatic#576 2023-03-18 12:11:47 +00:00
file:// paths for repositories

if the user has file:///foo/bar in repositories in their configuration file and types --repository file:///foo/bar on the command-line to select that repository, it should ideally still…