Bacula-users

Re: [Bacula-users] backup catalog fail?

2009-07-03 17:13:10
Subject: Re: [Bacula-users] backup catalog fail?
From: John Drescher <drescherjm AT gmail DOT com>
To: rperezm AT uci DOT cu
Date: Fri, 3 Jul 2009 17:01:10 -0400
2009/7/3 Reynier Perez Mira <rperezm AT uci DOT cu>:
> ginzzer wrote:
>>
>> I check that, no /var/bacula directory. But I also check
>> make_catalog_backup, seems that it will produced a sql naming with the
>> database instead of bacula.sql, I change the corresponding option in the
>> configuration file and it seems work fine now. So am I doing it right?
>>
>> on 2/7/2009 5:20:03, Kevin Keane <subscription AT kkeane DOT com> wrote:
>> Re: [Bacula-users] backup catalog fail?
>>
>>
>
> Hi every:
> I have a question here. I need to backup Bacula DB (PostgreSQL) too. My Job
> for do that is as follow:
>
> Job {
>  Name = "BackupCatalog"
>  JobDefs = "DefaultJob"
>  Level = Full
>  FileSet="Catalog"
>  Schedule = "WeeklyCycleAfterBackup"
>  RunBeforeJob = "/etc/bacula/make_catalog_backup bacula_db bacula_user
> bacula_pass 10.128.50.3"
>  RunAfterJob  = "/etc/bacula/delete_catalog_backup"
>  Write Bootstrap = "/var/bacula/working/BackupCatalog.bsr"
>  Priority = 11                   # run after main backup
> }
>
> This create a file called bacula.sql in /var/bacula/working. Now I want to
> backup this file to my Storage (File). How I do that? I mean wich is the
> correct configuration? I need to create another Job?
>

Add Storage=File to the Job Definition. Assuming that your file device
is named File

John

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users