Arno,
thanks.
I created now two subdirectories, full and diff.
In the sd the filestorage sections now point to /var/int_backup/full and
/var/int_backup/diff.
Running two jobs, one full one diff give me this result:
Device status:
Device "FileStorage" (/var/int_backup) is not open or does not exist.
Device "FileStorage2" (/var/int_backup/diff) is not open or does not exist.
Device "FileStorage3" (/var/int_backup/full) is mounted with
Volume="Veritas-Diff-0012" Pool="Diff"
Total Bytes=129,217,537 Blocks=2,003 Bytes/block=64,512
Positioned at File=0 Block=129,217,752
I will give up for today.
Ralf
On 4/24/07, Arno Lehmann <[EMAIL PROTECTED]> wrote:
Hi,
On 4/24/2007 10:09 AM, Ralf Winkler wrote:
> I am cross eyed now.
> I can not find where i did the mistake.
> So maybe someone on this list can it point out to me.
>
> I do a full backup every monday, and a differential all other days.
> I create to Pools, one for the full, one for the diff.
> Also create two Storages.
> But if there is a full is running, the differential get blocked.
>
> As far as i understand the documentation, it should be possible to have
> a full and a differential running at the same time.
>
> Here is the error message!
>
> Jobs waiting to reserve a drive:
> 3608 JobId=374 wants Pool="Diff" but have Pool="Full" on drive
> "FileStorage3" (/var/int_backup).
> 3607 JobId=374 wants Vol="Veritas-Diff-0011" drive has Vol="" on
> drive "FileStorage3" (/var/int_backup).
Ok, the problem is that both jobs refer to the same storage device:
FileStorage3.
> Here the config:
>
> bacula-dir.conf
...
FileStorage2 and FileStorage3 are defined. Good.
> Storage {
> Name = Full
> # Do not use "localhost" here
> # Address = veritas-safebox # N.B. Use a fully qualified name
here
> Address = 192.168.0.253 <http://192.168.0.253> # N.B. Use a
> fully qualified name here
Is that *really* your Address line? I'm a little astonished about the
<http://-stuff...
> SDPort = 9103
> Password = "<pw>"
> Device = FileStorage3
> Media Type = File
> Maximum Concurrent Jobs = 4
> }
>
> Storage {
> Name = Diff
> # Do not use "localhost" here
> # Address = veritas-safebox # N.B. Use a fully qualified name
here
> Address = 192.168.0.253 <http://192.168.0.253> # N.B. Use a
> fully qualified name here
> SDPort = 9103
> Password = "<pw>"
> Device = FileStorage2
> Media Type = File
> Maximum Concurrent Jobs = 4
>
> # Default pool definition
> Pool {
> Name = Default
> Pool Type = Backup
> Recycle = yes # Bacula can automatically recycle
> Volumes
> AutoPrune = yes # Prune expired volumes
> Volume Retention = 10 days # one year
> Accept Any Volume = yes # write on any volume in the pool
> VolumeUseDuration = 1200 m
> Maximum Volumes = 8
> LabelFormat = "Veritas-File"
> }
>
> Pool {
> Name = Full
> Pool Type = Backup
> Recycle = no
> AutoPrune = yes
> Volume Retention = 100d
> VolumeUseDuration = 6d
> Accept Any Volume = yes
> LabelFormat = "Veritas-Full-"
> }
>
>
> Pool {
> Name = Diff
> Pool Type = Backup
> Recycle = no
> AutoPrune = yes
> Volume Retention = 14d
> VolumeUseDuration = 23h
> Accept Any Volume = yes
> LabelFormat = "Veritas-Diff-"
> }
One solution would be to link each pool to its own storage device, using
a Storage= directive.
> Client:
> JobDefs {
> Name = "Amy-Def"
> Type = Backup
> Level = Differential
> Client = Amy-fd
> FileSet = "Fileset-Amy"
> Schedule = "WeeklyCycle-Amy"
> Storage = File
> Messages = Failed
> Pool = Default
> Full Backup Pool = Full
> Differential Backup Pool = Diff
> Priority = 10
> }
>
>
> JobDefs {
> Name = "Amy-Def"
> Type = Backup
> Level = Full
> Client = Amy-fd
> FileSet = "Fileset-Amy"
> Schedule = "WeeklyCycle-Amy"
> Storage = Full
> Messages = Failed
> Pool = Full
> Full Backup Pool = Full
> Differential Backup Pool = Diff
> Priority = 10
> }
>
> Schedule {
> Name = "WeeklyCycle-Amy"
> Run = Level=Full Pool=Full mon at 14:20
> Run = Level=Differential Pool=Diff tue-fri at 14:20
> }
This looks ok, but you seem to have two JobDefs "Amy-Def".
For different storage devices for the levels, you could also add a
storage= override to the schedule lines.
>
>
> bacula-sd.conf
>
> Device {
> Name = FileStorage
> Media Type = File
> Archive Device = /var/int_backup
> LabelMedia = yes; # lets Bacula label unlabeled
media
> Random Access = Yes;
> AutomaticMount = yes; # when device opened, read it
> RemovableMedia = no;
> AlwaysOpen = no;
> }
> Device {
> Name = FileStorage2
> Media Type = File
> Archive Device = /var/int_backup
> LabelMedia = yes; # lets Bacula label unlabeled
media
> Random Access = Yes;
> AutomaticMount = yes; # when device opened, read it
> RemovableMedia = no;
> AlwaysOpen = no;
> }
> Device {
> Name = FileStorage3
> Media Type = File
> Archive Device = /var/int_backup
> LabelMedia = yes; # lets Bacula label unlabeled
media
> Random Access = Yes;
> AutomaticMount = yes; # when device opened, read it
> RemovableMedia = no;
> AlwaysOpen = no;
> }
I'm not sure that it's agood ida to have the storages use the same
directory; using identical Media Types will work then, probably, but I'd
prefer different storage directories and different media types.
> The system is Debian 3.1 and Bacula in the version 1.38.11.
>
> TIA
> Ralf
The ky problem is that you use the same storage device for all your
jobs, curently.
Arno
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users