I've been tasked to restore a Linux server(ukgitlab2), because one of its raid 
drives has failed, to a Windows server(ukntmbuildarc) so the whole office has 
access to it.

I went into ukgitlab2 browse backups page in BackupPC, and selected all the 
files to restore and then selected ukntmbuildarc to where I want it to be 
restored too. There's a share on ukntmbuildarc called /ukgitlab2 so the whole 
office has access to it.

Every time I select restore now, I get the following error in the general logs:


2017-12-18 11:11:16 Started restore on 
ukntmbuildarc<http://backuppc01.dsdb.int/backuppc/index.cgi?host=ukntmbuildarc> 
(pid=41732)
2017-12-18 11:11:21 Restore failed on 
ukntmbuildarc<http://backuppc01.dsdb.int/backuppc/index.cgi?host=ukntmbuildarc> 
(BackupPC_tarCreate failed)


Contents of file /var/lib/backuppc/pc/ukntmbuildarc/XferLOG.bad.z, modified 
2017-12-18 11:01:00

Running: /usr/bin/smbclient \\\\ukntmbuildarc\\C\$ -U backuppc -E -d 1 -c 
tarmode\ full -Tc -
full backup started for share C$
Xfer PIDs are now 41469,41468
Domain=[DSDAMBUSTER] OS=[Windows Server 2016 Standard 14393] Server=[Windows 
Server 2016 Standard 6.3]
tree connect failed: NT_STATUS_ACCESS_DENIED
Domain=[DSDAMBUSTER] OS=[Windows Server 2016 Standard 14393] Server=[Windows 
Server 2016 Standard 6.3]
tree connect failed: NT_STATUS_ACCESS_DENIED
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 
filesTotal, 0 sizeTotal
Executing DumpPostUserCmd: /var/lib/backuppc/backuppc_notification.sh 0 
ukntmbuildarc full ukntmbuildarc ukntmbuildarc C$ smb /usr/bin/ssh 
DumpPostUserCmd
Executing DumpPostUserCmd: /var/lib/backuppc/backuppc_notification.sh 0 
ukntmbuildarc full ukntmbuildarc ukntmbuildarc C$ smb /usr/bin/ssh 
DumpPostUserCmd
Executing DumpPostUserCmd: /var/lib/backuppc/backuppc_notification.sh 0 
ukntmbuildarc full ukntmbuildarc ukntmbuildarc C$ smb /usr/bin/ssh 
DumpPostUserCmd
exiting after signal INT
Not saving this as a partial backup since it has fewer files than the prior one 
(got 0 and 0 files versus 0)


Contents of file /var/lib/backuppc/pc/ukntmbuildarc/XferLOG.bad.z, modified 
2017-12-18 11:01:00 (Extracting only Errors)

Running: /usr/bin/smbclient \\\\ukntmbuildarc\\C\$ -U backuppc -E -d 1 -c 
tarmode\ full -Tc -
full backup started for share C$
Xfer PIDs are now 41469,41468
[ skipped 1 lines ]
tree connect failed: NT_STATUS_ACCESS_DENIED
[ skipped 1 lines ]
tree connect failed: NT_STATUS_ACCESS_DENIED
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 
filesTotal, 0 sizeTotal
Executing DumpPostUserCmd: /var/lib/backuppc/backuppc_notification.sh 0 
ukntmbuildarc full ukntmbuildarc ukntmbuildarc C$ smb /usr/bin/ssh 
DumpPostUserCmd
Executing DumpPostUserCmd: /var/lib/backuppc/backuppc_notification.sh 0 
ukntmbuildarc full ukntmbuildarc ukntmbuildarc C$ smb /usr/bin/ssh 
DumpPostUserCmd
Executing DumpPostUserCmd: /var/lib/backuppc/backuppc_notification.sh 0 
ukntmbuildarc full ukntmbuildarc ukntmbuildarc C$ smb /usr/bin/ssh 
DumpPostUserCmd
exiting after signal INT
Not saving this as a partial backup since it has fewer files than the prior one 
(got 0 and 0 files versus 0)

I tried to do a full backup on ukntmbuildarc to see if BackupPC has access to 
it, and it did perform a full backup of it. So it has access to it.

I tried restoring ukgitlab2 to a Linux server instead of a Windows server, and 
the restore worked perfeclty! So is this because I backed up ukgitlab2 using 
rsync, and the only way you can restore to a  Windows server is via SMB maybe?

I'm not sure on what configuration changes I need to make in order to restore a 
Linux server/contents to a Windows server/share?

Any help would be truly appreciated, thank you.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BackupPC-devel mailing list
BackupPC-devel@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-devel
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to