Hm. The backup seems to work great. However, I get a lot of file access errors when I try to backup my home directory on manjaro linux. What are the adviced file permissions to have duplicati run without these errors?
UPDATE feb 7. The problem is solved. It turned out that the duplicati.service file installed by the AUR package contained a user=dupicati and group=duplicati statement. I removed both lines and now the service runs as root (as is normal for systemd started services).
You were not running it as root? In that case, there is a possibility you have used sudo command in such a way that accidentally you have created root-owned files into your home directory. Youād better fix their protections and from now on, be more careful with sudo. Just a guess.
I do not have experience with arch, only Debian. On Debian when I install Duplicati it creates a systemd service but leaves it disabled. A user can opt to run Duplicati under their user context or enable the systemd service (which runs as root by default).
Does arch use systemd? What does this command show?
I have enabled and started the duplicati systemd service from the moment I installed the application and I login with firefox on http://localhost:8200/ngax/index.html
So what you are saying is, that duplicati should run as root using systemd? I clearly does not since I experience file access problems in my home directory.
File access rights problem may explain why you got a service thatās not root. Thatās how Arch did it.
Does the ps command show Duplicati run as user duplicati, e.g. ps -f -u duplicati or another?
Sometimes people also inadvertently start multiple Duplicati, and so later ones may take port 8300.
The official deb package released by Duplicati team configures systemd service to run as root. Iām guessing you got your arch package from elsewhere, perhaps arch/manjaro repository?
To change a systemd service to run as root, check the first answer here:
Facing Same problem , but how did you do that ??
I am using manjaro Linux . How to remove those lines .
Can not access home folder in duplicati .
thanks