Re: [Bacula-users] Script to read bacula jobs info

2009-12-31 Thread Marek Simon
alexan...@nautae.eti.br napsal(a):
 Hi.
 
 I have to integrate Bacula with GLPI inventory system.
 
 So, I have to read jobs info like Name, FileSet, Pool, Level,  
 Schedule, etc, from each job,
 
 and put it in a data structure to export to GLPI.
 
 So, I'm about to write a Perl script and some regular expressions to  
 read conf job file.
 
 But... is there any way that Bacula could give those information?
 
 Thanks for any help!
 
 []s
 Alexander
 Brazil
 
 
 
 
 This message was sent using IMP, the Internet Messaging Program.
 
 
 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev 
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

There are thre possible ways:
You could either dig these dat from database (the structure is simple), 
but some data are hard to assemble from database only.
Or you can parse the config files, but there is posibility, that the 
config in files are changed since bacula was reloaded.
Third possibility is to connect to director via bconsole and call 
commands like show, list and llist, or to write an aplication, which 
will act as the concsole and will use the protocol.
MArek


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Backup diffrensial Bacula

2009-12-31 Thread Marek Simon
togum napsal(a):
 Howdy friends,
 
 I'm using bacula in our companny backup system. But I always have a problem 
 if our tape have been full. I'm using diffrensial bacula backup. If our tape 
 full then i changed with the new tape, it will be full backup again and 
 continue to do so.
 
 Please help me!!!
 Thanks advanced
 
 +--
 |This was sent by to...@softbless.com via Backup Central.
 |Forward SPAM to ab...@backupcentral.com.
 +--
 
 
 
 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev 
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

The optimal solution is: The amount of data for one night must be 
smaller then the size of the tape.
Define Volume use duration to 23 hodin, so bacula will not use one tape 
twice.
Marek


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Windows 2008/Vista 64 bit bacula

2009-12-31 Thread Carlo Filippetto
Hi,
there are 2 different clients in the 3.0.3, one for 64bit and one for 32bit.
(good for Winzoz 2008).
I have both, and they work well with VSS..

The problem that I have, and I'm trying to torubleshoot is that the 64bit
fail in full backup after some hours of work, instead if I tried to run a
little job it works fine.

The 32bit work always well

CIAO

2009/12/30 Firestrm fires...@sonic.net


 What version of the client are you running? I'm running the 64-bit 3.0.3
 client as 64bit VSS is not supported by the 32 bit client.


 Michael Da Cova wrote:
 
  Hi all
 
  Has anyone got Bacula windows client supporting VSS on Windows 2008/Vista
  64
  bit Bacula
 
  Reminder I get
 
  Warning: VSS was not initialized
  properly. VSS support is disabled. ERR=An attempt was made to reference a
  token that does not exist.
 
 
  Michael
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users
 
 

 --
 View this message in context:
 http://old.nabble.com/Windows-2008-Vista-64-bit-bacula-tp20896289p26969663.html
 Sent from the Bacula - Users mailing list archive at Nabble.com.



 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and
 easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev ___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Cannot restore VMmware/ZFS

2009-12-31 Thread Martin Simmons
 On Tue, 29 Dec 2009 13:52:08 -0700, Paul Greidanus said:
 
 On 2009-12-28, at 6:56 PM, Marc Schiffbauer wrote:
 
  * Paul Greidanus schrieb am 28.12.09 um 23:44 Uhr:
  I'm trying to restore files I have backed up on the NFS server that I'm 
  using to back VMware, but I'm getting similar errors to this every time I 
  try to restore:
  
  28-Dec 12:10 krikkit-dir JobId 1433: Start Restore Job 
  Restore.2009-12-28_12.10.28_54
  28-Dec 12:10 krikkit-dir JobId 1433: Using Device TL2000-1
  28-Dec 12:10 krikkit-sd JobId 1433: 3307 Issuing autochanger unload slot 
  11, drive 0 command.
  28-Dec 12:11 krikkit-sd JobId 1433: 3304 Issuing autochanger load slot 3, 
  drive 0 command.
  28-Dec 12:12 krikkit-sd JobId 1433: 3305 Autochanger load slot 3, drive 
  0, status is OK.
  28-Dec 12:12 krikkit-sd JobId 1433: Ready to read from volume 09L4 
  on device TL2000-1 (/dev/rmt/0n).
  28-Dec 12:12 krikkit-sd JobId 1433: Forward spacing Volume 09L4 to 
  file:block 473:0.
  28-Dec 12:15 krikkit-sd JobId 1433: Error: block.c:1010 Read error on fd=4 
  at file:blk 475:0 on device TL2000-1 (/dev/rmt/0n). ERR=I/O error.
  28-Dec 12:15 krikkit-sd JobId 1433: End of Volume at file 475 on device 
  TL2000-1 (/dev/rmt/0n), Volume 09L4
  28-Dec 12:15 krikkit-sd JobId 1433: End of all volumes.
  28-Dec 12:15 krikkit-fd JobId 1433: Error: attribs.c:423 File size of 
  restored file 
  /backupspool/rpool/vm2/.zfs/snapshot/backup/InvidiCA/InvidiCA-flat.vmdk 
  not correct. Original 8589934592, restored 445841408.
  
  Files are backed up from a zfs snapshot which is created just before the 
  backup starts. Every other file I am attempting to restore works just 
  fine... 
  
  Is anyone out there doing ZFS snapshots for VMware, or backing up NFS 
  servers that have .vmdk files on it?
  
  No, but I could imagine that this might have something to do with
  some sparse-file setting.
  
  Have you checked how much space of your 8GB flat vmdk is aktually being
  used? Maybe this was 445841408 Bytes at backup time?
  
  Does the same happen if you do not use pre-allocated vmdk-disks?
  (Which is better anyway most of the times if you use NFS instead of vmfs)
  
 
 All I use is preallocated disks especially on NFS.. I don't think I can 
 actually use sparse disks on NFS.
 
 As a test, I created a 100Gb file from /dev/zero, and tried backing that up 
 and restoring it, and I get this:
 
 29-Dec 13:45 krikkit-sd JobId 1446: Error: block.c:1010 Read error on fd=4 at 
 file:blk 13:0 on device TL2000-1 (/dev/rmt/0n). ERR=I/O error.
 29-Dec 13:45 krikkit-sd JobId 1446: End of Volume at file 13 on device 
 TL2000-1 (/dev/rmt/0n), Volume 10L4
 29-Dec 13:45 krikkit-sd JobId 1446: End of all volumes.
 29-Dec 13:46 filer2-fd JobId 1446: Error: attribs.c:423 File size of restored 
 file /scratch/rpool/vm2/.zfs/snapshot/backup/100GbTest not correct. Original 
 66365161472, restored 376340827.
 
 So, this tells me that whatever's going on, it's not Vmware that's causing me 
 the troubles.. I'm wondering if I'm running into problems with ZFS snapshot 
 backups, or just something with large files and Bacula?

Looks like a tape drive or tape problem, since you get I/O error when reading.

Did you check the syslog on the SD machine?

Does bls give the same error for that volume?

__Martin

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Script to read bacula jobs info

2009-12-31 Thread John Drescher
 There are thre possible ways:
 You could either dig these dat from database (the structure is simple),
 but some data are hard to assemble from database only.
 Or you can parse the config files, but there is posibility, that the
 config in files are changed since bacula was reloaded.
 Third possibility is to connect to director via bconsole and call
 commands like show, list and llist, or to write an aplication, which
 will act as the concsole and will use the protocol.


I believe the webmin module uses perl and does a combination of
reading the database and making calls to bconsole.

http://www.webmin.com/

There are other examples like bacula-web which was part of bacula-gui and bweb.

John

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users