Started restore device feature
Fixed bug with creating backups