# Managing Duplicati in Linux

**URL:** <https://forum.duplicati.com/t/managing-duplicati-in-linux/1067>\
**Category:** Uncategorized\
**Created:** [October 18, 2017, 5:25pm UTC](https://forum.duplicati.com/t/managing-duplicati-in-linux/1067 "2017-10-18T17:25:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Jameson](https://forum.duplicati.com/user_avatar/forum.duplicati.com/david_jameson/32/211_2.png) [@David\_Jameson](https://forum.duplicati.com/u/David_Jameson)\
**Post date:** [October 18, 2017, 5:25pm UTC](https://forum.duplicati.com/t/managing-duplicati-in-linux/1067/1 "2017-10-18T17:25:33Z")

</div>

After installing Duplicati on my CentOS 7, it showed up as expected in System Tools. I was able to run it and the browser window opened, all looking good.

However, I created and ran a backup, I got a bunch of errors such as “Access to the path…” is denied.

I suspect that Duplicati is not running with root privileges so I’m wondering what I need to do to fix that.

Secondly, looking through the system startup list, I’m not seeing that duplicati got installed so if the machine is rebooted, duplicati will not be running.

So what do I need to do to make Duplicati run as a daemon with root privileges? I can certainly created a new systemd service but (based on my experience) I suspect there’s a bit more to it than that.

(Getting so close…)

![screenshot_2605](https://forum.duplicati.com/uploads/default/original/1X/fed05b47d4f0959292b53f88379109bec56bceed.png)

---

<div class="post-metadata">

**Author:** ![JonMikelV](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/j/439d5e/32.png) [@JonMikelV](https://forum.duplicati.com/u/JonMikelV)\
**Post date:** [October 18, 2017, 6:15pm UTC](https://forum.duplicati.com/t/managing-duplicati-in-linux/1067/2 "2017-10-18T18:15:07Z")

</div>

I’ve not done much with Centos since around version 5 (and even then it wasn’t much) but if you’ve got systemd I’d assume (danger! danger!) it to be the same in as systemd for Ubuntu (note, the text in the post is off - “start” should be “enable”).

> [@How to give duplicati root permision on ubuntu](https://forum.duplicati.com/t/how-to-give-duplicati-root-permision-on-ubuntu/273/2):
>
> I think the simplest is to run Duplicati as a service: Stop any running instance Run sudo systemctl start duplicati Change the desktop launcher shortcut to duplicati --no-hosted-server --serverurl=http://localhost:8200 Start the desktop launcher This will run Duplicati as a service (on boot) and only start the tray icon once you are logged in to your desktop, but connect to the running service.

---

<div class="post-metadata">

**Author:** ![dcurrey](https://forum.duplicati.com/user_avatar/forum.duplicati.com/dcurrey/32/376_2.png) [@dcurrey](https://forum.duplicati.com/u/dcurrey)\
**Post date:** [October 18, 2017, 6:54pm UTC](https://forum.duplicati.com/t/managing-duplicati-in-linux/1067/3 "2017-10-18T18:54:51Z")

</div>

Also if you created any backup sets you will need to move them to /root/.config/Duplicati from /home/usernamae/.config/Duplicati

---

<div class="post-metadata">

**Author:** ![David\_Jameson](https://forum.duplicati.com/user_avatar/forum.duplicati.com/david_jameson/32/211_2.png) [@David\_Jameson](https://forum.duplicati.com/u/David_Jameson)\
**Post date:** [October 18, 2017, 7:15pm UTC](https://forum.duplicati.com/t/managing-duplicati-in-linux/1067/4 "2017-10-18T19:15:59Z")

</div>

Thanks…that’s not a concern at this point since I’m still only testing. I don’t mind recreating configurations. Right now my only concern is reliability and getting down to zero errors while backing up

---

<div class="post-metadata">

**Author:** ![kenkendk](https://forum.duplicati.com/user_avatar/forum.duplicati.com/kenkendk/32/5305_2.png) [@kenkendk](https://forum.duplicati.com/u/kenkendk)\
**Post date:** [October 19, 2017, 1:29pm UTC](https://forum.duplicati.com/t/managing-duplicati-in-linux/1067/5 "2017-10-19T13:29:42Z")

</div>

I think I covered the steps here:

> [@How do I install on CentOS 7?](https://forum.duplicati.com/t/how-do-i-install-on-centos-7/1024/12):
>
> No options are required, it should just run like that. If you place the service file in /usr/lib/systemd/system/ it should be possible to run: sudo systemctl enable duplicati And it will then auto-start as a service. It does not matter who owns the files, it matters who runs the Duplicati server. If you set up the service as above, it will run as root. You can then get the tray-icon to connect to the service with duplicati --no-hosted-server --serverurl=http://localhost:8200
