Re: [Bacula-users] Could not connect to server Director daemon ....

2015-06-23 Thread olx69
Am 18.06.2015 um 16:13 schrieb olx69:
 Hello Ana,

 Sorry I'm late in this post.
 It seems there is still some password mismatching problems. Could you
 post your resources definitions for monitor (in bacula-dir.conf,
 bacula-fd.conf and bacula-sd.conf) and your tray-monitor.conf?

 thank you for investigating! attached the files,

no idea? Here the reduced password related part. Imo all is correct, 
isn't it?


---bacula-traymon.conf--
Monitor {
   Name = bacula-tux64-mon
   Password = MON_DIR_PASSWORD # password for the Directors
   RefreshInterval = 3 seconds
}
Client {
   Name = bacula-tux64-fd
   Address = tux64.home.lan
   Password = MON_FD_PASSWORD  # password for FileDaemon
}
Storage {
   Name = bacula-tux64-sd
   Address = tux64.home.lan
   Password = MON_SD_PASSWORD  # password for StorageDaemon
}
Director {
   Name = bacula-tux64-dir
   Address = tux64.home.lan
}
bacula-dir-full.conf
Director {
   Name = bacula-tux64-dir
   Password = DIR_PASSWORD# BConsole password

}
Console {
   Name = bacula-tux64-mon
   Password = MON_DIR_PASSWORD
...
}
Client {
   Name = bacula-tux64-fd
   Password = FD_PASSWORD# password for FileDaemon
...
}
-bacula-fd-full.conf-
Director {
   Name = bacula-tux64-dir
   Password = FD_PASSWORD
}
Director {
   Name = bacula-tux64-mon
   Password = MON_FD_PASSWORD
}
bacula-sd-full.conf-
Director {
   Name = bacula-tux64-dir
   Password = SD_PASSWORD
}
Director {
   Name = bacula-tux64-mon
   Password = MON_SD_PASSWORD
...
}

--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical  virtual servers, alerts via email  sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Loading file listings from old tapes

2015-06-23 Thread Michael Schwager
Greetings Baculans,
We are running Bacula on Centos 6.5, which means Bacula 5.0.0. Over the
past 9 months I had been backing up files with File and Job Retention
periods in the Client resource of bacula-dir.conf of 60 days. So our old
file listings have been pruned, but I need them back. How do I do it?

I have changed the retention periods to 12 months, and I have done some
bscan's of some old tapes. I thought that would repopulate my database with
the file names, but it has not. echo list jobs jobid=190 | bconsole
returns No results to list. on a backup with 49,731 JobFiles.

Any suggestions about how to perform this would be appreciated. Thanks.

We are backing up a number of critical log files that are necessary to
recover quickly, accurately, and easily. I was tasked with making restores
so easy even a monkey can do it. So I'm trying to create a document for
my coworkers: The Chimp's Guide to Restores.

My thinking is to create a process so that a user could

   - Give a file's basename, or substring that is part of a pathname, or a
   regular expression that matches a file's pathname string.
   - Give a date range from within which we want to restore the file.
   - Give where to put the file.

and then they would be presented with a tape to load for the restore, and-
voila'! File restored. My idea is to save all job file listings into files
by job id, then I can use UNIX tools to scour them as required.

*- Mike Schwager*

*  Linux Network Engineer, Mocho Trading LLC*
*  312-646-4783 Phone312-637-0011 Cell312-957-9804 Fax*

-- 
This message is for the named person(s) use only. It may contain 
confidential proprietary or legally privileged information. No 
confidentiality or privilege is waived or lost by any mistransmission. If 
you receive this message in error, please immediately delete it and all 
copies of it from your system, destroy any hard copies of it and notify the 
sender. You must not, directly or indirectly use, disclose, distribute, 
print, or copy any part of this message if you are not the intended 
recipient. Mocho Trading LLC reserves the right to monitor all e-mail 
communications through its networks. Any views expressed in this message 
are those of the individual sender, except where the message states 
otherwise and the sender is authorized to state them to be the views of any 
such entity.
--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical  virtual servers, alerts via email  sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Loading file listings from old tapes

2015-06-23 Thread Heitor Faria
 Greetings Baculans,
 We are running Bacula on Centos 6.5, which means Bacula 5.0.0. Over the past 9
 months I had been backing up files with File and Job Retention periods in the
 Client resource of bacula-dir.conf of 60 days. So our old file listings have
 been pruned, but I need them back. How do I do it?

 I have changed the retention periods to 12 months, and I have done some 
 bscan's
 of some old tapes. I thought that would repopulate my database with the file
 names, but it has not. echo list jobs jobid=190 | bconsole returns No
 results to list. on a backup with 49,731 JobFiles.

 Any suggestions about how to perform this would be appreciated. Thanks.

Hello Michael: bscan when restoring jobs perform that to another different and 
new JobID. Please check the logs. 

 We are backing up a number of critical log files that are necessary to recover
 quickly, accurately, and easily. I was tasked with making restores so easy
 even a monkey can do it. So I'm trying to create a document for my 
 coworkers:
 The Chimp's Guide to Restores.

bscan and bextract are disaster recovery tools. I would not use them as regular 
restore procedures. 

 My thinking is to create a process so that a user could

* Give a file's basename, or substring that is part of a pathname, or a 
 regular
 expression that matches a file's pathname string.
 * Give a date range from within which we want to restore the file.
 * Give where to put the file.

 and then they would be presented with a tape to load for the restore, and-
 voila'! File restored. My idea is to save all job file listings into files by
 job id, then I can use UNIX tools to scour them as required.

Regards, 
== 
Heitor Medrado de Faria - LPIC-III | ITIL-F | Bacula Systems Certified 
Administrator II 
Do you need Bacula training? 
https://www.udemy.com/bacula-backup-software/?couponCode=bacula-list 
+55 61 8268-4220 
Site: http://bacula.us FB: heitor.faria 
=== 

 - Mike Schwager
 Linux Network Engineer, Mocho Trading LLC
 312-646-4783 Phone 312-637-0011 Cell 312-957-9804 Fax

 This message is for the named person(s) use only. It may contain confidential
 proprietary or legally privileged information. No confidentiality or privilege
 is waived or lost by any mistransmission. If you receive this message in 
 error,
 please immediately delete it and all copies of it from your system, destroy 
 any
 hard copies of it and notify the sender. You must not, directly or indirectly
 use, disclose, distribute, print, or copy any part of this message if you are
 not the intended recipient. Mocho Trading LLC reserves the right to monitor 
 all
 e-mail communications through its networks. Any views expressed in this 
 message
 are those of the individual sender, except where the message states otherwise
 and the sender is authorized to state them to be the views of any such entity.
 --
 Monitor 25 network devices or servers for free with OpManager!
 OpManager is web-based network management software that monitors
 network devices and physical  virtual servers, alerts via email  sms
 for fault. Monitor 25 devices for free with no restriction. Download now
 http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical  virtual servers, alerts via email  sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Fwd: Loading file listings from old tapes

2015-06-23 Thread John Drescher
-- Forwarded message --
From: John Drescher dresche...@gmail.com
Date: Tue, Jun 23, 2015 at 1:19 PM
Subject: Re: [Bacula-users] Loading file listings from old tapes
To: Michael Schwager mschwa...@mochotrading.com


On Tue, Jun 23, 2015 at 12:37 PM, Michael Schwager
mschwa...@mochotrading.com wrote:
 Greetings Baculans,
 We are running Bacula on Centos 6.5, which means Bacula 5.0.0. Over the past
 9 months I had been backing up files with File and Job Retention periods in
 the Client resource of bacula-dir.conf of 60 days. So our old file listings
 have been pruned, but I need them back. How do I do it?

bscan will pull the records back into the database. Make sure you
update your retention period first so it does not prune right after
the scan.

Also bls will give you a listing without putting the info back into
the database.

See the manual:
http://www.bacula.org/5.0.x-manuals/en/utility/utility/Volume_Utility_Tools.html

John


-- 
John M. Drescher

--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical  virtual servers, alerts via email  sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Loading file listings from old tapes

2015-06-23 Thread Michael Schwager
On Tue, Jun 23, 2015 at 12:20 PM, Heitor Faria hei...@bacula.com.br wrote:

 I have changed the retention periods to 12 months, and I have done some
 bscan's of some old tapes. I thought that would repopulate my database with
 the file names, but it has not. echo list jobs jobid=190 | bconsole
 returns No results to list. on a backup with 49,731 JobFiles.

 Any suggestions about how to perform this would be appreciated. Thanks.

 Hello Michael: bscan when restoring jobs perform that to another different
 and new JobID. Please check the logs.


​I have checked the logs and don't see anything new. This is what I see
when I list jobs in bconsole. These are my backups from this morning:

| 943 | BackupFScluster  | 2015-06-23 06:05:02 | B  | I |  958 |
114,308,858,302 | T  |
| 944 | BackupCatalog| 2015-06-23 07:03:40 | B  | F |1 |
973,597,054 | T  |
+-+--+---
--++---+--+-++​

 We are backing up a number of critical log files that are necessary to
 recover quickly, accurately, and easily. I was tasked with making restores
 so easy even a monkey can do it. So I'm trying to create a document for
 my coworkers: The Chimp's Guide to Restores.

 bscan and bextract are disaster recovery tools. I would not use them as
 regular restore procedures.


I agree. I am trying to recreate​ my database, not use bscan or bextract.
If there is another way to recreate my database, could you let me know what
that is? Thanks.


*- Mike Schwager*

*  Linux Network Engineer, Mocho Trading LLC*
*  312-646-4783 Phone312-637-0011 Cell312-957-9804 Fax*

-- 
This message is for the named person(s) use only. It may contain 
confidential proprietary or legally privileged information. No 
confidentiality or privilege is waived or lost by any mistransmission. If 
you receive this message in error, please immediately delete it and all 
copies of it from your system, destroy any hard copies of it and notify the 
sender. You must not, directly or indirectly use, disclose, distribute, 
print, or copy any part of this message if you are not the intended 
recipient. Mocho Trading LLC reserves the right to monitor all e-mail 
communications through its networks. Any views expressed in this message 
are those of the individual sender, except where the message states 
otherwise and the sender is authorized to state them to be the views of any 
such entity.
--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical  virtual servers, alerts via email  sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Compiling FD 7.0.5 on Solaris 11.2 x86_64

2015-06-23 Thread Mark Burgess
Greetings,

we are attempting to compile Bacula FD 7.0.5 on Solaris 11.2 x86_64. When 
running the .configure we get the following error message:

Doing make of dependencies
==Entering directory /stage/Solaris11_Repository/bacula/bacula-7.0.5/src
==Entering directory /stage/Solaris11_Repository/bacula/bacula-7.0.5/scripts
==Entering directory /stage/Solaris11_Repository/bacula/bacula-7.0.5/src/lib
mksh: Fatal error in reader: = missing from replacement macro reference
Current working directory 
/stage/Solaris11_Repository/bacula/bacula-7.0.5/src/lib
*** Error code 1
The following command caused the error:
for I in src scripts src/lib src/findlib src/filed  src/console src/plugins/fd  
manpages; \
  do (cd $I; echo ==Entering directory `pwd`; make DESTDIR= depend || exit 
1); done
make: Fatal error: Command failed for target `depend'
chmod: WARNING: can't access storage-ctl
chmod: WARNING: can't access bsg_persist

..

Configure options as follows:

CFLAGS=-g ./configure   --sbindir=/opt/bacula/bin   
--sysconfdir=/opt/bacula/etc --enable-smartalloc   
--with-pid-dir=/opt/bacula/working   --with-subsys-dir=/opt/bacula/working   
--with-working-dir=/opt/bacula/working   --enable-client-only 
--disable-build-dird --disable-build-stored

..

I am not sure if I am missing something for the pre reqs on Solaris. Any 
suggestions or help would be greatly appreciated.

Regards,

Mark


--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical  virtual servers, alerts via email  sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users