Hello Everyone!
I'm trying to use bacula Virtual Full in my lab-environment, unfortunately doesn't work yet and I don't know how to resolve.
My actual status is: VirtualFull job read Full pool + Incremental pool correctly, identify all filles for make a Virtual Full but doesn't continue, stuck in "R" running status.
The debug ouput when I run director in debug mode with /usr/local/bacula/bin/bacula-dir -f -d100 -c /etc/bacula/bacula-dir.conf is:
http://pastebin.com/70fsETKB (TL,TR)
When I run my job within bconsole
*run
A job name must be specified.
The defined Job resources are:
1: cobalt
2: Virtualcobalt
3: BackupCatalog
4: RestoreFiles
Select Job resource (1-4): 2
Run Backup job
JobName: Virtualcobalt
Level: VirtualFull
Client: cobalt-fd
FileSet: SelfTest
Pool: Virtual (From Job resource)
NextPool: Full (From Job Pool's NextPool resource)
Storage: File (From Job Pool's NextPool resource)
When: 2016-03-11 17:24:11
Priority: 10
OK to run? (yes/mod/no): yes
Job queued. JobId=4
11-Mar 17:24 jessie01-dir JobId 4: Start Virtual Backup JobId 4, Job=Virtualcobalt.2016-03-11_17.24.13_06
11-Mar 17:24 jessie01-dir JobId 4: Bootstrap records written to /var/lib/bacula/jessie01-dir.restore.1.bsr
11-Mar 17:24 jessie01-dir JobId 4: Found 7 files to consolidate into Virtual Full.
11-Mar 17:24 jessie01-dir JobId 4: Using Device "FileStorage" to read.
(bconsole stuck here)
And, my config is this:
JobDefs {
Name = "DefaultJob"
Type = Backup
Level = Incremental
FileSet = "SelfTest"
Storage = File
Messages = Standard
Pool = Incremental
Priority = 10
Accurate = yes
Spool Attributes = yes
Write Bootstrap = "/var/lib/bacula/%c.bsr"
Full Backup Pool = Full
Differential Backup Pool = Differential
Incremental Backup Pool = Incremental
}
JobDefs {
Name = "VirtualJob"
Type = Backup
Level = VirtualFull
FileSet = "SelfTest"
Storage = File
Messages = Standard
Pool = Virtual
Accurate = yes
Write Bootstrap = "/var/lib/bacula/%c.bsr"
}
#
# Jobs
#
Job {
Name = cobalt
JobDefs = DefaultJob
Client = cobalt-fd
}
Job {
Name = Virtualcobalt
JobDefs = VirtualJob
Client = cobalt-fd
}
#
# Definition of file storage device
#
Storage {
Name = File
Address = jessie01 # N.B. Use a fully qualified name here
Password = "ZSpdUXiN43jt48xgf0nNR19NdoOBktJFrqbXfTx8eWkw"
Device = FileStorage
Media Type = File
Maximum Concurrent Jobs = 20
}
#
# Full Pool definition
#
Pool {
Name = Full
Pool Type = Backup
Recycle = yes # Bareos can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 365 days # How long should the Full Backups be kept? (#06)
Maximum Volume Bytes = 50G # Limit Volume size to something reasonable
Maximum Volumes = 100 # Limit number of Volumes in Pool
Label Format = "Full-" # Volumes will be labeled "Full-<volume-id>"
Storage = File
Next Pool = Virtual
}
#
# Virtual Full Pool definition
#
Pool {
Name = Virtual
Pool Type = Backup
Recycle = yes # Bareos can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 365 days # How long should the Full Backups be kept? (#06)
Maximum Volume Bytes = 50G # Limit Volume size to something reasonable
Maximum Volumes = 100 # Limit number of Volumes in Pool
Label Format = "Virtual-" # Volumes will be labeled "Full-<volume-id>"
Next Pool = Full
Storage = File
}
Anyone can help...? (probably is a simple mistake, but I need more than my 2 eyes for identify.)
Thanks!