Replication to another BeBackup server fails
This page is intended for administrators who replicate the backup media of one BeBackup server to another. It explains replication failure messages and the checks to carry out. It applies to BeBackup server 7.
Symptom
After a backup, the medium is not copied to the second server. The backup report, or the replication report, contains one of these messages:
Error while replicating "…" to "…": … (logged as a warning)
No server-to-server link found to replicate the backup to server "…" (…).
Replications to server "…" are not allowed. Please check the storage restriction in the backup settings. User: ….
Error while replicating block … of file "…". Please check the medium to correct the errors.
How replication works
Replication copies a medium from one BeBackup server to another, after backups complete. It relies on three settings:
- both servers are linked, in the
Linked serverstab of the server configuration; - a replication rule designates the destination server, under
Replication rules(When the agent backs up to,Replicate to); - the destination server allows replication, via the
Allow replicationoption in the storage rules.
If the connection to the destination server fails, the server makes several attempts in quick succession before giving up. An outage lasting more than a few moments will therefore cause the replication to fail: it resumes at the next backup, or when you restart it manually.
Checks
Carry out these checks in order.
- The link exists. The message
No server-to-server link found…indicates that the destination server is not linked. Open theLinked serverstab and check that the destination server is listed there. - The destination allows replication. The message
Replications to server "…" are not allowedindicates a restriction. In the backup settings, check that the storage rule for the destination server hasAllow replicationticked. - The destination server is reachable. The message
Error while replicating "…" to "…"is followed by the reason. Check that the destination server is running and that its port is open from the source server. - The certificate matches the name used. If the reason states that the certificate
does not bear this name, the destination server is being reached through an address that its certificate does not contain, an IP address for example. In theLinked serverstab, untickCheck the host name against the certificatefor this server. The certificate chain remains verified. - The source medium is healthy. The message
Error while replicating block …indicates that a block of the source medium is unreadable or corrupted. Run a check on the source medium. It reports and corrects the errors it finds. Then restart the replication.
Resolution
Once the cause has been corrected:
- Wait for the next backup, which will restart the replication.
- To avoid waiting, restart the replication from the web interface: select the medium in the list of computers, then choose
Replicate the mediumfrom the actions menu. The action is always displayed, but the server will refuse it if your account does not have theRun the media replication commandright.
Monitor progress on the dashboard, in the Outgoing replications in progress and Incoming replications in progress panels. During a replication, the medium is busy: a backup started at the same time is refused as it would be on a locked medium.
To receive a report for each replication, tick Also send replication reports in the report settings.
If the problem persists
Contact BeBackup support. Include the names of both servers, the name of the medium, the time of the failure and the full text of the message.
BeBackup is backup built for IT service providers
Backup and restore of workstations, servers, virtual machines and Microsoft 365, encrypted at source with a key we do not hold, on the hosting of your choice.