Hello.
I'm trying to set up an environment with removable disks managed by vchanger.
I managed to install vchanger, I created the media files but I cannot seem to
be able to make bareos see my virtual autochanger. And I'm a bit stuck.
Whenever I try to do "update slots" I'm getting the 3999 error.
Relevant parts of my config:
# cat /etc/vchanger/vchanger.conf
Storage Resource = vchanger-1
User = bareos
Group = bareos
Logfile = /var/log/vchanger/vchanger-1.log
Work Dir = /var/spool/vchanger/vchanger-1
Log Level = 7
Magazine = /srv/backupstor/252f8c87-02bd-4509-aa63-fa2fe8ee105d
bconsole config = /etc/bareos/bconsole.conf
# cat bareos-sd.d/autochanger/vchanger1
Autochanger {
Name = vchanger-1
Device = vchanger-1-0
# Changer Command = "/usr/local/bin/vchanger -u bareos -g bareos %c %o %S %a
%d"
Changer Command = "/usr/local/bin/vchanger %c %o %S %a %d"
Changer Device = /etc/vchanger/vchanger.conf
}
# cat bareos-sd.d/device/vchanger1.conf
Device {
Name = vchanger-1-0
DriveIndex = 0
Autochanger = yes
Device Type = File
Media Type = Offsite-File
Label Media = no
Random Access = yes
Removable Media = yes
Automatic Mount = yes
Archive Device = /var/spool/vchanger/vchanger-1/0
}
# cat bareos-dir.d/storage/vchanger-1.conf
Storage {
Name = vchanger-1-changer
Address = backup1
Password = "edited"
Device = vchanger-1
Media Type = Offsite-File
Autochanger = yes
}
# cat bareos-dir.d/pool/Offsite-eSATA.conf
Pool {
Name = Offsite-eSATA
Storage = vchanger-1-changer
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 4 weeks
Recycle Oldest Volume = yes
Volume Use Duration = 2 hours
Maximum Volume Bytes = 42949672960
}
Oh, and btw, if I try to run bareos-sd with high debug level (somewhere above
500), it segfaults on any command.
I'm using bareos on Raspberry Pi on Raspbian.
--
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.