Thanks, that script refers to restoring from a server that is still functional. In my case, the old server is dead and inaccessible by SSH. I've just a backup file that I downloaded before the old server died, and I need to restore from that file.
Any suggestions?