ptomulik
  • Joined on 2023-11-12
ptomulik commented on issue borgmatic-collective/borgmatic#261 2023-12-04 18:31:01 +00:00
ZFS filesystem snapshotting

Got it, thanks. That makes sense to me. I think there would still be the limitation of a single working directory per configuration file.

Well, not necessarily am issue. Finally, it's just…

ptomulik commented on issue borgmatic-collective/borgmatic#261 2023-11-30 23:06:08 +00:00
ZFS filesystem snapshotting

What about not unmounting any part of the original FS and mount the whole hierarchy of zfs snapshots in a subdirectory and then backup just that subdirectory using "relative directory" stuff?…

ptomulik commented on issue borgmatic-collective/borgmatic#261 2023-11-30 11:32:08 +00:00
ZFS filesystem snapshotting

Well what I had in mind would use unshare() to create a private mount namespace, unmount the old mount and mount the snapshot (I know this works in zfs at least). But what if someone would…

ptomulik commented on issue borgmatic-collective/borgmatic#261 2023-11-22 19:59:57 +00:00
ZFS filesystem snapshotting

It could also work something like this (assuming this is turned into a proper hook like the db backups are):

  • Create zfs snapshots
  • Unshare with mount namespace
  • Create a new…
ptomulik commented on issue borgmatic-collective/borgmatic#789 2023-11-16 12:35:01 +00:00
How to log propertly (syslog) from hook shell scripts?

[...] Or would stdout/stderr be sufficient if borgmatic actually "supported" them properly for hook commands?

Of course, it'd be fine, however as I see, there are at least three "input…

ptomulik commented on issue borgmatic-collective/borgmatic#789 2023-11-15 00:46:06 +00:00
How to log propertly (syslog) from hook shell scripts?

[...] is there any other way (stream/file descriptor) for a hook script to use appropriatelly logging facility (as an alternative to stdout/stderr)?

The short answer is no, not…

ptomulik opened issue borgmatic-collective/borgmatic#789 2023-11-14 11:47:16 +00:00
how to log propertly (syslog) from hook shell script
ptomulik commented on issue borgmatic-collective/borgmatic#261 2023-11-12 22:31:08 +00:00
ZFS filesystem snapshotting

Hi,

I'm just testing the following setup, which seems to work quite well:

On my (source) machine I have three ZFS pools: rpool (root FS /), bpool (for /boot) and dpool