Re: [Bacula-users] Bacula director won't talk to storage director
Hi, 22.10.2007 06:39,, dracclc wrote:: > Trying to setup a bacula server for a project. We setup bacula on ubuntu > 7.10, using the ububacula script, available at > http://freshmeat.net/projects/ububacula/. Our problem right now is when we > try to connect to the Storage Daemon File we get an error message: > Automatically selected Storage: File > Connecting to Storage daemon File at 192.168.7.155:9103 > > Failed to connect to Storage daemon File. > > * > 21-Oct 20:21 bacula-t238-dir: *Console*.2007-10-21_20.20.53 Fatal error: > bnet.c:870 Unable to connect to Storage daemon on 192.168.7.155:9103. > ERR=Connection refused This indicates that, most probably, the SD is not running, is not listening on the port you connect to, or the connection is blocked by a firewall in between. > Things we've tried: > 1. Changed passwords on all bacula-*.conf files to the same thing Good thing for testing, but Bacula doesn't get to that step now. > 2. Tried using the following commands to check our syntax, it didn't like > any of the conf files except bconsole.conf > [EMAIL PROTECTED]:/home/drac# /usr/bin/bconsole -t -c bacula-fd.conf21-Oct > 20:25 bconsole: ERROR TERMINATION at parse_conf.c:847 > Config error: expected resource name, got: FileDaemon > : line 31, col 11 of file /etc/bacula/bacula-fd.conf > FileDaemon { # this is me Yeah, you need the FD to check the FD configuration file, and so on. > [EMAIL PROTECTED]:/home/drac# /usr/bin/bconsole -t -c bacula-dir.conf21-Oct > 20:26 bconsole: ERROR TERMINATION at parse_conf.c:884 > Config error: Keyword "QueryFile" not permitted in this resource. > Perhaps you left the trailing brace off of the previous resource. > : line 18, col 12 of file /etc/bacula/bacula-dir.conf > QueryFile = "/etc/bacula/scripts/query.sql" > > > 3. We've rebooted the server, rerun the startup scripts after editing the > conf files > 4. Searched google and these forums > 5. Edited our /etc/hosts file > 6. Netstat output > [EMAIL PROTECTED]:/var/log/bacula# netstat -tap > Active Internet connections (servers and established) > Proto Recv-Q Send-Q Local Address Foreign Address State > > PID/Program name > tcp0 0 localhost:mysql *:* LISTEN > 4059/mysqld > tcp0 0 localhost:bacula-dir*:* LISTEN > 5176/bacula-dir > tcp0 0 localhost:bacula-fd *:* LISTEN > 5151/bacula-fd > tcp0 0 localhost:bacula-sd *:* LISTEN > 5103/bacula-sd Ok, all components are listening. That's a good start. Unfurtunately, they are only listening on the lo interface, which won't work once you add networked clients to the setup. So, even if, theoretically, you could run such a setup, I wouldn't recommend it. > tcp0 0 localhost:smtp *:* LISTEN > 4359/exim4 > tcp6 0 0 *:www *:* LISTEN > 4430/apache2 > tcp6 0 0 *:ssh *:* LISTEN > 3965/sshd > tcp6 0 0 bacula-t238:ssh :::192.168.7.:45212 > ESTABLISHED4490/sshd: drac [pr > tcp6 0 0 bacula-t238:ssh :::192.168.7.:45213 > ESTABLISHED4509/sshd: drac [pr > > [EMAIL PROTECTED]:/var/log/bacula# netstat -an > Active Internet connections (servers and established) > Proto Recv-Q Send-Q Local Address Foreign Address State > > tcp0 0 127.0.0.1:3306 0.0.0.0:* LISTEN > > tcp0 0 127.0.0.1:9101 0.0.0.0:* LISTEN > > tcp0 0 127.0.0.1:9102 0.0.0.0:* LISTEN > > tcp0 0 127.0.0.1:9103 0.0.0.0:* LISTEN > > tcp0 0 127.0.0.1:250.0.0.0:* LISTEN > > tcp6 0 0 :::80 :::*LISTEN > > tcp6 0 0 :::22 :::*LISTEN > > 7. I ran nmap against the server and the only ports open are 22 and 80. > Don't know if that helps at all, but right now i'm just just trying to > connect locally. Currently, none of the Bacula daemons are listening on the network, so you shouldn't see them with nmap. That is correct. > That all I can remember right now, here's the bacula director and storage > director files > # > # Default Bacula Director Configuration file > # > # The only thing that MUST be changed is to add one or more > # file or directory names in the Include directive of the > # FileSet resource. > # > # For Bacula release 2.0.3 (06 March 2007) -- debian lenny/sid > # > # You might also want to change the default email address > # from root to your address. S
Re: [Bacula-users] Weekly Full set to used and not Append what have I set wrong?
Hello, > Hello, > > 21.10.2007 23:22,, GDS.Marshall wrote:: >> Hello Arno, >> >>> Hi, >>> >>> 21.10.2007 00:28,, GDS.Marshall wrote:: Hello, I have looked through the archives and the documentation, but can not find an answer to my problem. >>> I think I know the answer, and am quite sure it is in the manual, too >>> :-) >>> Using 2.2.4 (patched from sourceforge), I have the following pools Pool { Name = Weekly Pool Type = Backup Auto Prune = yes Volume Retention = 30 days Recycle = yes Recycle Oldest Volume = yes Cleaning Prefix = "CLN" } Pool { Name = Daily Pool Type = Backup Auto Prune = yes Volume Retention = 10 days Maximum Volumes = 10 Recycle = yes Recycle Oldest Volume = yes Cleaning Prefix = "CLN" } The following job definition is used JobDefs { Name = "DailyJob" Type = "Backup" Level = "Incremental" Pool = "Daily" Full Backup Pool = "Weekly" FileSet = "Full Set" Messages = "Standard" Schedule = "Weekly Full" Storage = "Tape" Priority = 10 Spool Data = Yes Spool Attributes = yes Maximum Concurrent Jobs = 20 } The following schedule Schedule { Name = "Weekly Full" Run = Level=Full Pool=Weekly sat at 3:00 Run = Level=Incremental Pool=Daily FullPool=Weekly mon-fri at 3:00 } list media gives | 18 | CNI907 | Used | 1 | 23,790,348,288 | 23 |1,728,000 | 1 |2 | 1 | DLT-V4| 2007-10-20 21:19:37 | sql gives | MediaId | VolumeName | Slot | PoolId | MediaType | MediaTypeId | LabelType | FirstWritten| LastWritten | LabelDate | VolJobs | VolFiles | VolBlocks | VolMounts | VolBytes| VolParts | VolErrors | VolWrites | VolCapacityBytes | VolStatus | Enabled | Recycle | VolRetention | VolUseDuration | MaxVolJobs | MaxVolFiles | MaxVolBytes | >>> ^^ InChanger | StorageId | DeviceId | MediaAddressing | VolReadTime | VolWriteTime | EndFile | EndBlock | LocationId | RecycleCount | InitialWrite| ScratchPoolId | RecyclePoolId | Comment | +-++--++---+-+---+-+-+-+-+--+---+---+-+--+---+---+--+---+-+-+--+++-+-+---+---+--+-+-+--+-+--++--+-+---+---+-+ | 18 | CNI907 |2 | 4 | DLT-V4| 0 | 0 | 2007-10-20 19:48:00 | 2007-10-20 21:19:37 | 2007-10-20 19:51:50 | 9 | 23 |368773 | 7 | 23790348288 |0 | 0 |773429 |0 | Used | 1 | 1 | 1728000 | 86400 | 0 | 0 | 0 | >>> ^ 1 | 2 |0 | 0 | 0 | 1333403394 | 23 |12273 | 0 |4 | -00-00 00:00:00 | 0 | 4 | NULL| +-++--++---+-+---+-+-+-+-+--+---+---+-+--+---+---+--+---+-+-+--+++-+-+---+---+--+-+-+--+-+--++--+-+---+---+-+ 1 row in set (0.12 sec) In order to get more than one job to write to the same tape when doing a Level=Full, I have to update the volstatus to append by hand. >>> You've got a volume use duration set for this volume. This is probably >>> due to that volume being created with a pool definition containing >>> this clause, or by being updated manually to this. >> Yes, the use duration is set to 1 day. I want to be able to append to >> tapes all day. The FirstWritten date is not over 1 day, so under the >> circumstances, I would not have expected the volstatus to be changed. > > Hmmm... good point. The fun with different time zones - I just used my > local time then and found that your use time was over. Probably it was > not when the job in question ran. My other thought was MaxVolJobs but that is set to 0. At the time the job in question ran, it was
[Bacula-users] File size from backup needed. Where?
Hi fellow Bacula Users, We have a issue that a backup for a client suddenly has increased from 50 GB to 200GB at one client. In order to check the file(s) who are causing this, I'm checking my incremental backups to see what is causing this problems. However, I don't seem to be able to find that in the database. If you restore a file, there is a filesize, so it seems logical to me that it is there. However, I can't find it. My question: how can I select all filesizes for a certain Job/Client in the database or bconsole? Kind regards from Rotterdam, NL! Diederik de Vries - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] /SBIN and mount command
Hi all, I'm using a USB external HD as a storage device; because of that I need to use a RequireMount, MountPoint and so on directives. I'm using FreeBSD system and mount and umount commands are in /sbin/; standards users (as bacula user is) hasn't permissions tu use these commands. So ¿how to make possible that bacula mounts the device? -- Thanks, Jordi Espasa Clofent - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] /SBIN and mount command
Jordi Espasa Clofent wrote: > Hi all, > > I'm using a USB external HD as a storage device; because of that I need > to use a RequireMount, MountPoint and so on directives. > > I'm using FreeBSD system and mount and umount commands are in /sbin/; > standards users (as bacula user is) hasn't permissions tu use these > commands. So ¿how to make possible that bacula mounts the device? > Are you sure users can have access. Usually /bin & /sbin are not in the normal user path. But if they launch /sbin/command they normally could reach them ... Certain command stay restricted to superuser (mount is one of this case) But (don't know precisely for FreeBSD) rights could be give in fstab's option to allow users to mount/umount certain mountpoint. -- Bruno Friedmann [EMAIL PROTECTED] - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] /SBIN and mount command
On 10/22/07, Jordi Espasa Clofent <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm using a USB external HD as a storage device; because of that I need > to use a RequireMount, MountPoint and so on directives. > > I'm using FreeBSD system and mount and umount commands are in /sbin/; > standards users (as bacula user is) hasn't permissions tu use these > commands. So ¿how to make possible that bacula mounts the device? See the FreeBSD FAQ: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT -- Please keep list traffic on the list. Rob MacGregor Whoever fights monsters should see to it that in the process he doesn't become a monster. Friedrich Nietzsche - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] monitor tape shoe-shining
Dan Langille schrieb: > On 6 Oct 2007 at 10:41, Ralf Gross wrote: > > > How can I get information about how often a tape drive started/stopped > > writing to tape? Is there a way to monitor the throughput of the SCSI > > interface to the drive? > > On FreeBSD, I'd tell you to look at iostat. Output looks something > like this: > > $ iostat > tty twed0 cd0 sa0 > cpu > tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy > in id >0 30 31.02 34 1.03 0.00 0 0.00 62.99 1 0.08 3 0 2 > 0 95 > > iostat -w 1 will output one of those lines every second. With a custom build kernel and the stap tool I was now able to monitor the write performace of one LTO-4 drive (blk_wrtn/s = MB/s). without spooling (snapshot of a backup of 163 GB data, taken every second): Device: tps blk_read/s blk_wrtn/s blk_read blk_wrtn st1890.00 0.00 56070.00 0 56070 st1 1560.00 0.00 98280.00 0 98280 st1 1546.00 0.00 97398.00 0 97398 st1 1556.00 0.00 98028.00 0 98028 st1 1537.00 0.00 96831.00 0 96831 st1 1578.00 0.00 99414.00 0 99414 st1 1591.00 0.00 100233.00 0100233 st1 1581.00 0.00 99603.00 0 99603 st1 1548.00 0.00 97524.00 0 97524 st1798.00 0.00 50211.00 0 50211 st1 1220.00 0.00 76860.00 0 76860 st1764.00 0.00 48132.00 0 48132 st1 1561.00 0.00 98343.00 0 98343 st1 1518.00 0.00 95634.00 0 95634 st1 1555.00 0.00 97965.00 0 97965 st1 1582.00 0.00 99666.00 0 99666 st1 1589.00 0.00 100107.00 0100107 st1 1565.00 0.00 98595.00 0 98595 st1 1503.00 0.00 94689.00 0 94689 st1 1596.00 0.00 100548.00 0100548 st1461.00 0.00 28980.00 0 28980 st1 1243.00 0.00 78309.00 0 78309 st1 1225.00 0.00 77175.00 0 77175 st1166.00 0.00 10458.00 0 10458 st1 1529.00 0.00 96327.00 0 96327 st1 1561.00 0.00 98343.00 0 98343 st1 1519.00 0.00 95697.00 0 95697 st1 1585.00 0.00 99855.00 0 99855 st1 1593.00 0.00 100359.00 0100359 st1 1578.00 0.00 99414.00 0 99414 st1 1608.00 0.00 101304.00 0101304 st1 1529.00 0.00 96327.00 0 96327 st1365.00 0.00 22932.00 0 22932 st1 1403.00 0.00 88389.00 0 88389 st1388.00 0.00 2.00 0 2 st1129.00 0.00 8127.00 0 8127 st1 1415.00 0.00 89145.00 0 89145 st1 1543.00 0.00 97209.00 0 97209 st1 1506.00 0.00 94878.00 0 94878 st1 1596.00 0.00 100548.00 0100548 st1 1590.00 0.00 100170.00 0100170 [...] with spooling: st1 1682.00 0.00 105966.00 0105966 st1 1684.00 0.00 106092.00 0106092 st1 1681.00 0.00 105903.00 0105903 st1 1461.00 0.00 91980.00 0 91980 st1425.00 0.00 26775.00 0 26775 st1 1414.00 0.00 89082.00 0 89082 st1578.00 0.00 36414.00 0 36414 st1 1673.00 0.00 105399.00 0105399 st1 1684.00 0.00 106092.00 0106092 st1 1684.00 0.00 106092.00 0106092 st1 1684.00 0.00 106092.00 0106092 st1 1685.00 0.00 106155.00 0106155 st1 1684.00 0.00 106092.00 0106092 st1 1685.00 0.00 106155.00 0106155 st1 1305.00 0.00 82152.00 0 82152 st1970.00 0.00 61110.00 0 61110 st1837.00 0.00 52731.00 0 52731 st1 1058.00 0.00 66654.00 0 66654 st1 1684.00 0.00 106092.00 0106092 st1 1684.00 0.00 106092.00 0106092 st1 1684.00 0.00 106092.00 0106092 st1 1685.00 0.00 106155.00 0106155 st1 1685.00 0.00 106155.00 0106155 st1 1684.00 0.00 106092.00 0106092 st1 1683.00 0.00 106029.00 0106029 st1847.00 0.00 53298.00 0 53298 st1 1431.00
Re: [Bacula-users] Problem with backing up over the internet
On Fri, 19 Oct 2007 15:51:24 +0200, Viktor Radnai wrote: > Hi there, > > On 10/18/07, Arno Lehmann <[EMAIL PROTECTED]> wrote: > >> You can do this even if the SD is inside your firewall, you'll need >> port forwarding or a proxy on the firewall then. With separate DNS >> zones inside and outside, resolving the SD hostname either as the >> internal or the external IP, this can be seamlessly integrated with >> your internal Bacula setup. >> >> Arno > > I think in this case, /etc/hosts is your friend :-) > > Configure your storage daemon with a hostname, and specify that hostname > in /etc/hosts to be either the internal or the external address, as > required. And you don't need to return different results from your > internal DNS server. Dead simple and works well. > > HTH, > > Cheers, > Vik > -- > My other sig is hilarious > > - > This SF.net email is sponsored by: Splunk Inc. Still grepping through > log files to find problems? Stop. Now Search log events and > configuration files using AJAX and a browser. Download your FREE copy of > Splunk now >> http://get.splunk.com/ Ok, but how do I configure the storage daemon with a hostname? - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with backing up over the internet
On Mon, 22 Oct 2007 15:17:32 +, Mateus Interciso wrote: > On Fri, 19 Oct 2007 15:51:24 +0200, Viktor Radnai wrote: > >> Hi there, >> >> On 10/18/07, Arno Lehmann <[EMAIL PROTECTED]> wrote: >> >>> You can do this even if the SD is inside your firewall, you'll need >>> port forwarding or a proxy on the firewall then. With separate DNS >>> zones inside and outside, resolving the SD hostname either as the >>> internal or the external IP, this can be seamlessly integrated with >>> your internal Bacula setup. >>> >>> Arno >> >> I think in this case, /etc/hosts is your friend :-) >> >> Configure your storage daemon with a hostname, and specify that >> hostname in /etc/hosts to be either the internal or the external >> address, as required. And you don't need to return different results >> from your internal DNS server. Dead simple and works well. >> >> HTH, >> >> Cheers, >> Vik >> -- >> My other sig is hilarious >> >> > - >> This SF.net email is sponsored by: Splunk Inc. Still grepping through >> log files to find problems? Stop. Now Search log events and >> configuration files using AJAX and a browser. Download your FREE copy >> of Splunk now >> http://get.splunk.com/ > > Ok, but how do I configure the storage daemon with a hostname? > > > - > This SF.net email is sponsored by: Splunk Inc. Still grepping through > log files to find problems? Stop. Now Search log events and > configuration files using AJAX and a browser. Download your FREE copy of > Splunk now >> http://get.splunk.com/ Sorry, I should have sayd more... when I try to put the Address config on the sd, like this: Storage { # definition of myself Name = test-sd Address = Storage-Server SDPort = 9103 # Director's port WorkingDirectory = "/var/lib/bacula" Pid Directory = "/var/run" Maximum Concurrent Jobs = 20 } I get this error when I start bacula-sd 22-Oct 14:11 bacula-sd: ERROR TERMINATION at parse_conf.c:889 Config error: Keyword "Address" not permitted in this resource. Perhaps you left the trailing brace off of the previous resource. : line 15, col 10 of file /etc/bacula/bacula-sd.conf Address = Storage-Server :( Mateus - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] File size from backup needed. Where?
This information is kept in the bacula database under the 'File' table in the 'LStat' field. However, this information is compressed in some form of proprietary hexadecimal compression. I believe there are some individuals who have figured out how to read this information such as the authors of "webacula". http://sourceforge.net/projects/webacula/ On 10/22/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi fellow Bacula Users, > > We have a issue that a backup for a client suddenly has increased from 50 > GB to 200GB at one client. In order to check the file(s) who are causing > this, I'm checking my incremental backups to see what is causing this > problems. > > However, I don't seem to be able to find that in the database. If you > restore a file, there is a filesize, so it seems logical to me that it is > there. > > However, I can't find it. My question: > > how can I select all filesizes for a certain Job/Client in the database or > bconsole? > > Kind regards from Rotterdam, NL! > > Diederik de Vries > > > - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Using a USB disk
Hi all, The last goal is the bacula-sd mount and umount in every time that bacula-dir uses it. So, [EMAIL PROTECTED] ~]$ uname -a FreeBSD anubis.opengea.org 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:40:53 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 [EMAIL PROTECTED] ~]$ pkg_info -Ix bacula bacula-client-2.2.5 The network backup solution (client) bacula-server-2.2.5 The network backup solution (server) bacula-web-1.38.9 Bacula-web provides a summarized output of Bacula jobs In /usr/local/etc/bacula-dir.conf: Storage { Name = File # Do not use "localhost" here Address = anubis.opengea.org # N.B. Use a fully qualified name here SDPort = 9103 Password = "anubis" Device = usb_disk Media Type = File } And, in /usr/local/etc/bacula-sd.conf: Device { Name = usb_disk Media Type = File Archive Device = /dev/da0; LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = yes; AlwaysOpen = no; RequiresMount = Yes; MountPoint = /mnt/usb_disk/; MountCommand = "/sbin/mount %a %m"; UnmountCommand = "/sbin/umount %m"; } Into bconsole, I see: *status storage Automatically selected Storage: File Connecting to Storage daemon File at anubis.opengea.org:9103 anubis-sd Version: 2.2.5 (09 October 2007) i386-portbld-freebsd6.2 freebsd 6.2-RELEASE-p4 Daemon started 22-oct-07 17:53, 0 Jobs run since started. Heap: heap=446,464 smbytes=151,148 max_bytes=216,415 bufs=99 max_bufs=102 Sizes: boffset_t=8 size_t=4 int32_t=4 int64_t=8 Running Jobs: Writing: Full Backup job Client1 JobId=11 Volume="jordi0001" pool="Default" device="usb_disk" (/dev/da0) spooling=0 despooling=0 despool_wait=0 Files=0 Bytes=0 Bytes/sec=0 FDReadSeqNo=6 in_msg=6 out_msg=4 fd=6 Jobs waiting to reserve a drive: Terminated Jobs: JobId LevelFiles Bytes Status FinishedName === 1 Full 0 0 OK 18-oct-07 10:36 Client1 2 Incr 0 0 OK 18-oct-07 23:05 Client1 3 Full 119.16 K OK 18-oct-07 23:10 BackupCatalog 4 Incr 0 0 Cancel 22-oct-07 12:24 Client1 5 Incr 0 0 Cancel 22-oct-07 12:27 Client1 6 Incr 0 0 OK 22-oct-07 12:35 Client1 7 Incr 0 0 Cancel 22-oct-07 16:29 Client1 Device status: Device "usb_disk" (/dev/da0) is not open. Device is blocked labeling a Volume. If I run a job (client1) nothing happens. ¿What's the problem? -- Thanks, Jordi Espasa Clofent - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with backing up over the internet
On Mon, 22 Oct 2007 15:44:23 +, Mateus Interciso wrote: > On Mon, 22 Oct 2007 15:17:32 +, Mateus Interciso wrote: > >> On Fri, 19 Oct 2007 15:51:24 +0200, Viktor Radnai wrote: >> >>> Hi there, >>> >>> On 10/18/07, Arno Lehmann <[EMAIL PROTECTED]> wrote: >>> You can do this even if the SD is inside your firewall, you'll need port forwarding or a proxy on the firewall then. With separate DNS zones inside and outside, resolving the SD hostname either as the internal or the external IP, this can be seamlessly integrated with your internal Bacula setup. Arno >>> >>> I think in this case, /etc/hosts is your friend :-) >>> >>> Configure your storage daemon with a hostname, and specify that >>> hostname in /etc/hosts to be either the internal or the external >>> address, as required. And you don't need to return different results >>> from your internal DNS server. Dead simple and works well. >>> >>> HTH, >>> >>> Cheers, >>> Vik >>> -- >>> My other sig is hilarious >>> >>> >>> > - >>> This SF.net email is sponsored by: Splunk Inc. Still grepping through >>> log files to find problems? Stop. Now Search log events and >>> configuration files using AJAX and a browser. Download your FREE copy >>> of Splunk now >> http://get.splunk.com/ >> >> Ok, but how do I configure the storage daemon with a hostname? >> >> >> > - >> This SF.net email is sponsored by: Splunk Inc. Still grepping through >> log files to find problems? Stop. Now Search log events and >> configuration files using AJAX and a browser. Download your FREE copy >> of Splunk now >> http://get.splunk.com/ > > Sorry, I should have sayd more... > when I try to put the Address config on the sd, like this: > > Storage { # definition of myself > Name = test-sd > Address = Storage-Server > SDPort = 9103 # Director's port WorkingDirectory = > "/var/lib/bacula" > Pid Directory = "/var/run" > Maximum Concurrent Jobs = 20 > } > > I get this error when I start bacula-sd > > 22-Oct 14:11 bacula-sd: ERROR TERMINATION at parse_conf.c:889 Config > error: Keyword "Address" not permitted in this resource. Perhaps you > left the trailing brace off of the previous resource. > : line 15, col 10 of file /etc/bacula/bacula-sd.conf > Address = Storage-Server > > :( > > Mateus > > > - > This SF.net email is sponsored by: Splunk Inc. Still grepping through > log files to find problems? Stop. Now Search log events and > configuration files using AJAX and a browser. Download your FREE copy of > Splunk now >> http://get.splunk.com/ I've just managed to make the backups run across the internet. I'm really thankfull for all of you guys :d Fiddling a little with the /etc/hosts and the firewall...it worked perfectly :D Now is just making it secure...thanks a lot guys :D Mateus - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bug 969 not fixed
>> bug 969 shows as fixed in 2.2.5 but it is still broken for me as shown >> below. > Hi, > It seems that the 2.2.4-restore.patch doesn't have been applied to > the 2.2.5 release. Read 2.2.4-replace.patch instead of 2.2.4-restore.patch. > You can apply it yourself and rebuild the bacula-dir binary or wait > for the 2.2.6 release. > > Sorry for this inconvenience. Bye - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with backing up over the internet
Mateus Interciso napsal(a): > On Mon, 22 Oct 2007 15:44:23 +, Mateus Interciso wrote: > >> On Mon, 22 Oct 2007 15:17:32 +, Mateus Interciso wrote: >> >>> On Fri, 19 Oct 2007 15:51:24 +0200, Viktor Radnai wrote: >>> Hi there, On 10/18/07, Arno Lehmann <[EMAIL PROTECTED]> wrote: > You can do this even if the SD is inside your firewall, you'll need > port forwarding or a proxy on the firewall then. With separate DNS > zones inside and outside, resolving the SD hostname either as the > internal or the external IP, this can be seamlessly integrated with > your internal Bacula setup. > > Arno I think in this case, /etc/hosts is your friend :-) Configure your storage daemon with a hostname, and specify that hostname in /etc/hosts to be either the internal or the external address, as required. And you don't need to return different results from your internal DNS server. Dead simple and works well. HTH, Cheers, Vik -- My other sig is hilarious > - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ >>> Ok, but how do I configure the storage daemon with a hostname? >>> >>> >>> > - >>> This SF.net email is sponsored by: Splunk Inc. Still grepping through >>> log files to find problems? Stop. Now Search log events and >>> configuration files using AJAX and a browser. Download your FREE copy >>> of Splunk now >> http://get.splunk.com/ >> Sorry, I should have sayd more... >> when I try to put the Address config on the sd, like this: >> >> Storage { # definition of myself >> Name = test-sd >> Address = Storage-Server >> SDPort = 9103 # Director's port WorkingDirectory = >> "/var/lib/bacula" >> Pid Directory = "/var/run" >> Maximum Concurrent Jobs = 20 >> } >> >> I get this error when I start bacula-sd >> >> 22-Oct 14:11 bacula-sd: ERROR TERMINATION at parse_conf.c:889 Config >> error: Keyword "Address" not permitted in this resource. Perhaps you >> left the trailing brace off of the previous resource. >> : line 15, col 10 of file /etc/bacula/bacula-sd.conf >> Address = Storage-Server >> >> :( >> >> Mateus >> >> >> > - >> This SF.net email is sponsored by: Splunk Inc. Still grepping through >> log files to find problems? Stop. Now Search log events and >> configuration files using AJAX and a browser. Download your FREE copy of >> Splunk now >> http://get.splunk.com/ > > I've just managed to make the backups run across the internet. > I'm really thankfull for all of you guys :d > Fiddling a little with the /etc/hosts and the firewall...it worked > perfectly :D > Now is just making it secure...thanks a lot guys :D > I would suggest you OpenVPN. It is easy to setup, there is a lot of howtos on the net and it will solve all NAT problems. OpenVPN is for both Windows and Linux and all it needs is one port on public IP. We use it for backing up remote servers and it works like a charm. Basically you need to install OpenVPN server in your office and OpenVPN clients on all your clients. OpenVPN will create new "ethernet" devices which are connected all together. You then setup some private IPs on this virtual network and use them in bacula configuration. Radek - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problem with backing up over the internet
On Mon, 22 Oct 2007 19:19:34 +0200, Radek Hladik wrote: > Mateus Interciso napsal(a): >> On Mon, 22 Oct 2007 15:44:23 +, Mateus Interciso wrote: >> >>> On Mon, 22 Oct 2007 15:17:32 +, Mateus Interciso wrote: >>> On Fri, 19 Oct 2007 15:51:24 +0200, Viktor Radnai wrote: > Hi there, > > On 10/18/07, Arno Lehmann <[EMAIL PROTECTED]> wrote: > >> You can do this even if the SD is inside your firewall, you'll need >> port forwarding or a proxy on the firewall then. With separate DNS >> zones inside and outside, resolving the SD hostname either as the >> internal or the external IP, this can be seamlessly integrated with >> your internal Bacula setup. >> >> Arno > I think in this case, /etc/hosts is your friend :-) > > Configure your storage daemon with a hostname, and specify that > hostname in /etc/hosts to be either the internal or the external > address, as required. And you don't need to return different results > from your internal DNS server. Dead simple and works well. > > HTH, > > Cheers, > Vik > -- > My other sig is hilarious > > > >> - > This SF.net email is sponsored by: Splunk Inc. Still grepping > through log files to find problems? Stop. Now Search log events and > configuration files using AJAX and a browser. Download your FREE > copy of Splunk now >> http://get.splunk.com/ Ok, but how do I configure the storage daemon with a hostname? >> - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ >>> Sorry, I should have sayd more... >>> when I try to put the Address config on the sd, like this: >>> >>> Storage { # definition of myself >>> Name = test-sd >>> Address = Storage-Server >>> SDPort = 9103 # Director's port WorkingDirectory = >>> "/var/lib/bacula" >>> Pid Directory = "/var/run" >>> Maximum Concurrent Jobs = 20 >>> } >>> >>> I get this error when I start bacula-sd >>> >>> 22-Oct 14:11 bacula-sd: ERROR TERMINATION at parse_conf.c:889 Config >>> error: Keyword "Address" not permitted in this resource. Perhaps you >>> left the trailing brace off of the previous resource. >>> : line 15, col 10 of file /etc/bacula/bacula-sd.conf >>> Address = Storage-Server >>> >>> :( >>> >>> Mateus >>> >>> >>> >> - >>> This SF.net email is sponsored by: Splunk Inc. Still grepping through >>> log files to find problems? Stop. Now Search log events and >>> configuration files using AJAX and a browser. Download your FREE copy >>> of Splunk now >> http://get.splunk.com/ >> >> I've just managed to make the backups run across the internet. I'm >> really thankfull for all of you guys :d Fiddling a little with the >> /etc/hosts and the firewall...it worked perfectly :D >> Now is just making it secure...thanks a lot guys :D >> > I would suggest you OpenVPN. It is easy to setup, there is a lot of > howtos on the net and it will solve all NAT problems. OpenVPN is for > both Windows and Linux and all it needs is one port on public IP. We use > it for backing up remote servers and it works like a charm. > > Basically you need to install OpenVPN server in your office and OpenVPN > clients on all your clients. OpenVPN will create new "ethernet" devices > which are connected all together. You then setup some private IPs on > this virtual network and use them in bacula configuration. > > Radek > > - > This SF.net email is sponsored by: Splunk Inc. Still grepping through > log files to find problems? Stop. Now Search log events and > configuration files using AJAX and a browser. Download your FREE copy of > Splunk now >> http://get.splunk.com/ Interesting...I'll take a look at it...thanks a lot once again. :D Mateus - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] ../cats/libsql.a in bacula 2.2.5
> On Sat, 20 Oct 2007 18:06:00 +0200, Jean-Max Reymond said: > > After a configure with following options: > ./configure --with-postgresql --enable-static-fd > > make complains about a missing ../cat/libsql.a > > what's wrong ? > > > make[1]: *** Pas de règle pour fabriquer la cible « ../cats/libsql.a », > nécessaire pour « bscan ». Arrêt. > make[1]: Leaving directory `/tmp/bacula-2.2.5/src/stored' > > >== Error in /tmp/bacula-2.2.5/src/stored == It should build libsql.a earlier. Are there any other lines saying "Error in..." before this? Do it work without --enable-static-fd? __Martin > > > ==>Entering directory /tmp/bacula-2.2.5/src/tools > make[1]: Entering directory `/tmp/bacula-2.2.5/src/tools' > Compiling bsmtp.c > /usr/bin/g++ -O -L../lib -o bsmtp bsmtp.o -lbac -lm -lpthread > Compiling dbcheck.c > make[1]: *** Pas de règle pour fabriquer la cible « ../cats/libsql.a », > nécessaire pour « dbcheck ». Arrêt. > > > output of configure: > Configuration on Sat Oct 20 17:55:25 CEST 2007: > >Host: i686-pc-linux-gnu -- redhat (Tettnang) >Bacula version: 2.2.5 (09 October 2007) >Source code location: . >Install binaries: /sbin >Install config files: /etc/bacula >Scripts directory: /etc/bacula >Archive directory: /tmp >Working directory: /var/bacula/working >PID directory: /var/run >Subsys directory: /var/lock/subsys >Man directory: /usr/share/man >Data directory: /usr/share >C Compiler: gcc 3.3.3 >C++ Compiler: /usr/bin/g++ 3.3.3 >Compiler flags: -g -O2 -Wall -fno-strict-aliasing > -fno-exceptions -fno-rtti >Linker flags:-O >Libraries: -lpthread >Statically Linked Tools:no >Statically Linked FD: yes >Statically Linked SD: no >Statically Linked DIR: no >Statically Linked CONS: no >Database type: PostgreSQL >Database lib: -L/usr/lib -lpq -lcrypt >Database name: bacula >Database user: bacula > >Job Output Email: [EMAIL PROTECTED] >Traceback Email:[EMAIL PROTECTED] >SMTP Host Address: localhost > >Director Port: 9101 >File daemon Port: 9102 >Storage daemon Port:9103 > >Director User: >Director Group: >Storage Daemon User: >Storage DaemonGroup: >File Daemon User: >File Daemon Group: > >SQL binaries Directory /usr/bin > >Large file support: yes >Bacula conio support: yes -ltermcap >readline support: no >TCP Wrappers support: no >TLS support:no >Encryption support: no >ZLIB support: yes >enable-smartalloc: yes >bat support:no >enable-gnome: no >enable-bwx-console: no >enable-tray-monitor: >client-only:no >build-dird: yes >build-stored: yes >ACL support:no >Python support: no >Batch insert enabled: no > > > -- > Jean-Max Reymond > Eruption de l'Etna: http://jmreymond.free.fr/Etna2002 > > > - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] FD - SD problem
version 2.2.4 patched from sourceforge Linux kernel 2.6.x I am running 10+ FD's, one SD, and one Director. I am having problems with one of my FD's, the others are fine. Not sure if it makes any difference, but the FD is on the same machine as the Director. I have no issues with the network, I see no errors on either the interface of the FD or the SD. All FD's are plugged into the same netgear switch. The SD is plugged into a different netgear switch which is then plugged into the FD's switch. I run a backup job (or via schedule) and the amount/size/volume of data is transfered each time, and then everything stops/hangs/does nothing. ls -l /var/data/bacula/spool/backupserver-sd.data.472.fileserver-backup.2007-10-22_18.54.33.DLT-V4.spool -rw-r- 1 root bacula 2193816 Oct 22 18:56 A short while later, I will get a console message 22-Oct 18:56 backupserver-sd: 3301 Issuing autochanger "loaded? drive 0" command. 22-Oct 18:56 backupserver-sd: 3302 Autochanger "loaded? drive 0", result is Slot 3. 22-Oct 18:56 backupserver-sd: Volume "CNI906" previously written, moving to end of data. 22-Oct 18:56 backupserver-sd: Ready to append to end of Volume "CNI906" at file=1. 22-Oct 18:56 backupserver-sd: Spooling data ... 22-Oct 18:56 fileserver-fd: fileserver-backup.2007-10-22_18.54.33 Fatal error: backup.c:892 Network send error to SD. ERR=Success I know it says "Network send error", however, I have checked the network, and can not find a problem with any of the equipment. I have run the fd and sd with debug options to provide additional output, I hope this helps. If any other information would help in diagnosis, please just ask for it. /usr/local/sbin/bacula-fd -f -s -d 200 -u root -g bacula -c /etc/bacula/bacula-fd.conf /home/spencer/bacula-sd -f -d 200 -s -u root -g bacula -c /etc/bacula/bacula-sd.conf cat /root/bacula-fd.log bacula-fd: filed_conf.c:438 Inserting director res: fileserver-mon fileserver-fd: jcr.c:132 read_last_jobs seek to 188 fileserver-fd: jcr.c:139 Read num_items=10 fileserver-fd: pythonlib.c:113 No script dir. prog=FDStartUp fileserver-fd: filed.c:225 filed: listening on port 9102 fileserver-fd: bnet_server.c:96 Addresses host[ipv4:0.0.0.0:9102] fileserver-fd: bnet.c:666 who=client host=192.168.1.30 port=36387 fileserver-fd: jcr.c:602 OnEntry JobStatus=fileserver-fd: jcr.c:622 OnExit JobStatus=C set=C fileserver-fd: find.c:81 init_find_files ff=8094e60 fileserver-fd: job.c:233 ssl=0 fileserver-fd: cram-md5.c:131 cram-get: auth cram-md5 <[EMAIL PROTECTED]> ssl=0 fileserver-fd: cram-md5.c:150 sending resp to challenge: 6U+ZK4lCcB/uXh+k+X/qdB fileserver-fd: job.c:357 OK Authenticate fileserver-fd: job.c:233 ssl=0 fileserver-fd: cram-md5.c:131 cram-get: auth cram-md5 <[EMAIL PROTECTED]> ssl=0 fileserver-fd: cram-md5.c:150 sending resp to challenge: /2gP/C+Fx+ZhT98YS4+hzD fileserver-fd: job.c:357 OK Authenticate fileserver-fd: job.c:233 ssl=0 fileserver-fd: cram-md5.c:150 sending resp to challenge: XB+VsUQJ44JUUT+eURwxEB fileserver-fd: cram-md5.c:78 send: auth cram-md5 <[EMAIL PROTECTED]> ssl=0 fileserver-fd: cram-md5.c:97 Authenticate OK 94ldXX/Ic5FIJUAeTm/qKA fileserver-fd: job.c:1318 Authenticated with SD. fileserver-fd: job.c:233 dird: 2000 OK backup fileserver-fd: job.c:1364 >stored: append open session fileserver-fd: job.c:1369 stored: append data 1 fileserver-fd: job.c:1389 ssl=0 fileserver-fd: cram-md5.c:131 cram-get: auth cram-md5 <[EMAIL PROTECTED]> ssl=0 fileserver-fd: cram-md5.c:150 sending resp to challenge: k9tCKB+g+zpaQT/Aq6NH6D fileserver-fd: job.c:357 OK Authenticate fileserver-fd: job.c:233 ssl=0 backupserver-sd: cram-md5.c:131 cram-get: auth cram-md5 <[EMAIL PROTECTED]> ssl=0 backupserver-sd: cram-md5.c:150 sending resp to challenge: S7o0ej/Ie5/Jb7+G2zwyLB backupserver-sd: dircmd.c:202 Message channel init completed. backupserver-sd: dircmd.c:209 ssl=0 backupserver-sd: cram-md5.c:131 cram-get: auth cram-md5 <[EMAIL PROTECTED]> ssl=0 backupserver-sd: cram-md5.c:150 sending resp to challenge: TV/iZh/UcG/eQUM2tSonZB backupserver-sd: dircmd.c:202 Message channel init completed. backupserver-sd: dircmd.c:209 dird jid=472: 3000 OK Job SDid=1 SDtime=1193079020 Authorization=JMKD-GKGP-LMNP-ODNP-EDME-NJBC-LEMK-BPGJ backupserver-sd: pythonlib.c:237 No startup module. backupserver-sd: dircmd.c:209 dird: CatReq Job=fileserver-backup.2007-10-22_18.54.33 GetVolInfo VolName=CNI906 write=1 backupserver-sd: askdir.c:182 dird: CatReq Job=fileserver-backup.2007-10-22_18.54.33 FindMedia=1 pool_name=Daily media_type=DLT-V4 backupserver-sd: askdir.c:182 dird changer: 3000 OK use device device=DLT-V4 backupserver-sd: reserve.c:1029 jid=472 Device DLT-V4 reserved=1 for append. backupserver-sd: reserve.c:959 jid=472 available device found=DLT-V4 backupserver-sd: dircmd.c:209 ssl=0 backupserver-sd: cram-md5.c:131 cram-get: auth cram-md5 <[EMAIL PROTECTED]> ssl=0 backupserver-sd: cram-md5.c:150 sending resp to challenge: 94ldXX/Ic5FIJUAeTm/qKA backupserver-sd: job.c:235 OK Authentic
Re: [Bacula-users] Using a USB disk
Jordi Espasa Clofent wrote: > Hi all, > > The last goal is the bacula-sd mount and umount in every time that > bacula-dir uses it. So, > > [EMAIL PROTECTED] ~]$ uname -a > FreeBSD anubis.opengea.org 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #0: Thu > Apr 26 17:40:53 UTC 2007 > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 > > [EMAIL PROTECTED] ~]$ pkg_info -Ix bacula > bacula-client-2.2.5 The network backup solution (client) > bacula-server-2.2.5 The network backup solution (server) > bacula-web-1.38.9 Bacula-web provides a summarized output of Bacula jobs > > In /usr/local/etc/bacula-dir.conf: > > Storage { >Name = File > # Do not use "localhost" here >Address = anubis.opengea.org # N.B. Use a fully qualified > name here >SDPort = 9103 >Password = "anubis" >Device = usb_disk >Media Type = File > } > > And, in /usr/local/etc/bacula-sd.conf: > > Device { >Name = usb_disk >Media Type = File >Archive Device = /dev/da0; >LabelMedia = yes; # lets Bacula label unlabeled media >Random Access = Yes; >AutomaticMount = yes; # when device opened, read it >RemovableMedia = yes; >AlwaysOpen = no; >RequiresMount = Yes; >MountPoint = /mnt/usb_disk/; >MountCommand = "/sbin/mount %a %m"; >UnmountCommand = "/sbin/umount %m"; > } > I am not familiar with how FreeBSD assigns device nodes to USB devices. How do you know the USB disk is always assigned to device node /dev/da0 when it is plugged in? > Into bconsole, I see: > > *status storage > Automatically selected Storage: File > Connecting to Storage daemon File at anubis.opengea.org:9103 > > anubis-sd Version: 2.2.5 (09 October 2007) i386-portbld-freebsd6.2 > freebsd 6.2-RELEASE-p4 > Daemon started 22-oct-07 17:53, 0 Jobs run since started. > Heap: heap=446,464 smbytes=151,148 max_bytes=216,415 bufs=99 max_bufs=102 > Sizes: boffset_t=8 size_t=4 int32_t=4 int64_t=8 > > Running Jobs: > Writing: Full Backup job Client1 JobId=11 Volume="jordi0001" > pool="Default" device="usb_disk" (/dev/da0) > spooling=0 despooling=0 despool_wait=0 > Files=0 Bytes=0 Bytes/sec=0 > FDReadSeqNo=6 in_msg=6 out_msg=4 fd=6 > > > Jobs waiting to reserve a drive: > > > Terminated Jobs: > JobId LevelFiles Bytes Status FinishedName > === > 1 Full 0 0 OK 18-oct-07 10:36 Client1 > 2 Incr 0 0 OK 18-oct-07 23:05 Client1 > 3 Full 119.16 K OK 18-oct-07 23:10 BackupCatalog > 4 Incr 0 0 Cancel 22-oct-07 12:24 Client1 > 5 Incr 0 0 Cancel 22-oct-07 12:27 Client1 > 6 Incr 0 0 OK 22-oct-07 12:35 Client1 > 7 Incr 0 0 Cancel 22-oct-07 16:29 Client1 > > > Device status: > Device "usb_disk" (/dev/da0) is not open. > Device is blocked labeling a Volume. > > > If I run a job (client1) nothing happens. > ¿What's the problem? > > - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Using a USB disk
On 10/22/07, Jordi Espasa Clofent <[EMAIL PROTECTED]> wrote: > Hi all, > > The last goal is the bacula-sd mount and umount in every time that > bacula-dir uses it. So, Did you see my reply to your thread titled "/SBIN and mount command"? You need to ensure that the bacula user is allowed to mount the specified device on the specified mount point. -- Please keep list traffic on the list. Rob MacGregor Whoever fights monsters should see to it that in the process he doesn't become a monster. Friedrich Nietzsche - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Configure bacula for LIB-81 autochanger
Hi Dan, > > To relabel an already labelled tape, you can use the relabel command. > But I think that is not what you want. You want to erase what is on > the tape, and start again. > > You can "erase" the tape by doing this: > > mt -f /dev/YOURTAPEDEVICE rewind > mt -f /dev/YOURTAPEDEVICE weof > mt -f /dev/YOURTAPEDEVICE rewind > > Do this for each tape. Then use the run labels command. after do this to each tape I was able to label tape with barcodes without any error message. Thanks a lot for your help. > > NOTE: the Catalog MAY contain the Volumes related to the labels on > the tapes (e.g. TestVolume1). If so, you can remove those Volumes >>from the database with the 'delete volume' command. > I read this in the documentation of bacula and I did delete the volumes from catalogue before running the commands you tell me above. Thanks. Stefan -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] system requirements
Not so long ago, we established that Bacula will work with PostgreSQL > 7.4 and MySQL > 4.1. At present, these versions are defined only at: http://www.bacula.org/rel-manual/Installi_Configur_PostgreS.html http://www.bacula.org/rel-manual/Installing_Configurin_MySQL.html I think we also need to document then at: http://www.bacula.org/rel-manual/System_Requirements.html It would be nice if we could define a global value, and have it included in both places. Any simple ideas? -- Dan Langille - http://www.langille.org/ Available for hire: http://www.freebsddiary.org/dan_langille.php - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Vchanger questions
Hi, I am implementing a Vchanger to backup a group of machines to two central backup hosts. Here's some background information, and I have attached the relevant part of various configuration files. I hope someone could help resolve some of my problems. At this point, I have created 2 changers, one, VCCoal13 with a 13 day retention, and the other VCCoal43 with a 43 day retention. VCCoal13 has 3 physical dives attached to it, and VCOal43 has 2; later on there will be about 8-10 drives per changer. Each drive has 100 volumes associated with it. The idea is that jobs will be directed to one of the changers without worrying about which disk it will backup to, and whether that disk has enough space to hold the backup. The changer will pick up the next available volume and start the backup, and if it runs out of disk space on the current disk, it will simply pick up the next volume available on the next disk with enough space, and finish the backup. At first, multiple jobs were blocking, waiting on the same volume, and waiting for the current job to finish. Now, when the current job finished, the next job will pick up the next volume and backup will start. i thought we resolved this issue, where more than one job are backing up simultaneously, but the problem is that all simultaneous jobs are backing up to the same volume; they should each be backing up to its own available volume. I hope I didn't miss any relevant information, and I hope I didn't confuse things too much, but here are the relevant configuration files and/or relevant portions, followed by bconsole messages relevant to this problem. Sorry for the long message, and thank you for your time and consideration. Elie *13 day changer configuration file:* # # $TOPDIR/etc/bacula/vchanger/VCCoal13.conf # baculasd="VCCoal13" baculasd_user=root bconsole="$TOPDIR/usr/sbin/bconsole" magslots=100 ndisks=3 diskids='B0001 B0003 B0005' maxdrive=5 maxdrives=6 maxdriveperdisk=1 maxdrivesperdisk=2 statedir="$TOPDIR/var/lib/bacula/vchanger/$baculasd/%DISKID" drivedir="$TOPDIR/var/lib/bacula/vchanger/$baculasd" mountpoint="$TOPDIR/backups/autofs/%DISKID/bacula" purgepool="VCPool13" # eof *Bacula Storage Daemon Configuration file:* # ## Vchanger: 13 day retention virtual autochanger with disks # Autochanger { Name = VCCoal13 Device = VCCoal13-drive-0 # on disk B0001 Device = VCCoal13-drive-1 # on disk B0001 Device = VCCoal13-drive-2 # on disk B0003 Device = VCCoal13-drive-3 # on disk B0003 Device = VCCoal13-drive-4 # on disk B0005 Device = VCCoal13-drive-5 # on disk B0005 Changer Command = "/etc/bacula/scripts/vchanger %c %o %S %a %d" Changer Device = /etc/bacula/vchanger/VCCoal13.conf } Device { Name = VCCoal13-drive-0 DriveIndex = 0 AutoChanger = yes; DeviceType = File MediaType = File ArchiveDevice = /var/lib/bacula/vchanger/VCCoal13/drive0 AutomaticMount = yes; RequiresMount = no; # # AlwaysOpen = yes; RemovableMedia = no; RandomAccess = yes; Autoselect = yes; } .. .. (Same for devices 1..4) .. .. Device { Name = VCCoal13-drive-5 DriveIndex = 5 AutoChanger = yes; DeviceType = File MediaType = File ArchiveDevice = /var/lib/bacula/vchanger/VCCoal13/drive5 AutomaticMount = yes; RequiresMount = no; # # AlwaysOpen = yes; RemovableMedia = no; RandomAccess = yes; Autoselect = yes; } *Bacula Director Configuration file:* # # Storage definition of vchangers with disk drives # Storage { Name = VCSCoal13 Address = coal-bk.impulse.net SDPort = 9103 Password = "xuCV21/ZNJbdp5joPZY0XEB10uFMf48ZnB98Lp3gri82" # password for Storage daemon Device = VCCoal13# must be same as Device in Storage daemon Media Type = File # must be same as MediaType in Storage daemon Autochanger = yes # enable for autochanger device Maximum Concurrent Jobs = 20 } # # Jobdefs definitions for vchanger with disk drives # JobDefs { Name = "VCRetention13" Type = Backup Level = Incremental Messages = Standard Pool = VCPool13 Priority = 10 Storage = VCSCoal13 } # # Machine1 test job definition # Job { Name = "Coal-Test1" JobDefs = "VCRetention13" Client = coal-fd FileSet = "Test Set" Schedule = "WeeklyCycleFDI" Write Bootstrap = "/var/lib/bacula/Coal.bsr" } # # Machin2 test job definition # Job { Name = "Linux2-Test1" JobDefs =
Re: [Bacula-users] ../cats/libsql.a in bacula 2.2.5
Martin Simmons a écrit : >> On Sat, 20 Oct 2007 18:06:00 +0200, Jean-Max Reymond said: >> After a configure with following options: >> ./configure --with-postgresql --enable-static-fd >> >> make complains about a missing ../cat/libsql.a >> >> what's wrong ? >> >> >> make[1]: *** Pas de règle pour fabriquer la cible « ../cats/libsql.a », >> nécessaire pour « bscan ». Arrêt. >> make[1]: Leaving directory `/tmp/bacula-2.2.5/src/stored' >> >> >>== Error in /tmp/bacula-2.2.5/src/stored == > > It should build libsql.a earlier. Are there any other lines saying "Error > in..." before this? Do it work without --enable-static-fd? I had an old postgresql database: 7.4.3 I have installed the new 8.2.5 and now, symbols are resolved and it works :-) -- Jean-Max Reymond Eruption de l'Etna: http://jmreymond.free.fr/Etna2002 - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users