elhananjair
  • Joined on 2021-12-13
elhananjair closed issue borgmatic-collective/borgmatic#494 2022-02-02 12:40:32 +00:00
Extracting archives to remote pc
elhananjair commented on issue borgmatic-collective/borgmatic#494 2022-02-02 12:40:21 +00:00
Extracting archives to remote pc

Would it be possible for you to run borgmatic extract and borgmatic restore on S1 with the "localhost" database configuration and a remote Borg repository (P2)? Then it would install your…

elhananjair commented on issue borgmatic-collective/borgmatic#494 2022-02-01 06:25:29 +00:00
Extracting archives to remote pc

Two options:

  • Configure borgmatic to connect to a remote database host, e.g. in the hostname of the database hook.
  • Or, run borgmatic on the remote PC with the database and configure…
elhananjair commented on issue borgmatic-collective/borgmatic#494 2022-02-01 05:58:56 +00:00
Extracting archives to remote pc

borgmatic restore actually streams the database restore directly from Borg to psql or pg_restore. That way it never needs to take up space in a temporary file.

ow ok I was almost…

elhananjair commented on issue borgmatic-collective/borgmatic#494 2022-02-01 05:46:35 +00:00
Extracting archives to remote pc

Unfortunately, it's not currently possible to use a remote --destination with borgmatic extract. Only local paths will work there.

One work-around could be if you first mounted a…

elhananjair opened issue borgmatic-collective/borgmatic#494 2022-01-31 08:39:25 +00:00
Extracting archives to remote pc
elhananjair commented on issue borgmatic-collective/borgmatic#298 2022-01-26 05:43:16 +00:00
Borgmatic delete?

The archive name looks like it's just MY-hostname-2022-01-25T17:20:35.335171. The rest of it (Tue, ...) is not part of the archive name—that's just additional information about the archive…

elhananjair commented on issue borgmatic-collective/borgmatic#298 2022-01-26 04:54:33 +00:00
Borgmatic delete?

Have you tried borgmatic borg delete? 😄

I tried `borgmatic borg delete MY-hostname-2022-01-25T17:20:35.335171 Tue,…

elhananjair commented on issue borgmatic-collective/borgmatic#492 2022-01-25 11:50:27 +00:00
WARNING drop_privileges: setgroups(1, 0) failed: Operation not permitted

My guess here based on the error message is that ProtectControlGroups=yes is interfering. So you could try commenting that out and reloading the systemd service (sudo systemctl daemon-reload

elhananjair closed issue borgmatic-collective/borgmatic#492 2022-01-25 11:50:27 +00:00
WARNING drop_privileges: setgroups(1, 0) failed: Operation not permitted
elhananjair commented on issue borgmatic-collective/borgmatic#492 2022-01-24 07:01:56 +00:00
WARNING drop_privileges: setgroups(1, 0) failed: Operation not permitted

I checked the error from journactl output of borgmatic.serviec. Am running borgmatic using systemd and I barely changed example config of borgmatic.service.

https://paste.centos.org/view/9083c5d4

elhananjair opened issue borgmatic-collective/borgmatic#492 2022-01-21 14:04:52 +00:00
WARNING drop_privileges: setgroups(1, 0) failed: Operation not permitted
elhananjair commented on issue borgmatic-collective/borgmatic#480 2022-01-21 12:07:27 +00:00
Failed to start borgmatic backup.

It indeed looks like a spacing issue. Both the storage: and the hooks: section keys should not have any spaces right before them. I believe if you make those changes, the problem will be…

elhananjair closed issue borgmatic-collective/borgmatic#480 2022-01-21 12:07:27 +00:00
Failed to start borgmatic backup.
elhananjair commented on issue borgmatic-collective/borgmatic#480 2022-01-20 14:04:09 +00:00
Failed to start borgmatic backup.

Could I get a peek at your updated configuration file (redacted)? My guess is there's a spacing issue, where some of the options aren't lined up in a section. We're seeing something similar over on…

elhananjair commented on issue borgmatic-collective/borgmatic#480 2021-12-17 05:05:02 +00:00
Failed to start borgmatic backup.

Thanks for sharing that! Looking at your config file, there are a few problems I've found:

  • storage: is commented out even though there are options configured in the storage section.…
elhananjair commented on issue borgmatic-collective/borgmatic#480 2021-12-16 04:43:39 +00:00
Failed to start borgmatic backup.

Ah, gotcha. At this point, I think I'll need to see the entire configuration file (not just a screenshot) in order to debug this further. Please feel free to redact passphrases of course and any…

elhananjair commented on issue borgmatic-collective/borgmatic#480 2021-12-15 11:09:43 +00:00
Failed to start borgmatic backup.

It looks like you may be missing the underscore in encryption_passphrase? Same for checkpoint_interval. I'm guessing that's the issue!

Nope, the screenshot had taken from "nano" editor thats…

elhananjair commented on issue borgmatic-collective/borgmatic#480 2021-12-14 08:17:15 +00:00
Failed to start borgmatic backup.

Thanks for reporting this! Looks like there are two issues here:

  1. There's a legitimate problem with your borgmatic configuration file at line 142, column 7 with "did not find an expected…
elhananjair opened issue borgmatic-collective/borgmatic#480 2021-12-13 09:55:00 +00:00
Failed to start borgmatic backup.