Hi,
I'm doing backups on disks, have configured 2 Storage resources with 2 File
backend Devices. I use DiskStorageIncr for daily incremental volumes and
DiskStorageFull for weekly full volumes.
When I try to restore the current state, which involves volumes from both pools
( Full and Incr ), it succesfully mounts the full backup volumes from
/data/bareos-storage/Full, but when it comes to rstore from the Incremental
volumes, it tries to mount them from the same folder
/data/bareos-storage/Full instead of using the /data/bareos-storage/Incr, where
the incremental volumes reside.
Pool {
Name = DiskDaily
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Storage = DiskStorageIncr
Maximum Volume Bytes = 5G
Maximum Volumes = 600
Next Pool = TapeDaily
Label Format = "Incr-"
Volume Retention = 1 week
Recycle Oldest Volume = yes
}
Pool {
Name = DiskWeekly
Pool Type = Backup
Recycle = yes # Bareos can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Storage = DiskStorageFull
Maximum Volume Bytes = 5G # Limit Volume size to something reasonable
Maximum Volumes = 1200 # Limit number of Volumes in Pool
Next Pool = TapeWeekly
Label Format = "Full-" # Volumes will be labeled "Full-<volume-id>"
Volume Retention = 1 week # How long should the Full Backups be kept?
(#06)
Recycle Oldest Volume = yes
Recycle Pool = Scratch
}
Device {
Name = DiskDeviceIncr
Media Type = File
Archive Device = /data/bareos-storage/Incr
LabelMedia = yes; # lets Bareos label unlabeled media
Random Access = yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
Maximum Concurrent Jobs = 10
}
Device {
Name = DiskDeviceFull
Media Type = File
Archive Device = /data/bareos-storage/Full
LabelMedia = yes; # lets Bareos label unlabeled media
Random Access = yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
Maximum Concurrent Jobs = 10
}
Storage {
Name = DiskStorageIncr
# Do not use "localhost" here
Address = backup-1 # N.B. Use a fully qualified name here
SDPort = 9103
Password = "***"
Device = DiskDeviceIncr
Media Type = File
Autochanger = no
Maximum Concurrent Jobs = 10
}
Storage {
Name = DiskStorageFull
# Do not use "localhost" here
Address = backup-1 # N.B. Use a fully qualified name here
SDPort = 9103
Password = "***"
Device = DiskDeviceFull
Media Type = File
Autochanger = no
Maximum Concurrent Jobs = 10
}
Workaround is to link create a link ( or copy ) of the Incremental volumes in
the /data/bareos-storage/Full and mount the DiskStorageFull.
Wondering if this is a bug or I've missconfigured something.
Thanks.
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.