Hey folks,

I'm sure I have had this issue settled however...

My goal is to overwrite the backup-to-disk volumes everyday except Thursday 
(another story). My understanding is that the following segment of my 
bacula-dir.conf file will do the trick. However, it is not.

# Default Job Definition
JobDefs {
        Name = DefaultJob
        Type = Backup
        Schedule = "WeeklyCycle"
        Storage = File
        Messages = Standard
        Pool = Default
        Priority = 10
}

# Associate VERACRUZ's files with the VERACRUZ server
Job {
        Name = "VERACRUZ-Full"
        JobDefs = "DefaultJob"
        Client = "VERACRUZ-fd"
        FileSet = "VERACRUZ_BU"
        Write Bootstrap = "/var/bacula/working/VERACRUZ.bsr"
        SpoolData = yes
}

# Wednesday storage pool
Pool {
        Name = WednesdayPool
        Pool Type = Backup
        Recycle = yes
        AutoPrune = yes
        Volume Retention = 5d
        Recycle Current Volume = yes
}

# The WeeklyCycle uses 5 different pools so that tapes can be recycled weekly
Schedule {
        Name = "WeeklyCycle"
#<...snip...>
        Run = Level=Differential Pool=TuesdayPool Tuesday at 22:00
#<...snip...>
}


This morning I was greeted with this message in my email account:

From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED]:[EMAIL PROTECTED]
Sent: Thursday, November 29, 2007 5:33:53 AM
To: sysadmin
Subject: Bacula: Backup OK of DB2-fd Differential Auto forwarded by a Rule

28-Nov 22:00 DURANGO-dir JobId 137: Start Backup JobId 137, 
Job=DB2-Full.2007-11-28_22.00.23 28-Nov 22:00 DURANGO-dir JobId 137: Using 
Device "FileStorage"
28-Nov 22:00 DURANGO-sd JobId 137: Volume "Wednesday1" previously written, 
moving to end of data.
28-Nov 22:00 DURANGO-sd JobId 137: Ready to append to end of Volume 
"Wednesday1" size=50698018070 28-Nov 22:00 DURANGO-sd JobId 137: Spooling data 
...
28-Nov 22:22 DURANGO-sd JobId 137: Writing spooled data to Volume. Despooling 
1,939,978,522 bytes ...
28-Nov 22:29 DURANGO-sd JobId 137: Despooling elapsed time = 00:06:47, Transfer 
rate = 4.766 M bytes/second 28-Nov 22:53 DURANGO-sd JobId 137: Writing spooled 
data to Volume. Despooling 1,941,010,885 bytes ...
28-Nov 23:00 DURANGO-sd JobId 137: Despooling elapsed time = 00:06:50, Transfer 
rate = 4.734 M bytes/second 28-Nov 23:18 DURANGO-sd JobId 137: Writing spooled 
data to Volume. Despooling 1,942,494,880 bytes ...
28-Nov 23:26 DURANGO-sd JobId 137: Despooling elapsed time = 00:06:57, Transfer 
rate = 4.658 M bytes/second 28-Nov 23:43 DURANGO-sd JobId 137: Writing spooled 
data to Volume. Despooling 1,940,301,065 bytes ...
28-Nov 23:50 DURANGO-sd JobId 137: Despooling elapsed time = 00:06:49, Transfer 
rate = 4.744 M bytes/second 29-Nov 00:08 DURANGO-sd JobId 137: Writing spooled 
data to Volume. Despooling 1,940,236,483 bytes ...
29-Nov 00:16 DURANGO-sd JobId 137: Despooling elapsed time = 00:06:49, Transfer 
rate = 4.743 M bytes/second 29-Nov 00:34 DURANGO-sd JobId 137: Writing spooled 
data to Volume. Despooling 1,940,301,099 bytes ...
29-Nov 00:41 DURANGO-sd JobId 137: Despooling elapsed time = 00:06:53, Transfer 
rate = 4.698 M bytes/second 29-Nov 00:56 DURANGO-sd JobId 137: Writing spooled 
data to Volume. Despooling 1,942,365,857 bytes ...
29-Nov 01:03 DURANGO-sd JobId 137: Despooling elapsed time = 00:06:50, Transfer 
rate = 4.737 M bytes/second 29-Nov 01:24 DURANGO-sd JobId 137: Writing spooled 
data to Volume. Despooling 1,940,236,538 bytes ...
29-Nov 01:32 DURANGO-sd JobId 137: Despooling elapsed time = 00:06:43, Transfer 
rate = 4.814 M bytes/second 29-Nov 01:49 DURANGO-sd JobId 137: Writing spooled 
data to Volume. Despooling 1,942,365,843 bytes ...
29-Nov 01:56 DURANGO-sd JobId 137: Despooling elapsed time = 00:06:50, Transfer 
rate = 4.737 M bytes/second 29-Nov 02:13 DURANGO-sd JobId 137: Writing spooled 
data to Volume. Despooling 1,941,978,668 bytes ...
29-Nov 02:20 DURANGO-sd JobId 137: Despooling elapsed time = 00:06:46, Transfer 
rate = 4.783 M bytes/second 29-Nov 02:37 DURANGO-sd JobId 137: Writing spooled 
data to Volume. Despooling 1,941,914,171 bytes ...
29-Nov 02:44 DURANGO-sd JobId 137: Despooling elapsed time = 00:06:45, Transfer 
rate = 4.794 M bytes/second 29-Nov 03:07 DURANGO-sd JobId 137: Writing spooled 
data to Volume. Despooling 1,942,559,377 bytes ...
29-Nov 03:14 DURANGO-sd JobId 137: Despooling elapsed time = 00:06:47, Transfer 
rate = 4.772 M bytes/second 29-Nov 03:36 DURANGO-sd JobId 137: Job write 
elapsed time = 05:36:28, Transfer rate = 1.243 M bytes/second 29-Nov 03:36 
DURANGO-sd JobId 137: Committing spooled data to Volume "Wednesday1". 
Despooling 1,847,097,447 bytes ...
29-Nov 03:41 DURANGO-sd JobId 137: End of Volume "Wednesday1" at 17:2320834195 
on device "FileStorage" (/tmp). Write of 64512 bytes got 8556.
29-Nov 03:41 DURANGO-sd JobId 137: End of medium on Volume "Wednesday1" 
Bytes=75,335,278,228 Blocks=1,167,775 at 29-Nov-2007 03:41.
29-Nov 03:41 DURANGO-dir JobId 137: There are no more Jobs associated with 
Volume "Wednesday5". Marking it purged.
29-Nov 03:41 DURANGO-dir JobId 137: All records pruned from Volume 
"Wednesday5"; marking it "Purged"
29-Nov 03:41 DURANGO-dir JobId 137: Recycled volume "Wednesday5"
29-Nov 03:41 DURANGO-sd JobId 137: Labeled new Volume "Wednesday5" on device 
"FileStorage" (/tmp).
29-Nov 03:41 DURANGO-sd JobId 137: Wrote label to prelabeled Volume 
"Wednesday5" on device "FileStorage" (/tmp) 29-Nov 03:41 DURANGO-sd JobId 137: 
New volume "Wednesday5" mounted on device "FileStorage" (/tmp) at 29-Nov-2007 
03:41.
29-Nov 03:41 DURANGO-sd JobId 137: End of Volume "Wednesday5" at 0:7870667 on 
device "FileStorage" (/tmp). Write of 64512 bytes got 1844.
29-Nov 03:41 DURANGO-sd JobId 137: End of medium on Volume "Wednesday5" 
Bytes=7,870,668 Blocks=122 at 29-Nov-2007 03:41.
29-Nov 03:41 DURANGO-sd JobId 137: Job DB2-Full.2007-11-28_22.00.23 waiting. 
Cannot find any appendable volumes.
Please use the "label"  command to create a new Volume for:
    Storage:      "FileStorage" (/tmp)
    Pool:         WednesdayPool
    Media type:   File

As I understand it, the above configuration will simply reuse the volume in the 
selected pool. What am I missing?

 /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
David Gardner
email: djgardner(at)yahoo.com
Yahoo! IM: djgardner
AIM: dgardner09 
"Everything is a learning experience, even a mistake."





      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to