Changed restore/backup method.