summaryrefslogtreecommitdiffstats
path: root/etc/rc.backup_rrd.sh
blob: 2e93b64a171346d63e0845fe0ca8b772241c393a (plain)
1
2
3
4
5
6
#!/bin/sh

# Save the rrd databases to the config path.
/etc/rc.conf_mount_rw
cd / && tar -czf /cf/conf/rrd.tgz -C / var/db/rrd/*.rrd
/etc/rc.conf_mount_ro
OpenPOWER on IntegriCloud