Bacula-users

[Bacula-users] Restore Client

2012-11-21 12:10:16
Subject: [Bacula-users] Restore Client
From: Gary Stainburn <gary AT ringways.co DOT uk>
To: "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 21 Nov 2012 17:05:27 +0000
I have the following restore job in bacula-dir.conf

Job {
  Name = "RestoreFiles"
  Type = Restore
  Client=lou-fd                 
  FileSet="Linux Full"                  
  Storage = eddie1-File                      
  Priority = 9                   # restore has higher priority
  Pool = Default
  Messages = Standard
  Where = /user/restores
  RunScript {
    RunsWhen = After
    Command = "/etc/bacula/bacula_restore_run_after %i"
    RunsOnClient = no
  }
}

However, when I try to run a restore it always wants to restore back to the 
original client and ignores the client defined in the job.

What do I need to do to get it to always restore to lou-fd?

I'm sure that on my old 5.0.3 based server it used to work. I'm now on 5.2.11.

I've checked the client and that is fine.



*status client=lou-fd
Connecting to Client lou-fd at 10.1.1.104:9102

lou-fd Version: 5.2.11 (10 September 2012)  x86_64-redhat-linux-gnu redhat 
Miracle)
Daemon started 21-Nov-12 16:37. Jobs: run=0 running=0.
 Heap: heap=131,072 smbytes=23,797 max_bytes=23,944 bufs=61 max_bufs=62
 Sizeof: boffset_t=8 size_t=8 debug=0 trace=0 
Running Jobs:
Director connected at: 21-Nov-12 18:00
No Jobs running.
====

Terminated Jobs:
 JobId  Level    Files      Bytes   Status   Finished        Name 
======================================================================
 23962  Incr      2,097    460.3 M  OK       10-Nov-12 19:30 lou
 24111  Incr         29    30.03 M  OK       11-Nov-12 19:08 lou
 24270  Incr         34    7.137 M  OK       12-Nov-12 16:43 lou
 24271  Full      2,099    467.9 M  OK       12-Nov-12 16:53 lou
 24621  Full          2    66.30 M  Cancel   20-Nov-12 11:34 lou
 24745  Full      2,101    240.7 M  OK       20-Nov-12 11:39 lou
 24753  Incr         25    7.608 M  OK       20-Nov-12 19:05 lou
 24868  Full          1    1.579 G  OK       21-Nov-12 03:00 BackupCatalog
 24873           14,299    10.73 G  OK       21-Nov-12 15:30 RestoreFiles
====
*


-- 
Gary Stainburn
Group I.T. Manager
Ringways Garages
http://www.ringways.co.uk 

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>