localStorage back-up & recovery strategy
===

Using localStorage for a small web app and interested in providing these basics:

 1. Method for a user to save current state of localStorage to a local
    file.

 2. Method for a user to restore from that file to localStorage.

So, I'm interested in hearing from folks who have likely prior tackled this.

JSON and jQuery is the preferred approach but open to others.

I anticipate Access-Control-Allow-Origin needs to be addressed.

Thanks in advance for your help and guidance!

Note: Eventually, we will provide a way to save to the host but this first phase with the local file is the task at hand. But, appreciate any thoughts there too.

 