Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Post support questions that directly relate to Linux/Unix operating systems.
Moderators: Developers , Moderators
janssenc
Posts: 2 Joined: Mon Oct 14, 2002 7:57 am
Location: Germany / Krefeld
Contact:
Post
by janssenc » Sat Feb 01, 2003 6:10 am
Hello,
i try to setup an online backup for cacti.
Backing up mysql is no Problem, but the backup of the rrds (2178) with
more then 254MByte produce empty space (4h) in my graphs.
Do someone know another way to create an online backup ?
Thanks
Christian
My script:
Code: Select all
#!/bin/bash
cd /usr/share/cacti
echo "Start cacti MySql Database backup"
mysqldump -u cacti --password='??????' cacti > /var/local/backup/cacti-backup.sql
echo "Start cacti File Backup"
tar cvhzf /var/local/backup/ccacti-backup.tar.gz .
echo "cacti Backup finished."
Ciao
Christian
bulek
Cacti Pro User
Posts: 854 Joined: Mon May 20, 2002 2:07 am
Location: Poland
Contact:
Post
by bulek » Sat Feb 01, 2003 9:10 am
What causes your graphs problems? High cpu utilization during taring or some kind of file lock on all rrd files that tar sets? I am interested in this as well because I have 860 MB (1800 rrd's).
- bulek
janssenc
Posts: 2 Joined: Mon Oct 14, 2002 7:57 am
Location: Germany / Krefeld
Contact:
Post
by janssenc » Sat Feb 01, 2003 1:35 pm
I dont't konw exactly, the backup starts at 3 a.m. and ends at 7 a.m.
During this time the graph is emty on most systems.
The machine (i386 Debian Woody r1) has 866Mhz and 512 MByte RAM.
I don't think that the tar will catch the hole cpu.
But I'll try top figure it out.
Ciao
Christian
Ciao
Christian
Users browsing this forum: No registered users and 1 guest