IBims1NicerTobi
  • Joined on 2023-08-14
IBims1NicerTobi commented on issue borgmatic-collective/borgmatic#261 2024-02-29 17:17:20 +00:00
ZFS filesystem snapshotting

Seems valid. We might just have the call return a list of either pathlib or Popen objects and check for the type of all of them.…

IBims1NicerTobi commented on issue borgmatic-collective/borgmatic#261 2024-02-29 04:52:02 +00:00
ZFS filesystem snapshotting

So I think the general implementation of a snapshot hook should be pretty simple: We need a snapshot function that allows the hook to create snapshots and return a list of paths that are to be…

IBims1NicerTobi commented on issue borgmatic-collective/borgmatic#261 2024-02-04 22:47:42 +00:00
ZFS filesystem snapshotting

Well I was thinking of having the zfs hook work the following: Have a zfs option in the config file (Only a simple on/off) Have a [zfs user property](https://openzfs.github.io/openzfs-docs/man/ma

IBims1NicerTobi commented on issue borgmatic-collective/borgmatic#261 2024-02-04 22:22:53 +00:00
ZFS filesystem snapshotting

@witten Architectural question: Where in the code would you like this to be implemented? Afaik the hook system is not really powerful enough to handle this as we have to manipulate which…

IBims1NicerTobi commented on issue borgmatic-collective/borgmatic#261 2024-02-04 22:20:07 +00:00
ZFS filesystem snapshotting

One more thing: We have to check that we do not back up anything twice, so backing up a dataset DATA/test mounted at /test and /test in source_directories should either result in an error or be…

IBims1NicerTobi created repository IBims1NicerTobi/borgmatic 2024-02-03 23:48:29 +00:00
IBims1NicerTobi commented on issue borgmatic-collective/borgmatic#261 2024-02-02 11:29:05 +00:00
ZFS filesystem snapshotting

We could implement this for zfs at least by doing the following for each dataset:

  1. Create a snapshot
  2. Mount said snapshot under /tmp/borgmatic_zfs_fakeroot/MOUNTPOINT
  3. Pass path as…
IBims1NicerTobi commented on issue borgmatic-collective/borgmatic#799 2023-12-16 23:35:02 +00:00
/usr/share excluded when it should not be

@witten I think this can be closed.

IBims1NicerTobi commented on issue borgmatic-collective/borgmatic#799 2023-12-14 15:36:18 +00:00
/usr/share excluded when it should not be

I'm not 100% sure but sh:*/[Ss]hare/ should match /usr/share (it's on line 11 in your excludes).

IBims1NicerTobi commented on issue borgmatic-collective/borgmatic#799 2023-12-11 14:52:28 +00:00
/usr/share excluded when it should not be

Can you post you full config (minus secrets) and the output of borgmatic -v 2 here?

IBims1NicerTobi opened issue borgmatic-collective/borgmatic#797 2023-12-01 22:59:02 +00:00
[Containers] Docker/Podman socket based volume backups
IBims1NicerTobi commented on issue borgmatic-collective/borgmatic#671 2023-12-01 22:56:46 +00:00
New hook: podman volume export

It looks like the compatible api should not be to hard as podman docs state "This documentation describes the Podman v2.x+ RESTful API. It…

IBims1NicerTobi commented on issue borgmatic-collective/borgmatic#671 2023-12-01 22:47:52 +00:00
New hook: podman volume export

Ok the plan has changed a bit. Docker does not support this via the cli at all, so I think the cli hook can reasonably be renamed to be podman only (We should simply put a label on it saying: THIS…

IBims1NicerTobi commented on issue borgmatic-collective/borgmatic#671 2023-12-01 00:48:28 +00:00
New hook: podman volume export

No we really don't have 4 setups, we have two:

  • Inside a container
  • Outside a container I think docker/podman should not make a lot of difference, at least the cli tools are compatible (at…
IBims1NicerTobi commented on issue borgmatic-collective/borgmatic#261 2023-11-30 10:06:49 +00:00
ZFS filesystem snapshotting

So a bit of a technical question: How will we call unshare()? I did not consider that to be a problem but after looking at os in python where I expected to find it it does not look like python…

IBims1NicerTobi commented on issue borgmatic-collective/borgmatic#671 2023-11-29 20:57:55 +00:00
New hook: podman volume export

Would you be opposed to having a cli and a socket implementation @witten ? I think we should look at something like containers/podman-py for the socket…

IBims1NicerTobi commented on issue borgmatic-collective/borgmatic#261 2023-11-27 22:55:17 +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 like…

IBims1NicerTobi commented on issue borgmatic-collective/borgmatic#795 2023-11-27 12:43:11 +00:00
Add passcommand for database dumps

But borgmatic can already do that right? Afaik it should support reading things from the env so why add a feature to do that manually for one field? Is there any limitation to running your…

IBims1NicerTobi commented on pull request borgmatic-collective/borgmatic#792 2023-11-24 23:17:07 +00:00
Added debug message that logs borg version for every config

Just this I will do all the information separately later and I think there is a lot of room for discussion on how and were to implement the rest.