Archived community.zenoss.org | full text search
Skip navigation
202 Views 0 Replies Latest reply: Feb 27, 2014 7:03 AM by rakesh agarwal RSS
rakesh agarwal Newbie 5 posts since
Oct 21, 2013
Currently Being Moderated

Feb 27, 2014 7:03 AM

Zenrestore command restores everything that is available in backup file. It ignores the options provided with the zenrestore command.

Zenrestore command restores everything that is available in backup file. It ignores the options provided with the zenrestore command. 

We tried restoring backup using --no-zodb and --no-perfdata options using zenrestore command but observed that when the backup file contains the ZODB and performance data it is getting restored.

We verified this behavior in the code ZenRestore.py file.

Is there something we are missing while providing the options or it is known issue.

 

Command executed and logs are given below :

 

zenrestore -v1 --no-zodb --no-perfdata --deletePreviousPerfData --file zenbackup_63_20140226.tgz

Unpacking backup file Flushing memcached cache.

Completed flushing memcached cache.

Restoring ZODB database.

Done Restoring ZODB database.

Restoring ZODB session database.

Done Restoring ZODB session database.

Restoring config files. 2014-02-26 15:43:54,384

INFO zenrestore: Restoring ZenPack contents. 2014-02-26 15:43:54,588

INFO zenrestore: Restoring zencatalogservice. 2014-02-26 15:43:54,589

INFO zenrestore: Removing existing directory: /opt/zenoss/var/zencatalogservice 2014-02-26 15:43:54,625

INFO zenrestore: zencatalogservice restored. 2014-02-26 15:43:54,708

INFO zenrestore: ZenPack contents restored.

Restoring performance data. 2014-02-26 15:43:55,326

INFO zenrestore: Getting ZEP dbname, user, password, port from configuration files.

Restoring ZEP database. ZEP database restored.

Removing existing ZEP indexes.

Restoring ZEP indexes.

ZEP indexes restored.

Cleaning up temporary files.

Restore complete.

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points