added optional --newsiteid flag to restore