Hi,
I am very new to Bareos, so this might be a very stupid question. But I haven't been able to get this to work and can't seem to find the correct info for this.
I've succesfully installed two linux testservers, one acting as bareos server, the other uses bareos to backup its data to it. Both are ubuntu servers in case this matters.
This setup works perfectly.
Now I would like to test the next important thing (for us anyway): I want to copy the backups from the bareos server to a usb hard drive for offsite storage.
Let's say I mount this hard disk in /extdisk.
What would it take and how could I copy everything from the bareos server to this disk so I can restore it all in case the location where the server is stored burns to the ground.
I have created a file in /etc/bareos/bareos-sd.d/device/ named USBStorage.conf with the following contents:
Device {
Name = USBStorage
Media Type = File
Archive Device = /extdisk
LabelMedia = no;
Random Access = yes;
AutomaticMount = yes;
RemoveableMedia = yes;
AlwaysOpen = no;
Description = "External USB drive"
}
I created a file USB.conf in /etc/bareos/bareos-dir.d/storage name USB.conf with the following contents:
Storage {
Name = USB
Address = testubuntubareos
Password = ""
Device = USBStorage
Media Type = File
}
bconsole reload works without error after this. And I can see "USB" in the Storage Devices section of the web-ui. But I don't know how to define a correct job to create a copy of everything onto USB.
Does anyone have any info about this? Or interesting weblinks where I can find the relevant info?
best regards, and thank you,
Andy