So, I figured out the config and adapted to Bareos, however, I'm getting
the following errors:
- when a file is supplied to SD's device -- /mnt/vtapes/tape
04-Jun 22:11 BackupServer_StorageDaemon JobId 1: Error: stored/dev.cc:176
/mnt/vtapes/tape is an unknown device type. Must be tape or directory,
st_mode=0644
When it is a directory --/mnt/vtapes/tapes
*label barcodes storage=Google_Drive pool=GoogleDrive-Full
Connecting to Storage daemon Google_Drive at backup-storage.local.com:9103
...
Connecting to Storage daemon Google_Drive at backup-storage.local.com:9103
...
3306 Issuing autochanger "slots" command.
Device "gdrive" has 0 slots.
No slots in changer to scan.
*label
Automatically selected Storage: Google_Drive
Enter new Volume name: Test
Enter slot (0 or Enter for none): 1
Defined Pools:
1: Scratch
2: GoogleDrive-Full
Select the Pool (1-2): 2
Connecting to Storage daemon Google_Drive at backup-storage.local.com:9103
...
Sending label command for Volume "Test" Slot 1 ...
3304 Issuing autochanger "load slot 1, drive 0" command.
3992 Bad autochanger "load slot 1, drive 0": ERR=Child exited with code 1.
Results=Traceback (most recent call last):
File "/usr/sbin/rclone-changer", line 270, in <module>
dispatch(config.command, commandOpts, state)
File "/usr/sbin/rclone-changer", line 233, in dispatch
dispatch[command](commandOpts, state)
File "/usr/sbin/rclone-changer", line 186, in load
os.unlink(opts.archive)
IsADirectoryError: [Errno 21] Is a directory: '/mnt/vtapes/tapes'
Any assistance would be great ...
If necessary - I'll post all configs in here.
On Saturday, May 29, 2021 at 1:47:25 PM UTC+3 Dobri Dobrev wrote:
>
> Hey guys,
>
> So.. I've found this post (bacula-related):
>
> https://www.bacula.lat/community/bacula-storage-in-any-cloud-with-rclone-and-rclone-changer/?lang=en
>
> I've configured rclone to properly work with google drive, however...
> I'm trying to place the appropriate configs in their respective locations,
> as I see them in the post, but.. for some weird reason they have an
> "Autochanger {}" placed in the director? (there's 2 Autochanger {}s) Either
> that or I don't understand how to properly place each config block in its
> appropriate location in Bareos, to have my daily backups placed directly in
> google drive.
>
> Has anyone done this type of configuration in Bareos, and if so - would it
> be possible to show me example configs?
>
> Regards,
> D
>
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/bareos-users/affeb290-5947-4a92-bb9c-781243857c69n%40googlegroups.com.