Virtual Full to another SD

274 views
Skip to first unread message

pbun...@gmail.com

unread,
Mar 26, 2015, 2:34:58 PM3/26/15
to bareos...@googlegroups.com
Hello everybody,

I have a backup running, doing full and incremental backups.

Now I would like to do a Virtual Full backup to another storage daemon.

I start the job manually, but then it hangs with "is waiting on Storage". This sounds like a problem with the # of concurrent jobs, but I increased this at all relevant places.

To check the other SD, I ran a normal backup storing data on it, which worked.

1) Is it possible to do Virtual Full to another SD at all?
2) Do I need the same Media Type for both?
3) Do I need the same Device Name for both?

Hope you could help me. If you need some more info or some tests, let me know.


Peter


*************************************

Run Backup job
JobName: B-Test
Level: VirtualFull
Client: pdesktop_Client
Format: Native
FileSet: B-Testordner
Pool: FilesB-TestPool (From Job resource)
NextPool: FilesB-TestPool-VirtualFull2 (From unknown source)
Storage: pdesktop-sd (From Storage from Run NextPool override)
When: 2015-03-26 19:05:00
Priority: 10
OK to run? (yes/mod/no): yes
Job queued. JobId=293

*m
26-Mar 19:04 backuppc-dir: Console [default] from [192.168.6.11] cmdline run
26-Mar 19:05 backuppc-dir JobId 293: Start Virtual Backup JobId 293, Job=B-Test.2015-03-26_19.05.17_05
26-Mar 19:05 backuppc-dir JobId 293: Bootstrap records written to /var/lib/bareos/backuppc-dir.restore.1.bsr
26-Mar 19:05 backuppc-dir JobId 293: Using Device "BackupBilderSd" to read.

*status dir
dir= director
[....]
JobId Level Name Status
======================================================================
293 Virtual B-Test.2015-03-26_19.05.17_05 is waiting on Storage "pdesktop-sd"


******** DIR ********
Director {
Name = backuppc-dir
Password =
Messages = DaemonMsg
QueryFile = "/usr/lib/bareos/scripts/query.sql"
Auditing = yes
Maximum Concurrent Jobs = 3
}

Client {
Name = pdesktop_Client
Address = pdesktop
Catalog = MyCatalog
Password =
AutoPrune = yes
Maximum Concurrent Jobs = 3
}

Storage {
Name = BackupBilder
Address = backuppc
Password =
Device = BackupBilderSd
Media Type = WD-Disk
Maximum Concurrent Jobs = 3
}

Storage {
Name = pdesktop-sd
Address = pdesktop
Password =
Device = BackupBilderSd
Media Type = WD-Disk
Maximum Concurrent Jobs = 3
}

Job {
Name = "B-Test"
JobDefs = "DefaultJob"
Level = Incremental # is usually overwritten by schedule
Accurate = yes
Write Bootstrap = "/Backup/Bilder/%c_%n_%i.bsr"
Client = pdesktop_Client
FileSet = "B-Testordner"
Pool = FilesB-TestPool
Full Backup Pool = FilesB-TestPool-Full
Schedule = Daily
Storage = BackupBilder
Maximum Concurrent Jobs = 3
}

# dev of files to be backed up
FileSet {
Name = "B-Testordner"
Include {
Options {
signature = SHA1
}
File = "/home/bla/bla"
}
}

# pool definition for incremental and differential
Pool {
Name = FilesB-TestPool
Pool Type = Backup
Recycle = yes
LabelFormat = "B-Test-"
Maximum Volumes = 40 #limit # of volumes
Maximum Volume Bytes = 2G #limit file (volume) size
Next Pool = FilesB-TestPool-VirtualFull2
}

# pool definition for full backup
Pool {
Name = FilesB-TestPool-Full
Pool Type = Backup
Recycle = yes
LabelFormat = "B-Test-Full-"
Maximum Volumes = 4
Maximum Volume Bytes = 20G
Maximum Volume Jobs = 1
Purge Oldest Volume = yes
}

# pool definition for full virtual backup
Pool {
Name = FilesB-TestPool-VirtualFull2
Pool Type = Backup
Recycle = yes
LabelFormat = "B-Test-VirtualFull-"
Maximum Volumes = 4
Maximum Volume Bytes = 20G
Maximum Volume Jobs = 1
Purge Oldest Volume = yes
Storage = pdesktop-sd
}

******** SD on same computer ********
Storage {
Name = backuppc-sd
Maximum Concurrent Jobs = 3
}

# List Directors who are permitted to contact Storage daemon
# this password must be used, whenever the director wants to access this storage daemon
Director {
Name = backuppc-dir
Password =
}

Device {
Name = BackupBilderSd
Archive Device = /Backup/Bilder
DeviceType = File
Media Type = WD-Disk
RemovableMedia = no;
Random Access = yes;
LabelMedia = yes; # lets Bareos label unlabeled media
}
******** SD on other computer ********
Storage {
Name = pd-sd
Maximum Concurrent Jobs = 3
}

Director {
Name = backuppc-dir
Password = "scYC0CmncaiwDjpI"
}

Device {
Name = BackupBilderSd
Archive Device = /Backup/Bilder
DeviceType = File
Media Type = WD-Disk
RemovableMedia = no
Random Access= yes;
LabelMedia = yes;
}


Philipp Storz

unread,
Apr 8, 2015, 6:01:13 AM4/8/15
to bareos...@googlegroups.com
Hello,

Virtual Full Backup between two SDs is not implemented, only migrate/copy.

You can do a virtual full and then copy it over to the second sd.

Best regards,

Philipp
--
Mit freundlichen Grüßen

Philipp Storz philip...@bareos.com
Bareos GmbH & Co. KG Phone: +49 221 63 06 93-92
http://www.bareos.com Fax: +49 221 63 06 93-10

Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Geschäftsführer: Stephan Dühr, M. Außendorf,
J. Steffens, P. Storz, M. v. Wieringen
Reply all
Reply to author
Forward
0 new messages