Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi, thank you for this guide. There´s a problem i cant solve cause iam new to this topic. I stuck after creating a label called “MyVolume” after that hit number 2 for “file” he says
3910 Unable to open device ““FileStorage” (/bacula/backup)”; ERR=dev.c:575 Could not open: /bacula/backup/MyVolume, ERR=Permission denied
Label command failed for Volume MyVolume.
… any idea?
Hi Mitchel, yes i did all of these steps above… did it two times … always stuck as i said below …
As hint bacula says “Do not forget to mount the drive!” … any suggestions?
I’m having the same problem as Tim85 - I’ve disabled SELinux and Firewalld as well for troubleshooting. My setup is exactly what you’ve listed in the instructions in Create Backup and Restore Directories…
# ls -la /bacula/
total 4
drwx------. 4 bacula bacula 33 May 21 14:29 .
drwxr-xr-x. 18 root root 4096 May 21 14:29 ..
drwx------. 2 bacula bacula 6 May 21 15:34 backup
drwx------. 2 bacula bacula 6 May 21 14:29 restore
But I get the same 3910 error:
3910 Unable to open device ""FileStorage" (/bacula/backup)": ERR=dev.c:575 Could not open: /bacula/backup/MyVolume, ERR=Permission denied
Thoughts?
-Kal
If you, like me prefer not to disable SELinux you can update the security context for the backup folder.
The following command will recursively restore the SELinux context for the /bacula directory and subdirectories and allow bacula to write to them.
restorecon -R -v /bacula/
hi,
I am having trouble getting bacula log parsing into my daily logwatch email. i think it has something to do with permissions:
[root@www log]# pwd /var/log [root@www log]# ls -al total 7136 drwxr-xr-x. 10 root root 4096 Aug 30 16:39 . drwxr-xr-x. 21 root root 4096 Aug 30 16:39 … drwxr-xr-x. 2 root root 4096 Jul 8 2014 anaconda drwxr-x—. 2 root root 4096 Aug 30 06:43 audit drwxr-x— 2 bacula bacula 4096 Aug 30 00:03 bacula
should the bacula log be owned by root? will that break anything else if its chown’ed? I’m hoping someone more versed in Linux (Centos) can chime in.
Thanks!
Same problem, we need someone from DO to investigate diss a little bit… Also, this is not the only problem in this tutorial. sed commands do not change every part of those 3 cfg files.
[root@gsrv-01 /]# bconsole Connecting to Director localhost:9101 1000 OK: bacula-dir Version: 5.0.0 (26 January 2010) Enter a period to cancel a command. *label Automatically selected Catalog: MyCatalog Using Catalog “MyCatalog” Automatically selected Storage: File Enter new Volume name: MyVolume Defined Pools: 1: Default 2: File 3: Scratch Select the Pool (1-3): 2 Connecting to Storage daemon File at gsrv-01:9103 … Sending label command for Volume “MyVolume” Slot 0 … 3910 Unable to open device “FileStorage” (/bacula/backup): ERR=dev.c:549 Could not open: /bacula/backup/MyVolume, ERR=Permission denied
Label command failed for Volume MyVolume. Do not forget to mount the drive!!! *exit [root@gsrv-01 /]#
Hi there,
Thank you for this tutorial, however I am getting errors on running the scripts just after the mysql installation. I’m actually on centos 6.7 and mariaDB is not available to me, but I don’t think that this is that important.
My error message is:
[root@server ~]# /usr/libexec/bacula/grant_mysql_privileges ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: NO) Error creating privileges.
please could you advise? At the moment I’m using rsync as a simple backup solution to a NAS but I’d rather use a more comprehensive solution so would appreciate your thoughts.
Kind Regards, Simon
Hi! I have some problem with using bacula. When bacula can’t find storage it send errors to log file /var/spool/bacula/log and /var/spool/bacula/*.conmsg + first bacup servaer file *.mail until all hdd full. Can I limit bacula log space in config or maybe with something else?
Second problem this is bacula mysql table log. They have not autoclean mechanism and it grows up every day. At this time it 10Gb. How i can clean it, or maybe you know some settings in bacula for cleaning this table?
I got stuck at this step: Manually Run Backup Job After choosing “2” options, it said: Connecting to Storage Daemon File at IPaddress:9103… like forever. A little about my server: I’m running one instance EC2 with Centos 7 installed and have elastic IP (which is public IP, you can access from Internet) attached to it so i used that IP to configure. Was i wrong or what?