mirror of https://github.com/digint/btrbk
Silence output on successful runs in cron
parent
8bc1acc672
commit
b23248e280
|
@ -147,7 +147,7 @@ Retention policy:
|
||||||
/etc/cron.daily/btrbk:
|
/etc/cron.daily/btrbk:
|
||||||
|
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
/usr/sbin/btrbk -c /etc/btrbk/btrbk-mylaptop.conf run
|
/usr/sbin/btrbk -q -c /etc/btrbk/btrbk-mylaptop.conf run
|
||||||
|
|
||||||
|
|
||||||
- This will create snapshots on a daily basis:
|
- This will create snapshots on a daily basis:
|
||||||
|
@ -227,7 +227,7 @@ regular basis:
|
||||||
/etc/cron.daily/btrbk:
|
/etc/cron.daily/btrbk:
|
||||||
|
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
/usr/sbin/btrbk run
|
/usr/sbin/btrbk -q run
|
||||||
|
|
||||||
Note that you can run btrbk more than once a day, e.g. by creating the
|
Note that you can run btrbk more than once a day, e.g. by creating the
|
||||||
above script in `/etc/cron.hourly/btrbk`, or by calling `sudo btrbk
|
above script in `/etc/cron.hourly/btrbk`, or by calling `sudo btrbk
|
||||||
|
|
Loading…
Reference in New Issue