Discussion:
[bareos-users] File relocation bug at restore?
Alejandro Hamann
2018-11-21 19:41:21 UTC
Permalink
Scenario:
Client: fs1-fd
Version: 18.2.4rc1 win64
Fileset: "E:\BackupDICOM-1"
The backup was completed Ok with warning.

Then I perform the restoration of some folders:
=================================================================
bconsole
* restore client = "fs1-fd" jobid = 2 restoreclient = "fs1-fd"

<Here, interactively select folders and / or files to restore>
=================================================================


But the problem is that it is not restored to the original location, but to a subfolder called "E"; that is, the restored folders and files are written to: "E:\E\BackupDICOM-1\" instead of: "E:\BackupDICOM-1\"

So, I try to "fix" that, using "regexwhere", as follows:
=================================================================
bconsole
* restore client = "fs1-fd" jobid = 2 restoreclient = "fs1-fd" regexwhere = "! E: \ E! E :!"
=================================================================


And finally, with this I manage to restore to the original location.
But, even though the folders and files are restored correctly, Bareos reports that the job was completed with error. As shown:
=================================================================
Build OS: Linux-4.4.92-6.18-default debian Debian GNU/Linux 9.5 (stretch)
JobId: 57
Job: RestoreFiles.2018-11-21_15.36.03_27
Restore Client: hu-fs1-fd usando BackupDICOM
Start time: 21-Nov-2018 15:36:05
End time: 21-Nov-2018 15:52:58
Elapsed time: 16 mins 53 secs
Files Expected: 5,710
Files Restored: 5,710
Bytes Restored: 2,080,287,864
Rate: 2053.6 KB/s
FD Errors: 1
FD termination status: Error
SD termination status: OK
Termination: *** Restore Error ***
=================================================================


Is it a bug?

Why Bareos does not restore to the original location?

Why when do I use "regexwhere", Bareos reports error when there is really no error?


Thanks!
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...