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.
Follow Us On Twitter »
|
Latest from the Zenoss Blog » | Community | Products | Services Resources | Customers Partners | About Us | ||
Copyright © 2005-2011 Zenoss, Inc.
|
||||||||