TECHZEN Zenoss User Community ARCHIVE  

Automating The daily backups.

Subject: Automating The daily backups.
Author: vinoth kumar
Posted: 2017-10-26 23:06

HI Team,

We are taking backups daily for our Entire Zenoss Environment manually and moving it to S3 daily. Is there any way to Automate these activity Via Zenoss.


------------------------------
vinoth kumar
vinoth monitoring indices
chennai IN
------------------------------


Subject: RE: Automating The daily backups.
Author: Kent Erickson
Posted: 2017-12-14 17:37

Yes. Look for the commands in the Control Center documentation, available at docs.zenoss.com.

------------------------------
Kent Erickson
Zenoss Inc.
------------------------------

Subject: RE: Automating The daily backups.
Author: Jane Curry
Posted: 2017-12-14 17:55

What version of Zenoss are you running?  For Zenoss 4.2.5, I have a little script in cron that runs the zenbackup utility. Something like:

# Source the zenoss environment
. ~zenoss/.bashrc

# Zenoss parameters
tempdir='/tmp'
backupLog="/$ZENHOME/log/zenbackup.log"
echo `date` > $backupLog 2>&1

#
# Do the backup
# to omit eventsdb add --no-eventsdb
# to omit zodb add --no-zodb
# to omit perf databases add --no-perfdata
#
$ZENHOME/bin/zenbackup --temp-dir=$tempdir --mibs --libexec -v 10 >> $backupLog 2>&1

Cheers,
Jane

------------------------------
Jane Curry
Skills 1st United Kingdom
jane.curry@skills-1st.co.uk
------------------------------


< Previous
ServiceResponseError: org.zenoss.zep.ZepException
  Next
network map not working
>