TECHZEN Zenoss User Community ARCHIVE  

Zenoss 6.3 Restore

Subject: Zenoss 6.3 Restore
Author: Chuck Hechler
Posted: 2021-04-12 13:27

Is it possible to restore Devices only from a backup? Running Zenoss 6.3.2

------------------------------
Chuck Hechler
CPM
CA
------------------------------


Subject: RE: Zenoss 6.3 Restore
Author: Michael Rogers
Posted: 2021-04-13 11:33

It may be possible to restore devices from a backup, but the process would look like the following:

Take a backup.
Extract the backup.
Find the mariadb-model files.
Replace the same files on your new instance with the backup files.
Wipe and recreate the Solr catalog.

An easier method, if the old system is still available to you, would be to perform a zenbatchdump.  The resulting output file can then be loaded into your new instance with zenbatchload.

The process would look like:

On the old system - 
    serviced service shell zope
    su - zenoss
    zenbatchdump -o batchfile.txt
    # copy the file to the new system /tmp directory
    exit
    exit

On the new system -  
    cd /tmp
    serviced service shell zope
    su - zenoss
    cd /mnt/pwd
    zenbatchload batchfile.txt
    exit
    exit

These steps are detailed in the Resource Manager / Zenoss Core documents here.

NOTE:  The batchfile will contain all devices and all configured zProperties decoded from the database, all written to plaintext.  This includes passwords. 

Again:  THIS INCLUDES PASSWORDS.

Keep this file safe.



------------------------------
Michael J. Rogers
Senior Instructor - Zenoss
Austin TX
------------------------------


< Previous
Event Archiver is Failing with below message--RM 6.3.2 core
  Next
Zenoss 6.3 Zep_Answering Health Check Failing
>