Hi,

Masopust Christian wrote:


Hello Arno, fine to here again from you! (as always when i need help...) ;-)) a short question to the procedure running bscan.... for that to complete successfully i'll need to know which volumes are already "active" (i.e. not purged), do i?

Yes, as far as I know you do.
I assume that it doesn't do any harm to scan purged volumes - the data will be inserted into the catalog and use some IDs there, though.

If you can't read baculas labels on the volumes easily you can use btape (or bls, I think) to find them.

Remember that I would not do this regularly - it's a lot of work and takes quite long, but when you catalog is broken... Well, one more reason to do daily catalog backups :-)

Arno

thanks,
christian
*Von:* Arno Lehmann [mailto:[EMAIL PROTECTED]
*Gesendet:* Di 06.09.2005 09:33
*An:* Masopust Christian
*Cc:* bacula-users@lists.sourceforge.net
*Betreff:* Re: [Bacula-users] Big problems with my Bacula.....

Hi,

Masopust Christian wrote:

 > Hello all,
 >
 > my configuration is as follows:
 >
 >  - Director and Storage at FedoraCore 3 system, Database Mysql 4.1.12,
 >    Backup to Disk (2 RAIDs with 2.6TB)
 >  - Clients are Linux, SUNs, Windows
 >
> Bacula run fine till last weekend. Since Sunday every job fails with messages > that entries to database ("INSERT INTO FILE (......") could not be made because
 > of "Duplicate entries"....

So the catalog is broken. Bad, but you should be able to correct it...

> First i thought that i caused this problem myself as i run a "mysqldump" of > the whole bacual-db last week and after that i reloaded id (maybe dumb, but i
 > heard that this could decrease size of db a little as mine is above 8GB).

I don't know if this is necessary or useful, but that might have caused
the problems.


> But i couldn't imagine that this causes my problems now because backup runs fine
 > after the dump-reload for 2 days...
 >
 > so, any idea what happening here?

Have you tried the dbcheck program to repair the database?
I suggest to make sure that bacula is not running when you modify the
database.

Be aware that the database check ca take very long.

You could also start with a new, completely empty catalog, and reinsert
your existing volumes using bscan.


 > thanks a lot,
 > chris
 >
> P.S.: btw, would it be better to have more catalogs when size of 1 catalog is
 >       as big is mine is?
 >

I don't know, but I'm quite sure that using more than one catalog can
result in some difficulties with you bacula setup.

Arno

 >
 > -------------------------------------------------------
 > SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
 > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
 > _______________________________________________
 > Bacula-users mailing list
 > Bacula-users@lists.sourceforge.net
 > https://lists.sourceforge.net/lists/listinfo/bacula-users
 >

--
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de


--
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to