Restroing a Linux server/contents to a Windows server/share?

Marc Gilliatt <[email protected]> Mon, 18 Dec 2017 11:32:20 +0000
Newsgroups gmane.comp.sysutils.backup.backuppc.devel
Message-ID <HE1P194MB0139EA6592367E39CF1B07D8BB0E0@HE1P194MB0139.EURP194.PROD.OUTLOOK.COM>
--===============6641206069733321409==
Content-Language: en-GB
Content-Type: multipart/alternative;
	boundary="_000_HE1P194MB0139EA6592367E39CF1B07D8BB0E0HE1P194MB0139EURP_"

--_000_HE1P194MB0139EA6592367E39CF1B07D8BB0E0HE1P194MB0139EURP_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I've been tasked to restore a Linux server(ukgitlab2), because one of its r=
aid drives has failed, to a Windows server(ukntmbuildarc) so the whole offi=
ce 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 who=
le office has access to it.

Every time I select restore now, I get the following error in the general l=
ogs:


2017-12-18 11:11:16 Started restore on ukntmbuildarc<http://backuppc01.dsdb=
.int/backuppc/index.cgi?host=3Dukntmbuildarc> (pid=3D41732)
2017-12-18 11:11:21 Restore failed on ukntmbuildarc<http://backuppc01.dsdb.=
int/backuppc/index.cgi?host=3Dukntmbuildarc> (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 t=
armode\ full -Tc -
full backup started for share C$
Xfer PIDs are now 41469,41468
Domain=3D[DSDAMBUSTER] OS=3D[Windows Server 2016 Standard 14393] Server=3D[=
Windows Server 2016 Standard 6.3]
tree connect failed: NT_STATUS_ACCESS_DENIED
Domain=3D[DSDAMBUSTER] OS=3D[Windows Server 2016 Standard 14393] Server=3D[=
Windows Server 2016 Standard 6.3]
tree connect failed: NT_STATUS_ACCESS_DENIED
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 f=
ilesTotal, 0 sizeTotal
Executing DumpPostUserCmd: /var/lib/backuppc/backuppc_notification.sh 0 ukn=
tmbuildarc full ukntmbuildarc ukntmbuildarc C$ smb /usr/bin/ssh DumpPostUse=
rCmd
Executing DumpPostUserCmd: /var/lib/backuppc/backuppc_notification.sh 0 ukn=
tmbuildarc full ukntmbuildarc ukntmbuildarc C$ smb /usr/bin/ssh DumpPostUse=
rCmd
Executing DumpPostUserCmd: /var/lib/backuppc/backuppc_notification.sh 0 ukn=
tmbuildarc full ukntmbuildarc ukntmbuildarc C$ smb /usr/bin/ssh DumpPostUse=
rCmd
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 t=
armode\ 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 f=
ilesTotal, 0 sizeTotal
Executing DumpPostUserCmd: /var/lib/backuppc/backuppc_notification.sh 0 ukn=
tmbuildarc full ukntmbuildarc ukntmbuildarc C$ smb /usr/bin/ssh DumpPostUse=
rCmd
Executing DumpPostUserCmd: /var/lib/backuppc/backuppc_notification.sh 0 ukn=
tmbuildarc full ukntmbuildarc ukntmbuildarc C$ smb /usr/bin/ssh DumpPostUse=
rCmd
Executing DumpPostUserCmd: /var/lib/backuppc/backuppc_notification.sh 0 ukn=
tmbuildarc full ukntmbuildarc ukntmbuildarc C$ smb /usr/bin/ssh DumpPostUse=
rCmd
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 S=
MB maybe?

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

Any help would be truly appreciated, thank you.



--_000_HE1P194MB0139EA6592367E39CF1B07D8BB0E0HE1P194MB0139EURP_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
I've been tasked to restore a Linux server(ukgitlab2), because one of its r=
aid drives&nbsp;has failed, to a Windows server(ukntmbuildarc) so the whole=
 office has access to it.</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
<br>
</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
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 who=
le office has access to it.&nbsp;</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
<br>
</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
Every time I select restore&nbsp;now, I get the following error in the gene=
ral logs:</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
<br>
</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
<pre style=3D"color: rgb(0, 0, 0); font-size: 13.3333px;">2017-12-18 11:11:=
16 Started restore on <a href=3D"http://backuppc01.dsdb.int/backuppc/index.=
cgi?host=3Dukntmbuildarc" style=3D"font-family: tahoma, arial, sans-serif, =
helvetica; color: rgb(51, 51, 255);">ukntmbuildarc</a> (pid=3D41732)=0A=
2017-12-18 11:11:21 Restore failed on <a href=3D"http://backuppc01.dsdb.int=
/backuppc/index.cgi?host=3Dukntmbuildarc" style=3D"font-family: tahoma, ari=
al, sans-serif, helvetica; color: rgb(51, 51, 255);">ukntmbuildarc</a> (Bac=
kupPC_tarCreate failed)</pre>
<br>
</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
<p style=3D"color: rgb(0, 0, 0); font-family: tahoma, arial, sans-serif, he=
lvetica; font-size: 13.3333px;">
Contents of file&nbsp;<tt>/var/lib/backuppc/pc/ukntmbuildarc/XferLOG.bad.z<=
/tt>, modified 2017-12-18 11:01:00</p>
<pre style=3D"color: rgb(0, 0, 0); font-size: 13.3333px;">Running: /usr/bin=
/smbclient \\\\ukntmbuildarc\\C\$ -U backuppc -E -d 1 -c tarmode\ full -Tc =
-=0A=
full backup started for share C$=0A=
Xfer PIDs are now 41469,41468=0A=
Domain=3D[DSDAMBUSTER] OS=3D[Windows Server 2016 Standard 14393] Server=3D[=
Windows Server 2016 Standard 6.3]=0A=
tree connect failed: NT_STATUS_ACCESS_DENIED=0A=
Domain=3D[DSDAMBUSTER] OS=3D[Windows Server 2016 Standard 14393] Server=3D[=
Windows Server 2016 Standard 6.3]=0A=
tree connect failed: NT_STATUS_ACCESS_DENIED=0A=
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 f=
ilesTotal, 0 sizeTotal=0A=
Executing DumpPostUserCmd: /var/lib/backuppc/backuppc_notification.sh 0 ukn=
tmbuildarc full ukntmbuildarc ukntmbuildarc C$ smb /usr/bin/ssh DumpPostUse=
rCmd=0A=
Executing DumpPostUserCmd: /var/lib/backuppc/backuppc_notification.sh 0 ukn=
tmbuildarc full ukntmbuildarc ukntmbuildarc C$ smb /usr/bin/ssh DumpPostUse=
rCmd=0A=
Executing DumpPostUserCmd: /var/lib/backuppc/backuppc_notification.sh 0 ukn=
tmbuildarc full ukntmbuildarc ukntmbuildarc C$ smb /usr/bin/ssh DumpPostUse=
rCmd=0A=
exiting after signal INT=0A=
Not saving this as a partial backup since it has fewer files than the prior=
 one (got 0 and 0 files versus 0)</pre>
<br>
</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
<p style=3D"color: rgb(0, 0, 0); font-family: tahoma, arial, sans-serif, he=
lvetica; font-size: 13.3333px;">
Contents of file&nbsp;<tt>/var/lib/backuppc/pc/ukntmbuildarc/XferLOG.bad.z<=
/tt>, modified 2017-12-18 11:01:00 (Extracting only Errors)</p>
<pre style=3D"color: rgb(0, 0, 0); font-size: 13.3333px;">Running: /usr/bin=
/smbclient \\\\ukntmbuildarc\\C\$ -U backuppc -E -d 1 -c tarmode\ full -Tc =
-=0A=
full backup started for share C$=0A=
Xfer PIDs are now 41469,41468=0A=
[ skipped 1 lines ]=0A=
tree connect failed: NT_STATUS_ACCESS_DENIED=0A=
[ skipped 1 lines ]=0A=
tree connect failed: NT_STATUS_ACCESS_DENIED=0A=
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 f=
ilesTotal, 0 sizeTotal=0A=
Executing DumpPostUserCmd: /var/lib/backuppc/backuppc_notification.sh 0 ukn=
tmbuildarc full ukntmbuildarc ukntmbuildarc C$ smb /usr/bin/ssh DumpPostUse=
rCmd=0A=
Executing DumpPostUserCmd: /var/lib/backuppc/backuppc_notification.sh 0 ukn=
tmbuildarc full ukntmbuildarc ukntmbuildarc C$ smb /usr/bin/ssh DumpPostUse=
rCmd=0A=
Executing DumpPostUserCmd: /var/lib/backuppc/backuppc_notification.sh 0 ukn=
tmbuildarc full ukntmbuildarc ukntmbuildarc C$ smb /usr/bin/ssh DumpPostUse=
rCmd=0A=
exiting after signal INT=0A=
Not saving this as a partial backup since it has fewer files than the prior=
 one (got 0 and 0 files versus 0)</pre>
<br>
</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
I tried to do a full backup on&nbsp;ukntmbuildarc to see if BackupPC has ac=
cess to it, and it did perform a full backup of it. So it has access to it.=
&nbsp;</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
<br>
</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
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&nbsp;to a&nbsp; Windows serve=
r is via SMB maybe?</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
<br>
</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
I'm&nbsp;not sure on what configuration changes I need to make in order to =
restore a Linux server/contents to a Windows server/share?</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
<br>
</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
Any help would be truly appreciated, thank you.&nbsp;</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
<br>
</div>
<div style=3D"font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;=
 color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">
<br>
</div>
</body>
</html>

--_000_HE1P194MB0139EA6592367E39CF1B07D8BB0E0HE1P194MB0139EURP_--


--===============6641206069733321409==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--===============6641206069733321409==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
BackupPC-devel mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-devel
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

--===============6641206069733321409==--