Commit Graph

11 Commits (3f32411067b232673b329ff6099dd7a743b319fa)

Author SHA1 Message Date
Jonas Kalderstam fd3013fb35 Make sure btrbk service only runs after network is available
As specified at
https://www.freedesktop.org/software/systemd/man/systemd.timer.html#Persistent=
the service will be activated immediately on machine boot if it would
have been triggered when the machine was turned off. This makes it
possible for the service to be activated before remote hosts are
available. Adding the `After` directive should make sure that it is
only triggered after remote hosts are reachable.
2017-08-19 12:08:51 +02:00
Axel Burri 708444b096 btrbk-mail, README.md: suggest using "rsync --inplace"
When used without --inplace, rsync creates a new copy of the file and
moves it into place when it is complete, having the effect that btrfs
creates a new extent for the WHOLE file. With --inplace however, rsync
writes the updated data directly to the destination file, having the
effect that btrfs creates a new extent only for the differing part of
the file.
2016-08-17 14:49:27 +02:00
Asbjørn Apeland 16d73b4e5a Makefile: support .in files (use to replace @BINDIR@ in btrbk.service) 2016-07-13 20:56:28 +02:00
Axel Burri e4a7ba4be5 btrbk: add lockfile support, using perl "flock": add configuration option "lockfile <file>", and command line option "--lockfile"' 2016-06-07 16:17:02 +02:00
Axel Burri eabdba482e btrbk-mail: Use relative instead of absolute calls to system binaries
Make sure to have apropriate PATH set when calling btrbk-mail.
Usually specified in /etc/crontab, and should be correct by default on
all distros.
2016-05-09 12:13:22 +02:00
Moritz Ulrich d47cc25f60 btrbk-mail: bugfix: use `btrbk` instead of unbound variable `$btrbk` 2016-03-21 18:52:53 +01:00
Axel Burri 5c8d3f94f3 contrib: cron: btrbk-mail: append rsync stats to mail body 2015-10-25 12:20:59 +01:00
Axel Burri cb1b4d146d contrib: cron: btrbk-mail: add rsync and mount/umount functionality 2015-10-25 12:20:59 +01:00
Axel Burri 4925f3ac7d contrib: cron: btrbk-mail: wrapper script sending email with btrbk results and exit codes 2015-10-25 12:20:59 +01:00
Axel Burri 898f7ef0f6 contrib: systemd: fixed path in btrbk service unit 2015-05-21 15:52:50 +02:00
Axel Burri 09e214acf4 contrib: systemd: added systemd service and timer units (for daily backup) 2015-05-20 16:42:12 +02:00