|
|
| Author |
Message |
janssenc
Joined: 14 Oct 2002 Posts: 2 Location: Germany / Krefeld
|
Posted: Sat Feb 01, 2003 6:10 am Post subject: cacti online Backup |
|
|
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
|
Posted: Sat Feb 01, 2003 9:10 am Post subject: |
|
|
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
|
Posted: Sat Feb 01, 2003 1:35 pm Post subject: |
|
|
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 |
|
 |
|