I have a linux box that backs up files from a windows share folder. When I try and do a restore I get a failure and it does not restore back to the original location. I can restore the files to the linux box. I can then copy and paste from the linux box to the folder in the windows box (so I know permissions are ok) but duplicati can’t restore to the windows box directly and in one config restores locally to the home folder.
I have tried:
-
“Restore to the original location” (overwrite and Restore read/write permissions). Result: I get a bunch of warnings. No files or folders are restored to the windows box & I get the warnings that are appended at the bottom of this message. Original location is a mounted drive /mnt/shares/share
-
Direct Restore From Backup and then choose the windows location smb:///vm/
Result: Does not restore to the windows box. However Does create a local folder in “home” called “SMB:” where the restore files are. I can then copy & paste from that folder to the exact location (smb://ip of windows box/vm/) I instructed duplicati to use via linux “File Manager”
Log 1. “Restore to the original location”
FilesRestored: 0
SizeOfRestoredFiles: 0
FoldersRestored: 364
SymlinksRestored: 0
FilesPatched: 0
FilesDeleted: 0
FoldersDeleted: 0
SymlinksDeleted: 0
MainOperation: Restore
RecreateDatabaseResults: null
ParsedResult: Warning
EndTime: 7/25/2018 10:13:06 AM (1532538786)
BeginTime: 7/25/2018 10:12:08 AM (1532538728)
Duration: 00:00:58.1593630
Messages: [ Searching backup 0 (7/23/2018 9:57:37 PM) ..., 203 remote files are required to restore, Failed to restore 9384 files ]
Warnings: [ Failed to create folder: "/mnt/shares/share/old family computer backup1/", message: Access to the path "/mnt/shares/share/old family computer backup1" is denied. => Access to the path "/mnt/shares/share/old family computer backup1" is denied., Failed to create folder: "/mnt/shares/share/old family computer backup1/webpage/", message: Access to the path "/mnt/shares/share/old family computer backup1" is denied. => Access to the path "/mnt/shares/share/old family computer backup1" is denied., Failed to create folder: "/mnt/shares/share/old family computer backup1/webpage/pics/", message: Access to the path "/mnt/shares/share/old family computer backup1" is denied. => Access to the path "/mnt/shares/share/old family computer backup1" is denied., Failed to create folder: "/mnt/shares/share/old family computer backup1/tmep/", message: Access to the path "/mnt/shares/share/old family computer backup1" is denied. => Access to the path "/mnt/shares/share/old family computer backup1" is denied., Failed to create folder: "/mnt/shares/share/old family computer backup1/tmep/Adult/", message: Access to the path "/mnt/shares/share/old family computer backup1" is denied. => Access to the path "/mnt/shares/share/old family computer backup1" is denied., ... ] Errors: [] BackendStatistics: RemoteCalls: 204
BytesUploaded: 0
BytesDownloaded: 10589793982
FilesUploaded: 0
FilesDownloaded: 203
FilesDeleted: 0
FoldersCreated: 0
RetryAttempts: 0
UnknownFileSize: 0
UnknownFileCount: 0
KnownFileCount: 407
KnownFileSize: 10598293677
LastBackupDate: 7/23/2018 2:57:37 PM (1532383057)
BackupListCount: 1
TotalQuotaSpace: 237105086464
FreeQuotaSpace: 126277029888
AssignedQuotaSpace: -1
ReportedQuotaError: False
ReportedQuotaWarning: False
ParsedResult: Success
Log of Direct Restore From Backup and then choose the windows location smb://ip of windows box/vm/
FilesRestored: 9384
SizeOfRestoredFiles: 10723735341
FoldersRestored: 364
SymlinksRestored: 0
FilesPatched: 0
FilesDeleted: 0
FoldersDeleted: 0
SymlinksDeleted: 0
MainOperation: Restore
RecreateDatabaseResults: null
ParsedResult: Warning
EndTime: 7/25/2018 10:49:27 AM (1532540967)
BeginTime: 7/25/2018 10:47:09 AM (1532540829)
Duration: 00:02:17.4678180
Messages: [ Searching backup 0 (7/23/2018 9:57:37 PM) ..., 203 remote files are required to restore ] Warnings: [ Failed to apply metadata to file: "smb://192.168.1.200/vm/old family computer backup1/tmep/pics/", message: Operation not permitted => Operation not permitted, Failed to apply metadata to file: "smb://192.168.1.200/vm/old family computer backup1/pics/05.jpg", message: Operation not permitted => Operation not permitted, Failed to apply metadata to file: "smb://192.168.1.200/vm/old family computer backup1/tmep/08.jpg", message: Operation not permitted => Operation not permitted, Failed to apply metadata to file: "smb://192.168.1.200/vm/old family computer backup1/tmep/10.jpg", message: Operation not permitted => Operation not permitted, Failed to apply metadata to file: "smb://192.168.1.200/vm/old family computer backup1/tmep/1003070893.jpg", message: Operation not permitted => Operation not permitted, ... ]
Errors: []
BackendStatistics:
RemoteCalls: 204
BytesUploaded: 0
BytesDownloaded: 10589793982
FilesUploaded: 0
FilesDownloaded: 203
FilesDeleted: 0
FoldersCreated: 0
RetryAttempts: 0
UnknownFileSize: 0
UnknownFileCount: 0
KnownFileCount: 407
KnownFileSize: 10598293677
LastBackupDate: 7/23/2018 2:57:37 PM (1532383057)
BackupListCount: 1
TotalQuotaSpace: 237105086464
FreeQuotaSpace: 126209757184
AssignedQuotaSpace: -1
ReportedQuotaError: False
ReportedQuota
Warning: False Parsed
Result: Success