Hello,

I suspect that you need the Enterprise version of Bacula, which is designed to work the way you indicate.  To the best of my knowledge that functionality is not in the community version (though I might have accidentally back ported it).  It is a feature that will very likely be supported by the community version at some future date.  Please note that even if there is code to do this today, you will be on your own with the community version since it is not at this time an officially supported feature.

Best regards,
Kern

On 05/30/2018 05:03 PM, Rodrigo Verissimo wrote:
Hello, Thank you, and sorry for not giving any update in a timely fashion.
I tried to supply ALL parameters as indicated on the console.pdf doc.
Unfortunately, nothing happens.

FYI, I use the v 7.4.4 MS Windows client
Just to summarize for any of you that catch this thread now :
The goal is to perform a restore from the client, using the tray monitor and bcmd file, the same way as a client initated backup, to bypass NAT and not require a VPN

I also tested with the Windows bconsole client in such a manner that the bconsole connects to the localhost client-fd instead of the director (to replicate the client initated backup connection scheme)
and maybe obtain some detailed debug information, but it does not work too. (as if the restore command was not implemented)

If it should work with the tray that may mean that I supplied bad parameters/values for the restore command. Any detailed info on the values required would be nice (I assume all the ID are in the director/sd conf file)
Also, Any idea on how to enable real verbose debugging of tray/bconsole operation (for the moment my only way is to lookup the source code for hints)

And if it is not supposed to work, then it means that a VPN is required for restores, I suppose... and since restores are more rare than backups, that would make sense,
but it would nevertheless be a nice feature to have.

Any ideas ?


2018-04-26 13:30 GMT+02:00 Radosław Korzeniewski <rados...@korzeniewski.net>:
Hello,

2018-04-26 13:03 GMT+02:00 Rodrigo Verissimo <rod...@gmail.com>:
Hello, I have successfully implemented client initiated backup in a Windows test environment.
I tested the processing of a bcmd file containing the following command "nameofclient-fd: run job=backupjob level=incremental"

Works very well.

Now I am trying to do a client-initiated restore by using the  "nameofclient-fd: restore client=nameofclient-fd select current all done yes" in the same way I do backups.

I think you should provide all required restore parameters like fileset=..., etc.
I never tried it in this case, but I managed a lot of full automatic restore commands by scripts and when I forget to set some required parameter the restore wont start.

best regards
--
Radosław Korzeniewski
rados...@korzeniewski.net



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to