• Joined on 2023-02-27
diivi commented on issue borgmatic-collective/borgmatic#635 2023-12-15 17:04:05 +00:00
[feature request] label/tag a repo

hey @witten did you end up solving this? Sorry for the late response, my exam just ended.

Looks like

repository.get("label", repository["path"]) throughout the codebase is done to…

diivi commented on issue borgmatic-collective/borgmatic#725 2023-07-29 16:19:27 +00:00
Backups include unnecessary config files

I discussed with witten that I'll implement the first option when I'm free from other GSoC tasks.

diivi commented on issue borgmatic-collective/borgmatic#697 2023-05-15 15:31:04 +00:00
Feature: Store all configs used to create an archive, inside the created archive.

I was trying to back up all configs with:

    location_config['source_directories'] = location_config.get('source_directories', []) + global_arguments.config_paths

Out of the…

diivi commented on issue borgmatic-collective/borgmatic#698 2023-05-14 13:02:19 +00:00
config file validation fails

Can you share your complete config? Looks like 'archive_name_format' is uncommented while it's parent key (storage) is commented.

diivi commented on issue borgmatic-collective/borgmatic#698 2023-05-14 12:26:15 +00:00
config file validation fails

One of the errors that says

At 'location.repositories[0]': {'path': '/srv/mergerfs/JGPool/BorgRepo', 'label': 'borgbase'} is not of type 'string'

is because of your Borgmatic…

diivi opened issue borgmatic-collective/borgmatic#697 2023-05-14 09:53:08 +00:00
Feature: Store all configs used to create an archive, inside the created archive.
diivi commented on issue borgmatic-collective/borgmatic#679 2023-04-17 13:27:44 +00:00
Borgmatic 1.7.11 generates an illegal Borg command

Hi, I think this was fixed in 1.7.12 - borgmatic-collective/borgmatic#670

diivi commented on issue borgmatic-collective/borgmatic#418 2023-04-17 13:11:56 +00:00
Backup same-named databases on the same host but with different ports

Hey, I started work on some other issues so I could not get a chance to look at this. I have my exams soon, so I'll be back to contributing actively after the first week of May.

If someone…

diivi commented on pull request borgmatic-collective/borgmatic#677 2023-04-14 14:28:35 +00:00
Fix multiple bugs in PostgreSQL hook

I think there are issues open for some of these too, could you link to them in the description so it's easier to close them? Anyway, I'll try to do that in some time.

diivi commented on issue borgmatic-collective/borgmatic#529 2023-04-06 17:22:50 +00:00
Move external borgmatic config commands into borgmatic

No, I meant how borg config and borgmatic config would be separated.

Ugh, just remembered there's already a borg config that this would collide with. (Unless they could be made to coexist.)

diivi commented on issue borgmatic-collective/borgmatic#529 2023-04-06 12:26:27 +00:00
Move external borgmatic config commands into borgmatic
  • generate-borgmatic-config can become borgmatic config generate.
  • validate-borgmatic-config can become borgmatic config validate.

So did you make a design decision regarding…

diivi commented on issue borgmatic-collective/borgmatic#666 2023-04-04 04:10:31 +00:00
borgmatic seems to be confused re --glob-archives and --match-archives

I Was able to debug this:

The problem is with this line in info.py::display_archives_info() (line55):

flags.make_flags_from_arguments(
            info_arguments, excludes=('rep…
diivi commented on issue borgmatic-collective/borgmatic#658 2023-03-29 10:38:57 +00:00
How can I disable timestamps on each line of borgmatic output

Glad it worked out!

I asked to see if there were a way to do it in borgmatic.

I don't think so.

I know that these are just format issues for the logging library and maybe similar to…

diivi commented on issue borgmatic-collective/borgmatic#662 2023-03-28 13:00:55 +00:00
No valid configuration files found

Nice, thanks for filing this!

For context, I recently worked on this PR - https://github.com/borgmatic-collective/borgmatic/pull/57, which allows users to tag/label a repo, hence changing the…

diivi commented on issue borgmatic-collective/borgmatic#617 2023-03-27 05:47:28 +00:00
Feature Request: Store backup results to a JSON file

I can take this, it might make it easier for me to test monitoring hooks too. Should I also add additional data gathered from the output of the create command to other monitoring hooks?

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

My bad, you can mark the PR as draft on gitea too btw.

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

@jetchirag does this PR add support for multiple actions only for cronitor? Every monitoring hook recieving the action_name and doing nothing with it seems a little off.

Maybe @witten can…

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

Maybe one of these tests (or an additional one) can have the ping_url instead of create as a key, now that we support it.

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

Also, if we are only using this variable when using_primary_action, it might make sense to rename it to primary_aciton_name and move it where it's needed too.

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

Not sure about this, but now that we don't have the required validation for anything, what will happen when I do this: