hi

i have read the manual again and again and again......
but can't find the solution.

i have 10 tapes for 10 full-backups(montag1-freitag1, montag2-freitag2).
5 jobs are to write on one tape.

# Default pool definition
Pool {
  Name = Default
  Pool Type = Backup
  Recycle = yes
  AutoPrune = yes
  Volume Retention = 325 hours #13,5days
  Accept Any Volume = yes
  Recycle Current Volume = yes
  Maximum Volumes = 10
  Maximum Volume Jobs = 5
}


i will take donnerstag2 as example.
donnerstag2 had the status "Used" yesterday before the daily backup.

1st job(mounts the tape). this jobs is ok:

Job {
  Name = "_before"
  JobDefs = "DefaultJob"
  Type = Admin
  RunBeforeJob = "/etc/bacula/before_backup"
  Priority = 1
}

2nd job. look logfile below:

Job {
  Name = "thepig"
  JobDefs = "DefaultJob"
  Client = thepig-fd
  FileSet = "thepig"
  Write Bootstrap = "/var/bacula/thepig.bsr"
  Priority = 2
}

Schedule {
  Name = "DaylyCycle"
  Run = mon-fri at 20:00
}


here is the logfile.
the volume was pruned and status was set to "Recycle".
but to the tape was not written.


21-Jul 22:09 pe2800oracle-dir: Start Backup JobId 424,
Job=thepig.2005-07-21_20.00.01
21-Jul 22:36 pe2800oracle-dir: Pruned 5 Jobs on Volume "donnerstag2"
from catalog.
21-Jul 22:36 pe2800oracle-sd: Job thepig.2005-07-21_20.00.01 waiting.
Cannot find any appendable volumes.
Please use the "label"  command to create a new Volume for:
    Storage:      LTO Ultrium 2
    Media type:   LTO-G2
    Pool:         Default
21-Jul 23:36 pe2800oracle-dir: Recycled volume "donnerstag2"
21-Jul 23:36 pe2800oracle-sd: Please mount Volume "donnerstag2" on
Storage Device "LTO Ultrium 2" for Job thepig.2005-07-21_20.00.01
Use "mount" command to release Job.
22-Jul 01:36 pe2800oracle-sd: Please mount Volume "donnerstag2" on
Storage Device "LTO Ultrium 2" for Job thepig.2005-07-21_20.00.01
Use "mount" command to release Job.
22-Jul 05:36 pe2800oracle-sd: Please mount Volume "donnerstag2" on
Storage Device "LTO Ultrium 2" for Job thepig.2005-07-21_20.00.01
Use "mount" command to release Job.


this is the output after the jobs was canceled.

*list media
Pool: Default
+---------+-------------+-----------+--------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName  | VolStatus | VolBytes     | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
    |
+---------+-------------+-----------+--------------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 1       | montag1     | Used      | 371207648203 | 374      | 1170000
     | 1       | 0    | 1         | LTO-G2    | 2005-07-12 03:40:57 |
| 2       | dienstag1   | Used      | 375189988078 | 378      | 1170000
     | 1       | 0    | 1         | LTO-G2    | 2005-07-13 03:56:17 |
| 3       | mittwoch1   | Used      | 374915259786 | 377      | 1170000
     | 1       | 0    | 1         | LTO-G2    | 2005-07-14 04:43:18 |
| 4       | donnerstag1 | Used      | 372614864552 | 375      | 1170000
     | 1       | 0    | 1         | LTO-G2    | 2005-07-15 04:16:53 |
| 5       | freitag1    | Used      | 373439663991 | 376      | 1170000
     | 1       | 0    | 1         | LTO-G2    | 2005-07-16 04:11:37 |
| 7       | dienstag2   | Used      | 372883955813 | 376      | 1170000
     | 1       | 0    | 1         | LTO-G2    | 2005-07-20 04:55:07 |
| 9       | mittwoch2   | Read-Only | 1            | 0        | 1170000
     | 1       | 0    | 1         | LTO-G2    | 2005-07-07 04:06:36 |
| 10      | donnerstag2 | Recycle   | 1            | 0        | 1170000
     | 1       | 0    | 1         | LTO-G2    | 2005-07-08 03:56:32 |
| 11      | freitag2    | Used      | 374264238512 | 377      | 1170000
     | 1       | 0    | 1         | LTO-G2    | 2005-07-09 03:57:32 |
| 12      | montag2     | Used      | 373419137501 | 376      | 1170000
     | 1       | 0    | 1         | LTO-G2    | 2005-07-19 04:30:11 |
+---------+-------------+-----------+--------------+----------+--------------+---------+------+-----------+-----------+---------------------+



where is th error?


thx for help
rico


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to