Hi Frank,

1) Have you checked that the bareos user is able to access these devices? the permissions may be too restrictive (i.e. to root only)

To test, try chmod 777 on the devices, if that works then change the permissions to suit your environment (I personally use udev rules to configure this)

I would also recommend you avoid using the /dev/sr devices and instead look for the persistent named devices (normally /dev/tape/by-*) which can again be controlled using udev rules.

2) As Jon has highlighted, you can spool your backup data to disk and then despool to tape; the disadvantage is that the data is not recorded in the catalogue until the job has completed; this may or may not be of concern depending on your back up size and speed.

Alternatively if you have disk space, perform a full backup to disk (which will record items in the catalogue as they are backed up) and then have another job to migrate this backup onto tape, again this has its disadvantages too.

-- Lauz


On 2020-12-23 14:15, 'Jon SCHEWE' via bareos-users wrote:
This may not be exactly what you want, but I spool my data to a disk
and then stream to the tape drive. This keeps up a constant stream of
data to the tape.

 In /etc/bareos/bareos-sd.d/device/tape.conf:
 Device {
 ...
   Maximum Spool Size = 1500Gb
  Spool Directory = /mnt/bacula-spool }

 In /etc/bareos/bareos-dir.d/jobdefs/LTO-Backup.conf:
 JobDefs {
 ...
   Spool Data = yes
}

 This spools up to 1.5TB of data to /mnt/bacula-spool on the bareos
server. When that limit is reached or the job finishes, then the data
is despooled to the tape drive.

 Jon Schewe

 Research Scientist

C: +1 612.263.2718

 O: +1 952.545.5720

 jon.sch...@rtx.com

Raytheon Technologies

 Raytheon Intelligence & Space

 5775 Wayzata Blvd. Suite 630

 St. Louis Park, MN 55416

 RTX.com [1] | LinkedIn [2] | Twitter [3] | Instagram [4]

-------------------------

From: 'Frank Cherry' via bareos-users <bareos-users@googlegroups.com>
Sent: Tuesday, December 22, 2020 23:59
To: bareos-users <bareos-users@googlegroups.com>
Subject: [External] [bareos-users] some newbie questions

Hello there,
I'm Frank, changing from Bacula to Bareos because didn't get it
running.

Now Bareos is working well after installation, the test backup and
restore of /usr/sbin was successful with "file" as storage on a
dedicated hard disk.

Now my goal is the following scenario:

1. using the Quantum Ultrium LTO-7 tape drive:
- I can read an write to tape, using the devices /dev/st0 or /dev/nst0
or /tape
Have add in /etc/bareos/bareos-sd/device a file with this content:

Device {
  Name = TapeStorage
  Media Type = LTO-7
  Archive Device = /dev/st0
  LabelMedia = no;                   # lets Bareos label unlabeled
media
  Random Access = no;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = yes;
  AlwaysOpen = yes;
  Description = "LTO 7 Tape."
}

With this file, bareos SD daemon won't start.
What's wrong?

2. My backup plan is, to collect the data from several servers by NFS
/ GulsterFS connection, store it on a dedicated local disk on the
Bareos server and than stream it to the tape inside the bareos server
too. Can anyone give me please some hints, which configuration steps I
have to do for this scenario?

Thans for any help, Frank

 --
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 bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/bareos-users/e53797d1-7bbd-48a5-a1bc-debb6991450fn%40googlegroups.com
[5].

 --
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 bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/bareos-users/SN1P110MB025354C113D02DB5AE241D5AEDDE0%40SN1P110MB0253.NAMP110.PROD.OUTLOOK.COM
[6].


Links:
------
[1] https://www.rtx.com/
[2] https://www.linkedin.com/company/raytheontechnologies
[3] https://twitter.com/raytheontech
[4] https://www.instagram.com/raytheontechnologies
[5] https://groups.google.com/d/msgid/bareos-users/e53797d1-7bbd-48a5-a1bc-debb6991450fn%40googlegroups.com?utm_medium=email&amp;utm_source=footer [6] https://groups.google.com/d/msgid/bareos-users/SN1P110MB025354C113D02DB5AE241D5AEDDE0%40SN1P110MB0253.NAMP110.PROD.OUTLOOK.COM?utm_medium=email&utm_source=footer

--
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 bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/95f6c359e8cca4595ffbdba20b4c9e92%40qsplace.co.uk.
  • [bareos-users]... 'Frank Cherry' via bareos-users
    • Re: [bare... 'Jon SCHEWE' via bareos-users
      • Re: [... 'DUCARROZ Birgit' via bareos-users
      • Re: [... laurence
        • R... 'Frank Cherry' via bareos-users
          • ... 'Jon SCHEWE' via bareos-users
            • ... 'Frank Kirschner | Celebrate Records GmbH' via bareos-users
          • ... 'DUCARROZ Birgit' via bareos-users

Reply via email to