
When serializing, create a lockfile which prevents the automatic snapshot service from starting. Add diff mode to the stream command.
7 lines
203 B
Desktop File
7 lines
203 B
Desktop File
[Unit]
|
|
Description=Filesystem snapshot (with offsite backup)
|
|
ConditionPathExists=!/run/lock/btv/serialization.lock
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/env python3 /usr/sbin/btv snapshot --process
|