On 2/2/2015 6:11 AM, navbor wrote:
> I have successfully set up Bacula on Ubuntu 12.04 server to run some back / 
> restore jobs. However, this is only from the console program. Whenever the 
> scheduled job runs, there are errors. Primarily permission issues.
>
> When I run the console program, I am root. However, the directory that I am 
> backing up too has full rights for user = bacula. Also user bacula owns these 
> directories.

There are three daemons involved, bacula-fd, bacula-sd, and bacula-dir. 
The bacula-fd daemon is the client. It must have permissions to read all 
of the files it is to backup. Often, bacula-fd must run as root in order 
to backup files and directories that are only accessible by root.

The bacula-dir daemon generally runs as bacula:bacula, as it only needs 
read/write access to its own work and spool directories.

The bacula-sd daemon does the actual writing to backup volumes. It often 
runs as bacula:tape and needs read/write access to the tape drive(s) and 
the bacula work directory.

Also, if you are using selinux or apparmor then you must make sure the 
Bacula daemons have access to what they need.

>
> I hope this explanation is detailed enough.
>
> If anyone has some suggestions / feedback, I would much appreciate it.
>
> Regards.
> Rob
>
> +----------------------------------------------------------------------
> |This was sent by vangend.rob...@gmail.com via Backup Central.
> |Forward SPAM to ab...@backupcentral.com.
> +----------------------------------------------------------------------
>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to