cacti online Backup

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
janssenc
Posts: 2
Joined: Mon Oct 14, 2002 7:57 am
Location: Germany / Krefeld
Contact:

cacti online Backup

Post by janssenc »

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
User avatar
bulek
Cacti Pro User
Posts: 854
Joined: Mon May 20, 2002 2:07 am
Location: Poland
Contact:

Post by bulek »

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 »

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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest