On Sat, Jun 8, 2019, 5:36 PM sruckh--- via Bacula-users <
bacula-users@lists.sourceforge.net> wrote:
I have used bacula off and on again for many years. Recently in this
list I was asking for help trying to integrate Bacula with back-end
cloud storage. Namely, I was trying to integrate with Backblaze cloud
storage. I went around trying different solutions, and thought I would
share here.
My first attempt was to use rclone-changer (http://bit.ly/2DdvEEL). As
I had used both rclone and duplicity using various scripts, this seemed
like a natural place to start. Unfortunately, I could not get any
farther than what it looked like other users experienced. It would
work
with a single virtual volume, but when you would try to label tapes
with
barcode command, it could not load and unload virtual tapes and label
them correctly (outside the first volume). It looked like other people
had had the same experience (based on bug reports). I was never able
to
get the solution working outside of using the one single virtual
volume.
I struggled with this same issue with the wanderlei rclone-changer
script, then buckled down to learn enough python to figure out what was
wrong with it. The script mostly works, but the unload does an rclone
copy, when you really want a move, otherwise the local 'tape' stays in
place and causes the label command to churn through all your tapes with
'already labeled VTAPE-xxxx'. As I said, I'm no python expert, but this
change to the script is working for me, at least for label/mount/unmount
and backup (mostly, see below) and restore:
203c204,205
< Rclone.copy(source, destination)
---
Rclone.move(source, destination)
pathlib.Path(source).touch()
Then I added a RunAfterJob script to unmount the last tape so the
complete backup is copied up to B2.
That said, I still have an issue that I haven't had time to track down
yet. I can do a full backup successfully to B2, but the next day's
incremental ends up doing another full. Not sure yet if this is a
bacula config issue, an rclone-changer problem or how WHM does it's
brain-damaged built-in backups.
Off topic, but is anybody doing WHM's built-in incremental local backup,
then backing up the files it puts in /backup with bacula?
--jim
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users