Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


cacti online Backup

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific
Author Message
janssenc



Joined: 14 Oct 2002
Posts: 2
Location: Germany / Krefeld

PostPosted: Sat Feb 01, 2003 6:10 am    Post subject: cacti online Backup Reply with quote

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:

#!/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."
Back to top
bulek
Cacti Pro User


Joined: 20 May 2002
Posts: 852
Location: Poland

PostPosted: Sat Feb 01, 2003 9:10 am    Post subject: Reply with quote

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
Back to top
janssenc



Joined: 14 Oct 2002
Posts: 2
Location: Germany / Krefeld

PostPosted: Sat Feb 01, 2003 1:35 pm    Post subject: Reply with quote

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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group