Comment on Self hosting Sunday! What's up, selfhosters?s

ccryx@discuss.tchncs.de ⁨2⁩ ⁨days⁩ ago

I’ve finally pinned down my backup automaton:

What I’m not super happy about is the starting of containers.target via the systemd unit’s OnSuccess= mechanism but I couldn’t find an elegant way of stopping the target while the snapshots were being created and then restarting the target through the other dependency mechanisms.

I also realize it’s a bit fragile, since subsequent backup steps are started even if previous steps fail. But in the worst case that should just lead to either no data being written (if the mount is missing) or backing up the same data twice (not a problem due to deduplication).

source
Sort:hotnewtop