First attempt at do-restoreapp.sh

Signed-off-by: Gianpaolo Macario <gmacario@gmail.com>
Merge pull request #2 from gmacario/try-restore

First attempt at do-restoreapp.sh