I couldn't find this documented, and Zenoss does not appear to have a feature 
for periodic backups, so I figured I'd post here for others to reference.

The following applies to CentOS5 and probably all other flavors of linux, but 
not BSD (linux cron allows setting environment variables directly in the 
crontab).

To run zenbackup every Sunday at one minute past midnight, add the following to 
the zenoss users crontab file using 'crontab -e':

Code:
# Set ZENHOME environment variable
ZENHOME=/opt/zenoss
# minute        hour    day     month   weekday         task
1               0       *       *       sun             
/opt/zenoss/bin/zenbackup --save-mysql-access



Hopefully this will be of use to someone.




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=26954#26954

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to