wa0x6e / ResqueBoard

ResqueBoard is an analytics software for PHP Resque. Monitor your workers health and job activities in realtime

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question : How do I flush all entries in the MongoDB?

teewhey opened this issue · comments

Not really an issue. Just a question on is it safe to flush all entries in MongoDB using db.cube_development.remove() ??

commented

What do you want to achieve ? Just remove ResqueBoard ? Yes, all data in cube are just for ResqueBoard, removing them does not affect your resque instances

I just want to clear off the data... I don't need the older data anymore....
The Resqueboard will still be running

commented

In that case, yes, you should drop the cube_development database

If I drop it, do I need to recreate it? Pardon me as I'm not so familiar with MongoDB.

commented

No, if needed, Cube will recreate it automatically

Ah... okay ... thank you very much.