For snapshot and transactional replication, you should regularly back up the following databases:
-
The publication database at the Publisher.
-
The distribution database at the Distributor.
-
The subscription database at each Subscriber.
-
The master and msdb system databases at the Publisher, Distributor and all Subscribers. These databases should be backed up at the same time as each other and the relevant replication database. For example, back up the master and msdb databases at the Publisher at the same time that you back up the publication database. If the publication database is restored, make sure that the master and msdb databases are consistent with the publication database with regard to replication configuration and settings.
If you perform regular log backups, any replication-related changes should be captured in the log backups. If you do not perform log backups, a backup should be performed whenever a setting relevant to replication is changed. For more information, see Common Actions Requiring an Updated Backup.