Gabriel Marcano gemarcano
  • Joined on 2019-02-24
gemarcano commented on issue borgmatic-collective/borgmatic#748 2023-09-11 06:41:46 +00:00
Many borgmatic commands do not return any information

As the reporter for #753 who already lost data to a prune that was effectively matching all (due to the issue reported in #753), I would prefer that prune's filter not be overly aggressive by…

gemarcano commented on issue borgmatic-collective/borgmatic#753 2023-09-06 10:21:14 +00:00
borgmatic prune unexpectedly selects all hostnames on default settings

And yes, apparently the grand purge of all of my older backups took place sometime around March of this year, I just didn't notice it until now (at least according to data from my off-site backup…

gemarcano opened issue borgmatic-collective/borgmatic#753 2023-09-06 10:01:27 +00:00
borgmatic prune unexpectedly selects all hostnames on default settings
gemarcano commented on issue borgmatic-collective/borgmatic#143 2019-05-18 08:38:08 +00:00
Relative repository path support

Sorry for not reporting back. Yeah, the patch I developed is working properly, and it ended up being a one or two liner (plus adding an entry to the configuration), I forget exactly right now. Effectively, I just change the directory to the one specified in the configuration file if that configuration is present, before beginning to execute borg commands.

gemarcano commented on issue borgmatic-collective/borgmatic#143 2019-02-24 07:07:46 +00:00
Relative repository path support

Somehow I missed your comment (my browser probably updated the page once I commented).

gemarcano commented on issue borgmatic-collective/borgmatic#143 2019-02-24 06:56:19 +00:00
Relative repository path support

I was able to hack in the ability to change the current working directory per configuration file, by adding a new field to location, and in run_configuration add a check that if that field is specified, just set the application's working directory to that value.

gemarcano commented on issue borgmatic-collective/borgmatic#143 2019-02-24 06:23:52 +00:00
Relative repository path support

Alright, after reading a bit more about how everything is implemented, and how Python handles subprocess current working directory, I ran a test. If I run borgmatic from the root of my shared drive, the current working directory is passed to all subprocesses, and the relative path in the configuration file (location.repositories) works as expected. I suppose this is a workaround, and I might be able to get the effect I want using cron by chaining a cd and the borgmatic invocation. It would still be nice to be able to specify the current working directory (unless there's a better way to do what I tried to describe earlier).

gemarcano opened issue borgmatic-collective/borgmatic#143 2019-02-24 05:55:36 +00:00
Relative repository path support