Page 1 of 1

The "backup_xi.sh" problem?

Posted: Fri Feb 22, 2013 12:26 pm
by xpertech
The "backup_xi.sh" seems doesn't backup the "switch/router bandwidth" data in the "var/lib/mrtg" ?
because no data in the "var/lib/mrtg" was backuped.

Are the two scripts "backup_xi.sh" and "restore_xi.sh" need to be fix?

After restored, the rrd data in the "/var/lib/mrtg" won't generate automatically, it need manual configured again!

Re: The "backup_xi.sh" problem?

Posted: Fri Feb 22, 2013 1:59 pm
by lmiltchev
You are correct - these files don't get backed up. We are looking at the issue, and will be modifying our scripts to fix that. For the time being, you can copy the contents of the following two directories from the old server to the new one:

Code: Select all

/etc/mrtg/
/var/lib/mrtg
Also, copy over:

Code: Select all

/etc/httpd/conf.d/mrtg.conf
Hope this helps.