1
0
mirror of https://github.com/ArcticFoxes-net/Synapse-Ubuntu-ZFS synced 2024-11-14 06:31:33 -05:00
Synapse-Ubuntu-ZFS/etc/apt/apt.conf.d/00-zfs-snapshot
wj25czxj47bu6q f28d39751d
Create 00-zfs-snapshot
Signed-off-by: wj25czxj47bu6q <96372288+wj25czxj47bu6q@users.noreply.github.com>
2023-09-04 09:16:10 +00:00

3 lines
136 B
Plaintext

# Create a ZFS snapshot before invoking dpkg
DPkg::Pre-Invoke { "zfs snapshot zroot/ROOT/ubuntu@apt_$(date -u +%Y-%m-%dT%H:%M:%SZ)"; };