summaryrefslogtreecommitdiffstats
path: root/etc/rc.backup_rrd.sh
Commit message (Collapse)AuthorAgeFilesLines
* Process RRD backup compression in varPhil Davis2014-11-281-5/+9
| | | | | | | | Prior to this the RRD xml files were added uncompressed to the archive in /cf/conf and then that archive was compressed at the end. My /cf partition is only 50MB. The uncompressed archive of all the xml files is already 35MB. With a few config backups, or a few more VLANs (xml files) I will soon run into the 50MB limit. This change creates each xml from rrd one at a time, then compresses that 1 xml into a tgz in /var/db/rrd, deletes the xml then loops to the next rrd file. At the end of the loop, there are a bunch of /var/db/rrd/*.tgz files, which are small (they take up <2MB on my system, from XMLs that total 35MB). They are then unpacked and put into 1 /cf/conf/rrd.tgz in a single command. Thus there is no time when 35MB of xml content has to be stored anywhere. This should work for systems with a lot of RRD files that turn into XML and then TGZ one at a time.
* Process the rrd files one by one to fix ↵Ermal LUÇI2014-11-281-2/+8
| | | | https://forum.pfsense.org/index.php?topic=84693.0. Restore will come after
* Feature #2123 Backup RRD files using the xml dump and restore from RRD toolsDarren Embry2012-04-121-4/+13
| | | | http://redmine.pfsense.org/issues/2123
* Ticket #931. Check that directory exist before trying to tar up. Do this for ↵Ermal2010-10-041-3/+5
| | | | rrd and dhcpleases scripts used during shutdown.
* Fix execute permissionsjim-p2010-08-061-0/+0
|
* Move the RRD backup code to a script.jim-p2010-08-061-0/+6
OpenPOWER on IntegriCloud