SQL Server 2012 Replication Backup and Restore I am using SQL Server 2012. We have setup a replication using 'transactional with queued updating'.

If the publisher database crashes and some records in the subscriber database have not been replicated to the publisher database (and in the publisher database backup), how would we have to re-sync the data after restoring the publisher database and setting up replication without losing the new data in the subscriber database?

(And, also apply to Vice Versa case)

Thanks.
Initialize SQL Server replication using a database backup

More steps at
https://www.mssqltips.com/sqlservertip/2386/initialize-sql-server-replication-using-a-database-backup/