#/bin/bash
export ZENHOME=/opt/zenoss
cd /opt/zenoss/backups
rm -f *.tgz *.log
/opt/zenoss/bin/zenbackup -v10 > /opt/zenoss/backups/backup.log
- You must ensure that the same ZenPacks that were installed on the backup system are also installed on the target system.
zenoss stop
zenrestore -v --file BACKUPFILEPATH
- http://community.zenoss.org/docs/DOC-12025
use mysql;
SET PASSWORD FOR 'zenoss'@'localhost' = PASSWORD('zenoss');
FLUSH PRIVILEGES;
dmd.ZenEventManager.host = 'localhost'
dmd.ZenEventManager.password = 'zenoss'
dmd.ZenEventManager.user = 'zenoss'
commit()
su -l -c /opt/zenoss/bin/secure_zenoss.sh zenoss