What is the best way to backup all Habpanel files?

What is the best way to backup Habpanel files end restore?

I had a problem last day, I had to restore the panel and any single custom widget + all files in html directory.

Is there any easiest way?

I save mine to DropBox.