When you restore a backup of a replicated database to a server or database other than that on which it was created, your replication settings cannot be preserved. For publishing databases and merge subscribing databases, a full restore of the database and logs is followed by an automatic removal of replication metadata from the database when the database or server you restore to differs from that on which the backup was created. If necessary, you can use this approach to recover your data to another server or database and then set up a new replication topology including the restored database if you want.