Friday, October 18, 2013
1:18 PM

backup zenoss monittoring server in linux

It is important to back your Zenoss data up. The default location it wants to dump the backup to is /tmp when you kick off a backup from the GUI. Most times this is fine, but every now and then you will run into /tmp  filling up during a Zenoss backup. Here is how to use zenbackup from the command line and specify a specific backup directory.
Procedure 1. SSH into the server and su to the zenoss user.
2. Make a backup directory under $ZENHOME/backup/tmp if it doesn't exist already.
   zenoss@servername$ mkdir -p $ZENHOME/backup/tmp
3. Change directory into the $ZENHOME/backup/ and kick off the backup:
   zenoss@servername$ cd $ZENHOME/backup 
zenoss@servername$ zenbackup --temp-dir=./tmp --file=Zenoss.Backup.July.12.2012
INFO:zenbackup:Getting MySQL dbname, user, password from ZODB.
2012-07-12 14:31:15,045 INFO zenbackup: Backing up events database.

0 comments:

Post a Comment