Hello,

On 25.10.2005 20:55, Diogo Melo wrote:


I'm trying to backup using the parameter "Maximum Volume Jobs=1" and I get this error when I try to start more than once backup per time. At the end of message there is part of my bacula-sd.conf and bacula-dir.conf. Does anyone have any idea ? Is there an restriction about writting simultaneously to different files using the same device ?

You need to think not in file terms but in device terms... remember, Bacula is (originally) a tape backup program. So, each device can access only one volume at any given time. No exceptions.

By the way: Which version do you use?

The development version *should* at least hold the jobs and not fail them, but for me it doesn't always do this...

Arno

Thanks!



------------------------------------------------------------------------
25-Oct 16:32 en2-dir: Created new Volume "Backup0011" in catalog.
25-Oct 16:32 en2-sd: 1357512-lw-Backup-Full.2005-10-25_16.32.41 Fatal error: Device /restore/backup_disco is busy writing on another Volume. 25-Oct 16:34 1357512-lw-fd: 1357512-lw-Backup-Full.2005-10-25_16.32.41 Fatal error: job.c:1665 Bad response to Append Data command. Wanted 3000 OK data
, got 3903 Error append data

25-Oct 16:32 en2-dir: 1357512-lw-Backup-Full.2005-10-25_16.32.41 Error: Bacula 1.36.3 (22Apr05): 25-Oct-2005 16:32:49
  JobId:                  141
  Job:                     1357512-lw-Backup-Full.2005-10-25_16.32.41
  Backup Level:           Full
  Client:                 1357512-lw-fd
  FileSet:                "1357512-lw-lista-arquivos" 2005-10-13 13:09:31
  Pool:                   "PoolDisco"
  Storage:                "Storage-Disco"
  Start time:             25-Oct-2005 16:32:43
  End time:               25-Oct-2005 16:32:49
  FD Files Written:       0
  SD Files Written:       0
  FD Bytes Written:       0
  SD Bytes Written:       0
  Rate:                   0.0 KB/s
  Software Compression:   None
  Volume name(s):
  Volume Session Id:      7
  Volume Session Time:    1130257582
  Last Volume Bytes:      0
  Non-fatal FD errors:    0
  SD Errors:              0
  FD termination status:  Error
  SD termination status:  Error
  Termination:            *** Backup Error ***


-*-*-*-*-*-*-*-

This device config at bacula-sd.conf:

Device {
  Name = Disco                        #
  Media Type =  Files
  Archive Device = /restore/backup_disco
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = no;
  RemovableMedia = no;
  RandomAccess = yes;
  LabelMedia = yes;
}


Part of my bacula-dir.conf:

Storage {
  Name = Storage-Disco
Address = 10.14.1.56 <http://10.14.1.56> # N.B. Use a fully qualified name her
  SDPort = 9103
  Password = "baculadir"           # password for Storage daemon
  Device = Disco                # must be same as Device in Storage daemon
Media Type = Files # must be same as MediaType in Storage daemon
  Maximum Concurrent Jobs = 10
}

Pool {
  Name = PoolDisco
  Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention  = 20 days          # one year
  Accept Any Volume = yes             # write on any volume in the pool
  Maximum Volume Jobs = 1
  LabelFormat = "Backup"
}




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


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to