You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The paths are all correct, and bacula user has write access to directories mentioned above.
I even tried to add some simple code to write to a file just to see if rclone-changer gets called, and that code never got executed so I don't think anything with rclone-changer even got executed. I am not totally sure what the connection is from bconsole to rclone-changer and what actually happens when issuing the "label" command.
238 Autochanger {
239 Name = Cloud_b2
240 Address = firewall
241 SDPort = 9103
242 Password = "secret"
243 Device = rclone_b2
244 Media Type = BaculaVTL
245 Autochanger = Cloud_b2
246 Maximum Concurrent Jobs = 10
247 }
319 Pool {
320 Name = Offsite
321 Pool Type = Backup
322 Recycle = yes
323 AutoPrune = yes
324 Storage = Cloud_b2
325 Maximum Volume Bytes = 1073741824
326 AutoPrune = yes
327 Volume Retention = 4 weeks
328 }
I don't know if I am missing some initialization step, or something else. I would have thought virtual tape files would have been created for the number of slots configured in rclone-changer, but since it does not look like rclone-changer ever gets called. I am not sure what to do next.
The text was updated successfully, but these errors were encountered:
I have tried to follow the steps from this document: http://bit.ly/2VFukBx.
I am trying to use backblaze as my cloud backend. I have gotten rclone to backup files to my backblaze bucket.
When I execute the following ( label barcodes storage=Cloud_b2 pool=Offsite ) from bconsole, the following is returned.
3306 Issuing autochanger "slots" command.
Device "rclone_b2" has 0 slots.
No slots in changer to scan.
I am using bacula v9.4.2. My bacula storage daemon starts, and so does the director.
I added the following in rclone-changer:
""" 14 Rclone contains logic to convert simple commands to full rclone command line 15 calls with error handling 16 """ 17 #===================================================== 18 # Default params config 19 #===================================================== 20 rclone = '/usr/local/bin/rclone' 21 config = '/opt/bacula/etc/rclone.conf' 22 logFile = '/opt/bacula/working/rclone.log' 23 logChanger = '/opt/bacula/working/rclone-changer.log' 24 lockFile = '/opt/bacula/working/.rclonelock' 25 stateFile = '/opt/bacula/working/rclone-changer.state' 26 slots = 100 27 #===================================================== 28 options = [] 29 30 @staticmethodThe paths are all correct, and bacula user has write access to directories mentioned above.
I even tried to add some simple code to write to a file just to see if rclone-changer gets called, and that code never got executed so I don't think anything with rclone-changer even got executed. I am not totally sure what the connection is from bconsole to rclone-changer and what actually happens when issuing the "label" command.
Here are parts from bacula-sd.conf
67 Autochanger { 68 Name = "rclone_b2" 69 Device = BaculaVTL 70 Changer Device = 'BaculaVTL:BaculaVTL' 71 Changer Command = "/usr/local/bin/rclone-changer %c %o %S %a" 72 }Here are the parts from bacula-dir.conf
238 Autochanger {
239 Name = Cloud_b2
240 Address = firewall
241 SDPort = 9103
242 Password = "secret"
243 Device = rclone_b2
244 Media Type = BaculaVTL
245 Autochanger = Cloud_b2
246 Maximum Concurrent Jobs = 10
247 }
I don't know if I am missing some initialization step, or something else. I would have thought virtual tape files would have been created for the number of slots configured in rclone-changer, but since it does not look like rclone-changer ever gets called. I am not sure what to do next.
The text was updated successfully, but these errors were encountered: