Re: [Bacula-users] Bscan problem

2011-08-10 Thread Michael
Juan Pablo Lorier schrieb:

 bscan -m -v -c /etc/bacula/bacula-sd.conf -V Peliculas0001 /dev/nst0

try adding -s 
for me that works.

HTH
Michael

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Ignore fileset changes

2011-08-10 Thread Olle Romo
Thank you Uwe. I misunderstood the concept.

Is there a way to have Bacula just continue incremental backup of a  
drive even if it was offline for one run?

All best,
Olle


On Aug 9, 2011, at 9:22 AM, Uwe Schuerkamp wrote:

 On Tue, Aug 09, 2011 at 06:07:41AM +0200, Olle Romo wrote:
 Hi All,

 'Ignore Fileset Changes = yes' doesn't seem to have the effect I was
 hoping for... If a drive is missing on one run, the next time Bacula
 sees the drive it will proceed to backup the entire thing again. I'm
 sure there's an obvious way to avoid this but I can't seem to find
 it... Any suggestions warmly welcomed.

 Hello Olle,

 I think there's a slight misunderstanding in your concept of fileset
 changes. According to the docs, fileset changes affect the definition
 of filesets in the director config file as opposed to *actual* changes
 in the filesystem's you're backing up.

 If you're talking about removeable drives and such that are mounted
 somewhere in the directory, tree, I guess you should be looking at
 bacula crossing fs boundaries during backups (or not ;-)

 All the best, Uwe


 All best,
 Olle

 --
 uberSVN's rich system and user administration capabilities and model
 configuration take the hassle out of deploying and managing  
 Subversion and
 the tools developers use with it. Learn more about uberSVN and get  
 a free
 download at:  http://p.sf.net/sfu/wandisco-dev2dev
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

 -- 
 uwe.schuerk...@nionex.net fon: [+49] 5242.91 - 4740, fax:-69 72
 Hauptsitz: Avenwedder Str. 55, D-33311 Gütersloh, Germany
 Registergericht Gütersloh HRB 4196, Geschäftsführer: H. Gosewehr, D.  
 Suda
 NIONEX --- Ein Unternehmen der Bertelsmann AG




--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Ayuda urgente Primer backup!!!

2011-08-10 Thread Juan Pablo Lorier
David,

Por lo que veo, tu problema está en un llamado del script que se corre
antes de ejecutarse el backup. No es un problema relacionado con bacula
en si. Fijate en el script /home/.bacula/bacula_cli.py para corregirlo
si es que lo configuraste tu y sino, elimina en el job en el
bacula-dir.conf el llamado al script.

Translation for everybody :-)

It seems that the problem is in a call withing the pre-run script. It's
no related to bacula. Check in the script /home/.bacula/bacula_cli.py to
correct it if it was configured by yourself or just erase the call from
the job at bacula-dir.conf
Regards,




-- Toda la información contenida en este correo electrónico es confidencial y 
para conocimiento exclusivo de su destinatario. Agradeceremos que Ud. nos 
comunique inmediatamente si ha recibido este correo por error. En tal caso, 
evite hacer uso del mismo en forma alguna y elimínelo inmediatamente de su 
sistema.
--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula Course

2011-08-10 Thread Kern Sibbald
Hello,

I hope you are all enjoying the summer despite the major disruptions of all
sorts (uprisings, tsunamis, bizarre weather, financial crisis, ...) we 
have been
seeing in the world recently.

We still have a few places available in the Bacula Administration Course 
to be
given the 23-25 August in Yverdon-les-Bains, Switzerland.  The only 
requirement
for this course is that you have reasonable system administrator skills 
on Linux.

If you would like to learn more about the course, please go to:

www.baculasystems.com - Training Course Schedule

If you are with a company, I offer you a 15% discount for one person and 
more
for two.  If you are a community member (not being paid by a company to 
come
to the course), I can offer you a *very* substantial price reduction as 
our way of
giving back to the community.  There are, however, a limited number of 
community
places available in each course we give.

If you are interested, please send me an email directly, rather than 
register on
the web site, and I will ensure you can get into the class at a discount.

This course was originally intended for beginners, but over the years we 
have been
giving it, we have realized that quite a number of experienced Bacula 
users have
attended the course, and they have all been very satisfied.

By the way, I will either be teaching the course myself, or at a 
minimum, I will
invite all the participants to dinner on the 24th.

Hope to see you there,

Kern

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Possible bug in database update code

2011-08-10 Thread Martin Simmons
 On Tue, 9 Aug 2011 12:02:18 +0200, Frank Altpeter said:
 
 Hi there,
 
 It's possible that I just hit a bug with the routines that are
 updating the catalog database.
 
 Following prerequisites:
 
 Server OS: SUSE Linux Enterprise Server 11 (x86_64)
 Bacula Version: 5.0.3
 MySQL Version: 5.0.67
 Catalog Database size: 49G
 
 The configuration states to do incremental backup daily except sunday
 night where the full backup is running. Full backup is done from
 client to disk via vchanger. After all full backups are done, monday
 afternoon a copy job is being run which brings the full backups from
 vchanger to an LTO-4 tape changer.
 Usually this setting is running fine.
 
 Today (tuesday) one of my clients is doing a full backup, where it
 should run incremental. Looking in the log it says Prior failed job
 found in catalog. Upgrading to Full.. I was wondering about that,
 because I know that the incremental backup from yesterday was running
 fine.
 
 So I checked the database entries for this client. I've put the output of
 
 select 
 JobId,PriorJobId,Job,Type,Level,JobStatus,SchedTime,StartTime,EndTime,RealEndTime
 from Job where Name like 'host.customer.com%' order by JobId;
 
 into http://pastebin.com/4CVHzqaD for review.
 
 The interesting line are the ones with JobId 113187 and 112500. I
 don't know why these two jobs have identical values for StartTime and
 EndTime. I think that some catalog update routine was going wrong here
 because it was confused by the running copy job. I see that database
 entry as reason that the incremental job of today thinks that the last
 job failed.

The identical values for StartTime and EndTime are normal for copy jobs, so
there is probably a bug in the code that finds the prior failed job.

The copy job 113295 was still running at 2011-08-09 00:42:01 (when 113450
found the prior failed job) so I suspect it found that copy job instead of the
real full job 113026.

I suggest you report it at bugs.bacula.org, with the full logs and the
pastebin contents.

__Martin

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Can't restore file spanning across multiple volumes

2011-08-10 Thread Martin Simmons
 On Tue, 09 Aug 2011 11:40:17 +0200, Bartosz Cisek said:
 
 Hi!
 
 I try to restore file from backup, but bacula fails. We backup binlog
 files  every 15 minutes. There is only one file in each job. All other
 files from this day/week can be restored. This one has one difference,
 is placed on two Volumes (204 and 255).
 
 I don't konw if this relevant, but our volumes are ordinary files.
 Backup was made when in bacula-sd option
 
 Hardware End of File = no
 
 was not set. I added but didn't help.

That option only affects tapes.


   We use bacula 5.0.3. Any ideas
 what went wrong?
 
 bconsole list files jobid=8228320
 +-+
 | Filename|
 +-+
 | /var/lib/mysql/mysql-bin.015514 |
 +-+
 
 bconsole list jobmedia jobid=8228320
 +---+++---+
 | JobId | VolumeName | FirstIndex | LastIndex |
 +---+++---+
 | 8,228,320 | bacula-vtape-backup-000204 |  1 | 1 |
 | 8,228,320 | bacula-vtape-backup-000255 |  1 | 1 |
 +---+++---+
 +---+--+-+--+---+--+--+---+
 | JobId | Name | StartTime   | Type | 
 Level | JobFiles | JobBytes | JobStatus |
 +---+--+-+--+---+--+--+---+
 | 8,228,320 | job-hostname-bin-logs| 2011-08-07 06:03:48 | B| I   
   |1 |  113,188 | T |
 +---+--+-+--+---+--+--+---+

It is unclear what went wrong.

The llist command will give a little more information:

llist jobmedia jobid=8228320

You could also try running the bacula-fd at debug level 200 and collect the
output.

__Martin

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula Course

2011-08-10 Thread Ben Walton
Excerpts from Mike Hobbs's message of Wed Aug 10 08:44:43 -0400 2011:

 Kern, this is something that I have wanted to take since I started
 using Bacula late last year.  I don't know if I can get my company
 to pay for a trip to Switzerland (or anywhere across the pond), will
 you be offering this course in the USA at any point?

I'd love a course like this within driving distance of Toronto too.

Thanks
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302


--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Bacula client on Windows Seven and Vista don't work

2011-08-10 Thread sabrina bomel
Hello,



I have got a server Debian Squeeze 6.0.2, updated.

I’ve installed mysql-server. Then I’ve installed Bacula, using command
“apt-get install”. Installation’s good.

I’ve done some tests :

-  I’ve put a debian squeeze client : Backup ok

-  Some Windows Seven clients, on which I’ve put the lastest version
of Bacula.



I’ve got problems with the Windows Seven clients.

I’ve got *one client (PC-inf-03)*, works properly for save, but unable to
start BAT, and I’ve got this message:
 bat:ABORTING due to ERROR in console/console.cpp:155
Failes to connect to SRVTLX01-dir for populateLists.


I’ve got some errors reported in Windows Events :

*Nom de l’application défaillante bat.exe, version : 0.0.0.0, horodatage :
0x4bd743cf*
*Nom du module défaillant : bacula.dll, version : 0.0.0.0, horodatage :
0x4bd74377*
*Code d’exception : 0xc005*
*Décalage d’erreur : 0x00032f45*
*ID du processus défaillant : 0x16a0*
*Heure de début de l’application défaillante : 0x01cc57347e9d42a5*
*Chemin d’accès de l’application défaillante : C:\Program
Files\Bacula\bat.exe*
*Chemin d’accès du module défaillant: C:\Program Files\Bacula\bacula.dll*
*ID de rapport : df66dc12-c327-11e0-af8e-14feb5e22837*

The Bacula service start only manually.

*Other clients* : unable to start BAT, unable to start the Bacula service
too. And there’s an error 1067 when trying to start bacula service.
The Server Bacula : unable to join them.


So I wish you’ll help me.
Thanks a lot,

Sabrina BOMEL
--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Virtual diff instead of full

2011-08-10 Thread Marcus Hallberg
Hi!

Is there anyone out there that has seen this problem or have any idea of what 
it could be?

I have rewritten all the configparts related to this job, I have copied and 
pasted from other configfiles that works and as you can see from earlier 
postings it selcts the correct files needed to do the job but then it just 
ignores the fullbackup and starts reading from the diffbackup and if I let it 
do the job it finishes happy, says that it worked fine but the size is that of 
a diffbackup.

This problem is only for one backupjob all the others where I use VirtualFull 
is working great, unfortunatly this is my largest fullbackup so I would really 
want to make it work. 



/marcus 
-- 



/Marcus Hallberg 
Wimlet Consulting AB 
Gamla Varvsgatan 1 
414 59 Göteborg 
Tel: 031-3107000 
Direkt 031-3107010 
e-post: mar...@wimlet.se 
hemsida: www.wimlet.se 

- Ursprungligt meddelande -
Från: Marcus Hallberg mar...@wimlet.se
Till: bacula-users@lists.sourceforge.net
Skickat: måndag, 25 jul 2011 11:47:10
Ämne: Re: [Bacula-users] Virtual diff instead of full

Hi!

Thanks for the tip and sorry for the delay in feedback.

I turned on logging and I have tried to sift through to find out where it goes 
wrong...

I made a new Differential backup and I tried to make a new VirtualFull but with 
the same result.

According to the logs it makes a query containing the four JobIds needed to 
complete a virtual full (42420,43284,43296,43332)

SELECT Path.Path, Filename.Name, Temp.FileIndex, Temp.JobId, LStat, MD5 FROM ( 
SELECT FileId, Job.JobId AS JobId, FileIndex, File.PathId AS PathId, 
File.FilenameId AS FilenameId, LStat, MD5 FROM Job, File, ( SELECT 
MAX(JobTDate) AS JobTDate, PathId, FilenameId FROM ( SELECT JobTDate, PathId, 
FilenameId FROM File JOIN Job USING (JobId) WHERE File.JobId IN 
(42420,43284,43296,43332) UNION ALL SELECT JobTDate, PathId, FilenameId FROM 
BaseFiles JOIN File USING (FileId) JOIN Job  ON(BaseJobId = Job.JobId) 
WHERE BaseFiles.JobId IN (42420,43284,43296,43332) ) AS tmp GROUP BY PathId, 
FilenameId ) AS T1 WHERE (Job.JobId IN ( SELECT DISTINCT BaseJobId FROM 
BaseFiles WHERE JobId IN (42420,43284,43296,43332)) OR Job.JobId IN 
(42420,43284,43296,43332)) AND T1.JobTDate = Job.JobTDate AND Job.JobId = 
File.JobId AND T1.PathId = File.PathId AND T1.FilenameId = File.FilenameId ) AS 
Temp JOIN Filename ON (Filename.FilenameId = Temp.FilenameId) JOIN Path ON 
(Path.PathId = Temp.PathId) WHERE FileIndex  0 ORDER BY Temp.JobId, FileIndex 
ASC;

If I query the database to make sure that this is the four jobbs needed I get 
the right result:

mysql select Job, Type, Level, ClientId, JobStatus from Job where JobId = 
42420 or JobId = 43284 or JobId = 43296 or JobId = 43332;
++--+---+--+---+
| Job| Type | Level | ClientId | JobStatus |
++--+---+--+---+
| edstrom.2010-09-17_23.55.00_07 | B| F |8 | T |
| edstrom.2011-07-22_22.42.11_23 | B| D |8 | T |
| edstrom.2011-07-23_22.04.00_37 | B| I |8 | T |
| edstrom.2011-07-24_22.04.00_19 | B| I |8 | T |
++--+---+--+---+
4 rows in set (0.00 sec)

After this I do not get another referens to the Fulljob not by JobId or by name 
but the Diffjob is referenced both by Id and by name.


I'm not really sure where to go from here so if anyone has an Ideas I am 
willing to try it.


/marcus 
-- 





- Ursprungligt meddelande -
Från: James Harper james.har...@bendigoit.com.au
Till: Marcus Hallberg mar...@wimlet.se, Bacula-users@lists.sourceforge.net
Skickat: tisdag, 12 jul 2011 13:37:41
Ämne: RE: [Bacula-users] Virtual diff instead of full

 Hi!
 
 I have problem with Virtual full on one set of backups where it does
not give
 me a virtual full but a virtual diff instead.
 
 The last fullbackup was about 125 GB and an new estimate says that a
new full
 would be about 200 GB.
 
 When I ask i to produce a new VirtualFull it starts reading from the
last Diff
 and gives me a virtual full file of about 50 GB wich is about the size
of my
 diffs.
 
 Does anyone have any pointers they would be greatly appressiated
 

If you want to get your hands dirty and like sifting through logfiles
you can turn on mysql logging (assuming you are using mysql) and have a
look at what queries are used to determine the volumes that make up the
virtualfull.

Regular bacula debug logging may help too.

James

--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! 

Re: [Bacula-users] Can't restore file spanning across multiple volumes

2011-08-10 Thread Bartosz Cisek
W dniu 10.08.2011 15:07, Martin Simmons pisze:

Thanks for reply :)

 It is unclear what went wrong.
 
 The llist command will give a little more information:
 
 llist jobmedia jobid=8228320

bconsole llist jobmedia jobid=8228320
Automatically selected Catalog: catalog
Using Catalog catalog
 JobMediaId: 6,721,875
  JobId: 8,228,320
MediaId: 3,348
 VolumeName: bacula-vtape-backup-000204
 FirstIndex: 1
  LastIndex: 1
  StartFile: 0
EndFile: 0
 StartBlock: 258,294
   EndBlock: 307,813

 JobMediaId: 6,721,874
  JobId: 8,228,320
MediaId: 3,399
 VolumeName: bacula-vtape-backup-000255
 FirstIndex: 1
  LastIndex: 1
  StartFile: 1
EndFile: 0
 StartBlock: 4,294,788,096
   EndBlock: 0

   JobId: 8,228,320
 Job: job-db-mails5-mysql-bin-logs.2011-08-07_06.03.02_57
Name: job-db-mails5-mysql-bin-logs
 PurgedFiles: 0
Type: B
   Level: I
ClientId: 122
Name: fd-db-mails5
   JobStatus: T
   SchedTime: 2011-08-07 06:03:02
   StartTime: 2011-08-07 06:03:48
 EndTime: 2011-08-07 06:04:15
 RealEndTime: 2011-08-07 06:04:15
JobTDate: 1,312,689,855
VolSessionId: 958,674
  VolSessionTime: 1,305,911,228
JobFiles: 1
   JobErrors: 0
 JobMissingFiles: 0
  PoolId: 11
PooLname: pool-vtape-backup-daily
  PriorJobId: 0
   FileSetId: 14
 FileSet: fs-mysql-bin-logs


 You could also try running the bacula-fd at debug level 200 and
 collect the output.

I set debug level to 200 (with setdebug command) and told bacula-fd
client to send back to director all messages, but nothing new arrived.
-- 
Bartosz Cisek
Admin

email: bartosz.ci...@nasza-klasa.pl
tel: +48 519 300 122

Nasza Klasa Sp. z o.o.,
ul. Gen. J. Bema 2, 50-265 Wrocław

Sąd Rejonowy dla Wrocławia - Fabrycznej we Wrocławiu,
VI Wydział Gospodarczy Krajowego Rejestru Sądowego,
nr KRS:289629, NIP:898-21-22-104 REGON:020586020,
Kapitał zakładowy: 67 850,00 PLN

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bscan problem

2011-08-10 Thread Juan Pablo Lorier
Dear Michael,

You're right, after several runs I forgot to place the flag and then
just copied the command and never saw it missing. That's why it's no
longer creating the record, Anyway, the error continues.
The right output is:

 bscan -m -s -v -c /etc/bacula/bacula-sd.conf -V Peliculas0001 /dev/nst0
bscan: butil.c:281 Using device: /dev/nst0 for reading.
10-ago 10:27 bscan JobId 0: Ready to read from volume Peliculas0001 on
device LTO-5 (/dev/nst0).
bscan: bscan.c:308 Using Database: bacula, User: bacula
bscan: bscan.c:450 Pool record for Peliculas found in DB.
bscan: bscan.c:464 Pool type Backup is OK.
bscan: bscan.c:474 Media record for Peliculas0001 found in DB.
bscan: bscan.c:492 Media type LTO-5 is OK.
bscan: bscan.c:502 VOL_LABEL: OK for Volume: Peliculas0001
bscan: bscan.c:1016 Created Client record for Client:
san.montecarlotv.com.uy-fd
bscan: bscan.c:1099 Created new JobId=184 record for original JobId=59
10-ago 11:30 bscan JobId 0: End of Volume at file 39 on device
LTO-5 (/dev/nst0), Volume Peliculas0001
bscan: bscan.c:337-0 == JobId=0 
bscan: bscan.c:337-0 == JobId=184 
bscan: bscan.c:342 Create JobMedia for Job
PeliculasJOB.2011-06-17_11.59.05_26
bscan: bscan.c:1246 Created JobMedia record JobId 184, MediaId 22
bscan: bscan.c:966 Updated Media record at end of Volume: Peliculas0001
10-ago 11:30 bscan JobId 0: End of all volumes.
bscan: bscan.c:966 Updated Media record at end of Volume: Peliculas0001
bscan: bscan.c:637 End of all Volumes. VolFiles=39 VolBlocks=0
VolBytes=385,741,503,109
Records added or updated in the catalog:
  1 Media
  1 Pool
  1 Job
 22 File

As you can see, bscan reports no error, but the record in the database
is not right. 
I found that the FileSetId does not match the original Id, instead
figures as 0 and that seems to be the only error I manually changed
it.
I marked the job manually as correct in the database and trying to
recover a file to see if this works, I don't know if that's safe, but at
least to keep it in the base until we figure out where I'm messing up.
Regards
-- 





-- Toda la información contenida en este correo electrónico es confidencial y 
para conocimiento exclusivo de su destinatario. Agradeceremos que Ud. nos 
comunique inmediatamente si ha recibido este correo por error. En tal caso, 
evite hacer uso del mismo en forma alguna y elimínelo inmediatamente de su 
sistema.
--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Can't restore file spanning across multiple volumes

2011-08-10 Thread Martin Simmons
 On Wed, 10 Aug 2011 16:40:40 +0200, Bartosz Cisek said:
 
 W dniu 10.08.2011 15:07, Martin Simmons pisze:
 
 Thanks for reply :)
 
  It is unclear what went wrong.
  
  The llist command will give a little more information:
  
  llist jobmedia jobid=8228320
 
 bconsole llist jobmedia jobid=8228320
 Automatically selected Catalog: catalog
 Using Catalog catalog
  JobMediaId: 6,721,875
   JobId: 8,228,320
 MediaId: 3,348
  VolumeName: bacula-vtape-backup-000204
  FirstIndex: 1
   LastIndex: 1
   StartFile: 0
 EndFile: 0
  StartBlock: 258,294
EndBlock: 307,813
 
  JobMediaId: 6,721,874
   JobId: 8,228,320
 MediaId: 3,399
  VolumeName: bacula-vtape-backup-000255
  FirstIndex: 1
   LastIndex: 1
   StartFile: 1
 EndFile: 0
  StartBlock: 4,294,788,096
EndBlock: 0
 
JobId: 8,228,320
  Job: job-db-mails5-mysql-bin-logs.2011-08-07_06.03.02_57
 Name: job-db-mails5-mysql-bin-logs
  PurgedFiles: 0
 Type: B
Level: I
 ClientId: 122
 Name: fd-db-mails5
JobStatus: T
SchedTime: 2011-08-07 06:03:02
StartTime: 2011-08-07 06:03:48
  EndTime: 2011-08-07 06:04:15
  RealEndTime: 2011-08-07 06:04:15
 JobTDate: 1,312,689,855
 VolSessionId: 958,674
   VolSessionTime: 1,305,911,228
 JobFiles: 1
JobErrors: 0
  JobMissingFiles: 0
   PoolId: 11
 PooLname: pool-vtape-backup-daily
   PriorJobId: 0
FileSetId: 14
  FileSet: fs-mysql-bin-logs

OK, that looks normal I think.


  You could also try running the bacula-fd at debug level 200 and
  collect the output.
 
 I set debug level to 200 (with setdebug command) and told bacula-fd
 client to send back to director all messages, but nothing new arrived.

The debug messages are either written to stderr or to the trace file.

Add trace=1 to the setdebug command and look for the bacula-fd.trace file in
the working directory.

__Martin

--
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Exchange Plugin Restore

2011-08-10 Thread James Harper
That just looks like an incremental backup... is that the case?

James

 -Original Message-
 From: Duncan McQueen [mailto:dmcqu...@vomer.com]
 Sent: Thursday, 11 August 2011 07:02
 To: James Harper; Bacula-users@lists.sourceforge.net
 Subject: RE: [Bacula-users] Exchange Plugin Restore
 
 Looking back at it - looks like backup didn't occur:
 
 See attached
 
 
 From: James Harper [james.har...@bendigoit.com.au]
 Sent: Tuesday, August 09, 2011 6:37 PM
 To: Duncan McQueen; Bacula-users@lists.sourceforge.net
 Subject: RE: [Bacula-users] Exchange Plugin Restore
 
 
  Has anyone gotten these errors:
 
  2011-08-09 14:06:02 svr-fd JobId 575: Error:
  /tmp/bacula/bacula/src/findlib/mkpath.c:49 Cannot create directory
  /@EXCHANGE/Microsoft Information Store/First Storage Group/Mailbox
 Store
  (VOMMAIN-SVR)/C:: ERR=Invalid argument
 
  2011-08-09 14:21:26 svr-fd JobId 575: Error:
  /tmp/bacula/bacula/src/findlib/mkpath.c:49 Cannot create directory
  /@EXCHANGE/Microsoft Information Store/First Storage Group/Public
 Folder Store
  (VOMMAIN-SVR)/C:: ERR=Invalid argument
 
  2011-08-09 14:26:07 svr-fd JobId 575: Error:
  /tmp/bacula/bacula/src/findlib/mkpath.c:49 Cannot create directory
  /@EXCHANGE/Microsoft Information Store/First Storage Group/C::
 ERR=Invalid
  argument
 
  When trying to restore Exchange from the Plugin?  This is Exchange
 2003.  Is
  there a way around these, or is the backup effectively broken?
 
 
 There is a problem with restoring from incremental backups, but your
 problem looks different and I haven't seen it before.  Can you send me
 the output of 'list files' from the backup job?
 
 James

--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
http://p.sf.net/sfu/wandisco-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Exchange Plugin Restore

2011-08-10 Thread Duncan McQueen
Good point - I'll find the root backup.  

From: James Harper [james.har...@bendigoit.com.au]
Sent: Wednesday, August 10, 2011 7:44 PM
To: Duncan McQueen; Bacula-users@lists.sourceforge.net
Subject: RE: [Bacula-users] Exchange Plugin Restore

That just looks like an incremental backup... is that the case?

James

 -Original Message-
 From: Duncan McQueen [mailto:dmcqu...@vomer.com]
 Sent: Thursday, 11 August 2011 07:02
 To: James Harper; Bacula-users@lists.sourceforge.net
 Subject: RE: [Bacula-users] Exchange Plugin Restore

 Looking back at it - looks like backup didn't occur:

 See attached

 
 From: James Harper [james.har...@bendigoit.com.au]
 Sent: Tuesday, August 09, 2011 6:37 PM
 To: Duncan McQueen; Bacula-users@lists.sourceforge.net
 Subject: RE: [Bacula-users] Exchange Plugin Restore

 
  Has anyone gotten these errors:
 
  2011-08-09 14:06:02 svr-fd JobId 575: Error:
  /tmp/bacula/bacula/src/findlib/mkpath.c:49 Cannot create directory
  /@EXCHANGE/Microsoft Information Store/First Storage Group/Mailbox
 Store
  (VOMMAIN-SVR)/C:: ERR=Invalid argument
 
  2011-08-09 14:21:26 svr-fd JobId 575: Error:
  /tmp/bacula/bacula/src/findlib/mkpath.c:49 Cannot create directory
  /@EXCHANGE/Microsoft Information Store/First Storage Group/Public
 Folder Store
  (VOMMAIN-SVR)/C:: ERR=Invalid argument
 
  2011-08-09 14:26:07 svr-fd JobId 575: Error:
  /tmp/bacula/bacula/src/findlib/mkpath.c:49 Cannot create directory
  /@EXCHANGE/Microsoft Information Store/First Storage Group/C::
 ERR=Invalid
  argument
 
  When trying to restore Exchange from the Plugin?  This is Exchange
 2003.  Is
  there a way around these, or is the backup effectively broken?
 

 There is a problem with restoring from incremental backups, but your
 problem looks different and I haven't seen it before.  Can you send me
 the output of 'list files' from the backup job?

 James

--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
http://p.sf.net/sfu/wandisco-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users