The backup procedure above is probably the recommended method, but I've just 
been backing up the whole dir....then moving it over to the fresh build. 

 I have zenoss stack installed, which defaults to /usr/local/zenoss.   So as 
root, I just /etc/init.d/zenoss-stack stop.  Then I do a "ps aux | grep zenoss" 
to make sure every is shut down...as well as a "ps aux |grep mysql" to make 
SURE that mysql is shut down.  If you do this while mysql is running, bad 
things could happen.  If you super paranoid you could sudo to the zenoss user 
and do a "mysqldump --all-databases | gzip > 
/usr/local/zenoss/mysql-backup.dmp.gz".  

After you're sure nothing zenoss related is running....as root "cd 
/usr/local/zenoss".  Then "tar -czf /root/zenoss_backup.tar.gz *".  Then you're 
free to copy the tar file to another server and wipe your current server.  When 
 you've rebuilt the server, install the same version of zenoss but don't start 
it up.  Copy the tar.gz to /root.  Then "cp -a /usr/local/zenoss 
/usr/local/zenoss.ORIG".  Then "cd /usr/local/zenoss".  Then "tar -xzf 
/root/zenoss_backup.tar.gz".  And then start it up.  "/etc/init.d/zenoss-stack 
start".

However, if someone can confirm that the backup procedure built into zenoss is 
complete, then I'd much rather do it that way as it seems much easier.




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

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

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



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

Reply via email to