Hi, folks,
Question, for those that use/have used bacula: I've been setting up backups for one team, the server on CentOS 6, but they're on Windows. If we install the director on Windows, is it possible for the users to restore files from the server to their own machine?
mark
On Mon, 9 Nov 2015, m.roth@5-cent.us wrote:
Hi, folks,
Question, for those that use/have used bacula: I've been setting up backups for one team, the server on CentOS 6, but they're on Windows. If we install the director on Windows, is it possible for the users to restore files from the server to their own machine?
Please check that I'm getting this right.
* You've got the director running on a CentOS machine. * You've got file daemons running on Windows machines. * You want to restore files from CentOS director to Windows clients.
Is that right? If so, you can restore from the director on CentOS to the file daemons on Windows without further ado.
The one bit you need to have is a separate Windows restore job, e.g.,
Job { Name = WinRestore Type = Restore Client = << i use the FD on the server here >> # .. other standard job directives .. Where = "C:/Temp/Bacula" }
Paul Heinlein wrote:
On Mon, 9 Nov 2015, m.roth@5-cent.us wrote:
Question, for those that use/have used bacula: I've been setting up backups for one team, the server on CentOS 6, but they're on Windows. If we install the director on Windows, is it possible for the users to restore files from the server to their own machine?
Please check that I'm getting this right.
- You've got the director running on a CentOS machine.
- You've got file daemons running on Windows machines.
- You want to restore files from CentOS director to Windows clients.
Is that right? If so, you can restore from the director on CentOS to the file daemons on Windows without further ado.
'Friad not. My users are saying they'd like the ability, from their Windows machines, to restore, without having to ask me to do something from the server. And they want to be able to chose the files to restore....
mark
On Tue, 10 Nov 2015, m.roth@5-cent.us wrote:
Paul Heinlein wrote:
On Mon, 9 Nov 2015, m.roth@5-cent.us wrote:
Question, for those that use/have used bacula: I've been setting up backups for one team, the server on CentOS 6, but they're on Windows. If we install the director on Windows, is it possible for the users to restore files from the server to their own machine?
Please check that I'm getting this right.
- You've got the director running on a CentOS machine.
- You've got file daemons running on Windows machines.
- You want to restore files from CentOS director to Windows clients.
Is that right? If so, you can restore from the director on CentOS to the file daemons on Windows without further ado.
'Friad not. My users are saying they'd like the ability, from their Windows machines, to restore, without having to ask me to do something from the server. And they want to be able to chose the files to restore....
My first thought is, give them a shared filesystem with snapshots so that's not necessary. :-)
My second thought is that Bacula has restricted consoles:
http://www.bacula.org/7.0.x-manuals/en/main/Console_Configuration.html
By default, a restricted console has no privileges at all, so you can give only the access it needs. I've never done such things, however, so I can't vouch for its operation.
--On Tuesday, November 10, 2015 02:14:56 PM -0500 m.roth@5-cent.us wrote:
'Friad not. My users are saying they'd like the ability, from their Windows machines, to restore, without having to ask me to do something from the server. And they want to be able to chose the files to restore....
As Paul alludes, it's not access to the director that matters. The pieces in play are:
- storage daemon (has the backups) - director (has the index / database) - file daemons (running on each machine that is being backed up) - control and monitoring consoles. (bconsole, bat, tray monitor, etc)
The thing that they need to use directly is a console. The console talks to the director which orchestrates the storage daemon and the file daemons to backup from or restore to the client in question.
So now the question is what console would be suitable to them.
bconsole is a command-line console; I've only used it from UNIX systems, I don't know if it works from Windows.
bat is a native GUI, so UNIX only.
I don't know of a Windows-based console, but I don't typically deal with Windows machines, so I'm not saying there isn't one. If there is, I suspect that it is bundled with the Windows file daemon.
I suspect your best bet is a web-based console. There are at least three: bacula-web http://www.bacula-web.org/, bweb, and a webmin module. I don't know if you can restrict users so that they can affect only their local machines; you'll need to do some research on that one.
(I will usually use bconsole or bat.)
Devin
Devin Reade wrote:
--On Tuesday, November 10, 2015 02:14:56 PM -0500 m.roth@5-cent.us wrote:
'Friad not. My users are saying they'd like the ability, from their Windows machines, to restore, without having to ask me to do something from the server. And they want to be able to chose the files to restore....
As Paul alludes, it's not access to the director that matters. The pieces in play are:
- storage daemon (has the backups)
- director (has the index / database)
- file daemons (running on each machine that is being backed up)
- control and monitoring consoles. (bconsole, bat, tray monitor, etc)
The thing that they need to use directly is a console. The console talks to the director which orchestrates the storage daemon and the file daemons to backup from or restore to the client in question.
So now the question is what console would be suitable to them.
<snip>
But is there any way for the clients to run their console, which connects to the director on the server, and tell the director on the server to restore files x,y, & z on the client's machine?
mark
Correction: this is actually about bareos, not bacula.
mark "it's been a looooong day"
--On Tuesday, November 10, 2015 05:22:51 PM -0500 m.roth@5-cent.us wrote:
But is there any way for the clients to run their console, which connects to the director on the server, and tell the director on the server to restore files x,y, & z on the client's machine?
Yes. Per Leon's email, I was wrong about bat not running under windows. So if you use that solution: 1. the user starts up the bat console on their windows box 2. bat connects to the director 3. the director tells the storage daemon and the file daemon what to restore (based on info from bat) 4. the storage daemon sends the files to the file daemon 5. the file daemon (which is running on the windows machines, in this case) writes them to the the local filesystem
Devin
Am 10.11.2015 um 22:36 schrieb Devin Reade gdr@gno.org:
bat is a native GUI, so UNIX only.
we use bat GUI on windows ...
-- LF
--On Tuesday, November 10, 2015 11:58:33 PM +0100 Leon Fauster leonfauster@googlemail.com wrote:
Am 10.11.2015 um 22:36 schrieb Devin Reade gdr@gno.org:
bat is a native GUI, so UNIX only.
we use bat GUI on windows ...
I stand corrected. So it's either install bat on each client machine or have the clients use a web browser to talk to bacula-web or some such.
Devin