On Wednesday 02 September 2015 09.48:01 Cristian Ponce wrote:
> Hi,
> 
> I'm currently working with Bareos 14.2.2, making back ups of multiples 
> servers and database servers. Recently my storage server overcame 80% of disk 
> use, so became time to use an external backup. We have external usb3 disks of 
> 4TB to use for this. I can connect a disk to the storage server and mount it 
> without problems.
> 
> Then I configured my storage server (backup.mycompanydomain.com) like this:
> 
> # Original backup device
> Device {
>   Name = FileStorage
>   Media Type = File
>   Archive Device = /archive/bareos
>   LabelMedia = yes;                   # lets Bareos label unlabeled media
>   Random Access = yes;
>   AutomaticMount = yes;               # when device opened, read it
>   RemovableMedia = no;
>   AlwaysOpen = yes;
> }
> 
> # External USB 4TB disk
> Device {
>   Name = UsbExternalFileStorage
>   Media Type = File
>   Archive Device = /archive/bareos-external-usb-disk
>   LabelMedia = yes;                   # lets Bareos label unlabeled media
>   Random Access = yes;
>   AutomaticMount = yes;               # when device opened, read it
>   RemovableMedia = no;
>   AlwaysOpen = yes;
> }
> 
> And my director server like this:
> 
> Storage {
>   Name = backup.mycompanydomain.com
>   Address = backup.mycompanydomain.com
>   Password = "XXXXXXXX"
>   Device = FileStorage
>   Media Type = File
> }
> 
> #
> # Definition of external disk storage device
> #
> Storage {
>   Name = externalbackup.mycompanydomain.com
>   Address = backup.mycompanydomain.com
>   Password = "MFRFwi+yNMiCF4TrjCfAIOzpdP6qsHJ91PSSVivmQsA6"
>   Device = UsbExternalFileStorage
>   Media Type = File
> }
> 
> Testings of the configuration changes show no errors but when I try to view 
> current status on bconsole I get this:
> 
> Connecting to Director cronos.mycompanydomain.com:9101
> 1000 OK: cronos.mycompanydomain.com-dir Version: 14.2.2 (12 December 2014)
> Enter a period to cancel a command.
> *status
> Status available for:
>      1: Director
>      2: Storage
>      3: Client
>      4: Scheduler
>      5: All
> Select daemon type for status (1-5): 2
> The defined Storage resources are:
>      1: backup.mycompanydomain.com
>      2: externalbackup.mycompanydomain.com
> Select Storage resource (1-2): 1
> Connecting to Storage daemon backup.mycompanydomain.com at 
> backup.mycompanydomain.com:9103
> 
> backup.mycompanydomain.com-sd Version: 14.2.2 (12 December 2014) 
> i686-pc-linux-gnu redhat CentOS release 6.2 (Final)
> Daemon started 01-sep-15 17:04. Jobs: run=15, running=0.
>  Heap: heap=212,992 smbytes=102,287 max_bytes=172,841 bufs=102 max_bufs=121
>  Sizes: boffset_t=8 size_t=4 int32_t=4 int64_t=8 mode=0 bwlimit=0kB/s
> 
> Running Jobs:
> No Jobs running.
> ====
> 
> Jobs waiting to reserve a drive:
> ====
> 
> Terminated Jobs:
>  JobId  Level    Files      Bytes   Status   Finished        Name 
> ===================================================================
>    857  Diff        751    513.8 M  OK       01-sep-15 22:47 
> backup-alcor.mycompanydomain.com
>    858  Diff        380    115.1 M  OK       01-sep-15 22:47 
> backup-vega.mycompanydomain.com
>    859  Diff      2,680    378.6 M  OK       01-sep-15 22:49 
> backup-lupus.mycompanydomain.com
>    860  Diff      2,704    1.760 G  OK       01-sep-15 22:53 
> backup-polaris.mycompanydomain.com
>    861  Diff        219    59.57 M  OK       01-sep-15 22:54 
> backup-atlas.mycompanydomain.com
>    862  Diff        125    32.16 M  OK       01-sep-15 22:54 
> backup-leo.mycompanydomain.com
>    863  Full          6    33.29 M  OK       02-sep-15 03:30 
> backup-db-cepheus.mycompanydomain.com
>    864  Full         77    1.207 G  OK       02-sep-15 03:42 
> backup-db-msirius.mycompanydomain.com
>    865  Full          1    65.69 M  OK       02-sep-15 03:42 
> backup-db-corvus.mycompanydomain.com
>    866  Full          4    8.793 M  OK       02-sep-15 03:42 
> backup-db-leo.mycompanydomain.com
> ====
> 
> Device status:
> 
> Device "FileStorage" (/archive/bareos) is not open.
> ==
> 
> Device "UsbExternalFileStorage" (/archive/bareos-external-usb-disk) is not 
> open.
> ==
> ====
> 
> Used Volume status:
> ====
> 
> ====
> 
> *status
> Status available for:
>      1: Director
>      2: Storage
>      3: Client
>      4: Scheduler
>      5: All
> Select daemon type for status (1-5): 2
> The defined Storage resources are:
>      1: backup.mycompanydomain.com
>      2: externalbackup.mycompanydomain.com
> Select Storage resource (1-2): 2
> Connecting to Storage daemon externalbackup.mycompanydomain.com at 
> backup.mycompanydomain.com:9103
> 
> Failed to connect to Storage daemon externalbackup.mycompanydomain.com.
> ====
> 
> 
> I've read articles where the same type of configuration works like a charm 
> but i cannot make this one works.
> 
> Anyone knows what i'm doing wrong?
> 
> Thanks!
> 
> 
Two things which I think ...

First I would make the new device with a new  Media Type = USBFile at the 2 
place (Device and Storage)
This will allow you to run multiple job at the same time. (only if you wish)

The second is, did you restart the bareos-sd ?
>From what I see, you made the reload of the dir ...


-- 

Bruno Friedmann 
Ioda-Net Sàrl www.ioda-net.ch
 
 openSUSE Member & Board, fsfe fellowship
 GPG KEY : D5C9B751C4653227
 irc: tigerfoot

-- 
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.

Reply via email to