Posted 21 March, 2019
By default the device used by Bareos for data archival/storage is FileStorage. Meaning data stored is stored in images on spinning disks in the file structure:
While this might be a good place for you, its tricky with this location is in root … (full root and whatnot) You can change this in :
By changing the archive device :
Archive Device = /backup
Obviously you could make an extra device, and I’m only scratching the options you can do here, but since your root might not be terabytes in size, changing this is pretty crucial;
After changing this, you need to restart the bareos-fd :
systemctl restart bareos-fd
You can also remove the images that already are in /var/lib/bareos/storage and delete the volumes from the database :
bconsole delete volume=Full-0001 yes
Don’t forget to physically remove them (rm -f)
If you enjoyed this article, please consider buying me a Dr Pepper.
Fuel the beast!
Buy me a Dr Pepper