SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
BackupCatalog failes
Author Message
Post BackupCatalog failes 
On Thu, Feb 2, 2012 at 10:13 AM, Honia A <honia2002 < at > hotmail.com> wrote:
OK, here's an update:

Ran the following two commands and the permission error didn't show up
again:

chown root:bacula /var/lib/bacula/bacula.sql
chmod 777 /var/lib/bacula/bacula.sql


But instead, got the errors below while trying to run the BackupCatalog job,
please help!

02-Feb 10:07 babar-sd JobId 1728: Fatal error: Device reservation failed for
JobId=1728:
02-Feb 10:07 babar-dir JobId 1728: Fatal error:
     Storage daemon didn't accept Device "FileStorage" because:
     3924 Device "FileStorage" not in SD Device resources.

Do you have a device called exactly "FileStorage" in your
bacula-sd.conf? If so have you changed either of the configuration
files without restarting the daemons or the reload command for the
case of bacula-dir.conf?

John

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

View user's profile Send private message
Post BackupCatalog failes 
On Wed, Feb 8, 2012 at 9:44 AM, Honia A <honia2002 < at > hotmail.com> wrote:
Yes there is, but I just found out it has been commented out. Not sure if
the previous IT person who installed Bacula intentially commented this out
or not. But if I leave it like that and disable the job BackupCatalog from
bconsole, what would the effect be on the rest of my backups?

I have 4 other servers which I have Bacula installed on them and they all
have been backed up by Bacula just fine, I would like to know if I leave the
BackupCatalog job out of the procedure, will that make any bad effect on the
rest of my backups?

It will cause any jobs that are using FileStorage to fail. Like the
example you posted..


John

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

View user's profile Send private message
Post BackupCatalog failes 
On Wed, Feb 8, 2012 at 2:55 PM, Honia A <honia2002 < at > hotmail.com> wrote:
When I go to bconsole and type status, then no. 4, I get the *Backup OK*
message at the end of all the jobs, so nothing fails. Is there any way I can
check to see what's failing?


From your output a few emails back it was the catalog job that failed
because there was no such device FileStorage to send the data to...

Here is a part of what you sent:

02-Feb 10:07 babar-sd JobId 1728: Fatal error: Device reservation
failed for JobId=1728:
02-Feb 10:07 babar-dir JobId 1728: Fatal error:
Storage daemon didn't accept Device "FileStorage" because:
3924 Device "FileStorage" not in SD Device resources.
02-Feb 10:07 babar-dir JobId 1728: Error: Bacula babar-dir 5.0.1
(24Feb10): 02-Feb-2012 10:07:39

Build OS: x86_64-pc-linux-gnu ubuntu 10.04
JobId: 1728
Job: BackupCatalog.2012-02-02_10.07.28_36

Backup Level: Full
Client: "babar-fd" 5.0.1 (24Feb10)
x86_64-pc-linux-gnu,ubuntu,10.04
FileSet: "Catalog" 2011-02-03 01:10:00
Pool: "File" (From Job resource)
Catalog: "MyCatalog" (From Client resource)
Storage: "File" (From Job resource)
Scheduled time: 02-Feb-2012 10:07:26
Start time: 02-Feb-2012 10:07:34
End time: 02-Feb-2012 10:07:39

John

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

View user's profile Send private message
Post BackupCatalog failes 
On Wed, Feb 8, 2012 at 6:32 PM, Honia <honia2002 < at > hotmail.com> wrote:
Right, that was when I had the BackupCatalog as a part of my backup routine. But if I disable the BackupCatalog job, all other four jobs run smoothly without any errors. Now my question was if I keep the BackupCatalog disabled, does it have any impact on the rest of the backups in case one day I need to restore either four servers?


If your catalog gets corrupted you will have to have bacula read each
and every tape to recreate the catalog. Bacula utilty tools will do
that for you. However I expect this to take a lot of time.

John

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

View user's profile Send private message
Post BackupCatalog failes 
Thanks John, what is the catalog good for? Does it have any impact on the four servers (mail server, file server, etc.) which have been backed up with Bacula?

The catalog is the database that bacula uses to keep a record of what
it has backed up, and what media it has used ... Without a catalog you
will not be able to run backups or restore individual files.

http://www.bacula.org/en/dev-manual/main/main/What_is_Bacula.html#SECTION00225000000000000000

John

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

View user's profile Send private message
Post BackupCatalog failes 
Thanks for your help. What I can't understand is why all four backup jobs
running well without an error then? if I understand you correctly, you're
saying if the BackupCatalog fails, the backup jobs should all fail?

No. I am saying if the catalog gets corrupted and you do not make
regular backups of the catalog it will be a pain to recreate it so it
is best to fix the catalog backup job or just make a nightly dump of
your catalog database to a different machine using a cron job.

John

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

View user's profile Send private message
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB