Some years ago (2005), someone raised the following question : "want to backup this whole category with courses. is it possible? and how do i?" This question is opened since this year. The last post under this discussion topic was in 2012. Here it is: "Is there already any solution for this?"
Well, I'm here to post a possible solution to this issue: BrCLI (Backup & Restore Command-Line Interface) . It is a command-line plug-in integrated in Moodle that allows administrators to performs bulk backup and restores of all categories, not just a single course.
I hope you enjoy.
Best regards. Paulo.