mirror of
https://github.com/ArcticFoxes-net/Synapse-Ubuntu-ZFS
synced 2024-11-14 06:31:33 -05:00
Create 00-zfs-snapshot
Signed-off-by: wj25czxj47bu6q <96372288+wj25czxj47bu6q@users.noreply.github.com>
This commit is contained in:
parent
c3ffa198ab
commit
f28d39751d
2
etc/apt/apt.conf.d/00-zfs-snapshot
Normal file
2
etc/apt/apt.conf.d/00-zfs-snapshot
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# Create a ZFS snapshot before invoking dpkg
|
||||||
|
DPkg::Pre-Invoke { "zfs snapshot zroot/ROOT/ubuntu@apt_$(date -u +%Y-%m-%dT%H:%M:%SZ)"; };
|
Loading…
Reference in New Issue
Block a user