Unable to restore from backup: timeout

I am trying to restore samba/ad from my restic backup but the operation results in a timeout.

The system contains a performant Samsung 990 Pro SSD. I don’t see any significant IO wait. Could it be timing out because it must download the backup from B2?

renamed 'restore/private' -> './private'
renamed 'restore/state/sysvol' -> './sysvol'
renamed 'restore/state/account_policy.tdb' -> './account_policy.tdb'
renamed 'restore/state/registry.tdb' -> './registry.tdb'
renamed 'restore/state/share_info.tdb' -> './share_info.tdb'
renamed 'restore/state/winbindd_cache.tdb' -> './winbindd_cache.tdb'
removed 'restore/backup.txt'
removed 'restore/state/syslog-ng/syslog-ng-disk-buffer.dirlock'
removed 'restore/state/syslog-ng/syslog-ng-00000.qf'
removed 'restore/state/syslog-ng/syslog-ng-00001.qf'
removed 'restore/state/syslog-ng/syslog-ng-00002.qf'
removed 'restore/state/syslog-ng/syslog-ng-00003.qf'
removed directory 'restore/state/syslog-ng'
removed directory 'restore/state'
removed 'restore/etc/gdbcommands'
removed 'restore/etc/include.conf'
removed 'restore/etc/smb.conf.distro'
removed 'restore/etc/smb.conf'
removed 'restore/etc/smb.conf.orig'
removed directory 'restore/etc'
removed 'restore/gencache.tdb'
removed directory 'restore'
removed 'backup/HawkSoft.plocate'
removed 'backup/samba-backup.tar.bz2'
removed 'backup/Scans.plocate'
removed 'backup/Shared-Files.plocate'
removed directory 'backup'
Created symlink /home/samba3/.config/systemd/user/default.target.wants/samba-dc.service → /home/samba3/.config/systemd/user/samba-dc.service.
Job for samba-dc.service failed because a timeout was exceeded.
See "systemctl --user status samba-dc.service" and "journalctl --user -xeu samba-dc.service" for details.

It seems the restore finished but the samba-dc service isn’t starting in time.

You could try to restart the samba-dc container:

runagent -m samba3 systemctl --user restart samba-dc

Please also check the (samba3) logs, see System logs — NS8 documentation

1 Like