Unarchive queries when unarchiving dashboard


I have a dashboard with sql queries. I archived the dashboard and its queries, but when I unarchived the dashboard, its queries were not unarchived so the dahsboard was empty.
Is there a way to archive and unarchive queries inside a dashboard automatically when archiving/unarchibing the dashboard ?

Thanks in advance.

No you need to unarchive them one by one ... That or archive a collection and then unarchive a collection should unarchive all the questions inside a collection