Filter restoreDatabaseDev according to restoreDB