# Duplicati on linux: no backups running via systemctl, today a blank home screen greets me: where did my configurations go?

**URL:** https://forum.duplicati.com/t/duplicati-on-linux-no-backups-running-via-systemctl-today-a-blank-home-screen-greets-me-where-did-my-configurations-go/6817
**Category:** Uncategorized
**Created:** [April 14, 2019, 2:13am UTC](https://forum.duplicati.com/t/duplicati-on-linux-no-backups-running-via-systemctl-today-a-blank-home-screen-greets-me-where-did-my-configurations-go/6817 "2019-04-14T02:13:12Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![caticity](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/c/b487fb/32.png) [@caticity](https://forum.duplicati.com/u/caticity)
#### Post date: [April 14, 2019, 2:13am UTC](https://forum.duplicati.com/t/duplicati-on-linux-no-backups-running-via-systemctl-today-a-blank-home-screen-greets-me-where-did-my-configurations-go/6817/1 "2019-04-14T02:13:12Z")

</div>

I’m testing duplicati on linux (ubuntu) for ca a week now and have come across 3 oddities:

A) Installing the .deb via dpkg does not enable the systemctl service for duplicati: I consider this tremendously important, otherwise you set up your backups in the webui and trust your machine is backing up, when in fact it is simply doing nothing.

B) After googling why the machine is not backup up I systemctl enable duplicati manually, assuming it will now work and backup without me starting duplicati manually after every reboot. I was mistaking: Duplicati server is running, I see it in the process list and in systemctl status, but when I launch the webui no backup has been made, and then the backup starts catching up the missed backup, and the last shown backup is not e.g. 1pm as configured but 5pm, when I launched the gui

C) I just started duplicati manually again since I know it won’t backup automatically and all my backup sets and configurations are gone. It gives me the first time setup question whether I have a multi user system, the whole this is reset. Was there a silent update in the background that wiped my configuration?

Thanks for any input !

---

<div class="post-metadata">

### Author: ![caticity](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/c/b487fb/32.png) [@caticity](https://forum.duplicati.com/u/caticity)
#### Post date: [April 14, 2019, 2:29am UTC](https://forum.duplicati.com/t/duplicati-on-linux-no-backups-running-via-systemctl-today-a-blank-home-screen-greets-me-where-did-my-configurations-go/6817/2 "2019-04-14T02:29:00Z")

</div>

I’m on this version:  
You are currently running Duplicati - 2.0.4.5\_beta\_2018-11-28

---

<div class="post-metadata">

### Author: ![Pectojin](https://forum.duplicati.com/user_avatar/forum.duplicati.com/pectojin/32/1231_2.png) [@Pectojin](https://forum.duplicati.com/u/Pectojin)
#### Post date: [April 14, 2019, 9:48am UTC](https://forum.duplicati.com/t/duplicati-on-linux-no-backups-running-via-systemctl-today-a-blank-home-screen-greets-me-where-did-my-configurations-go/6817/3 "2019-04-14T09:48:15Z")

</div>

Duplicati stores it’s configuration in the users home directory so it’s likely it’s running under different users. Duplicati will never wipe configuration during updates.

If you start it manually without sudo that will be in ~/.config/duplicati. However the systemd service will start it as root, by default, putting the config in /root/.config/duplicati.

---

<div class="post-metadata">

### Author: ![caticity](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/c/b487fb/32.png) [@caticity](https://forum.duplicati.com/u/caticity)
#### Post date: [April 14, 2019, 12:58pm UTC](https://forum.duplicati.com/t/duplicati-on-linux-no-backups-running-via-systemctl-today-a-blank-home-screen-greets-me-where-did-my-configurations-go/6817/4 "2019-04-14T12:58:56Z")

</div>

I always started duplicati the same way, via the `duplicati` command.

in /home/user/.config/Duplicati I have

```
69667765888272788471.sqlite 89768887737872737174.sqlite 'backup 20190408015825.sqlite' updates
 72697184757369736968.backup 'backup 20190408011658.sqlite' 'backup 20190408015947.sqlite'
 72697184757369736968.sqlite 'backup 20190408013051.sqlite' control_dir_v2
 85848082876772766967.sqlite 'backup 20190408015814.sqlite' Duplicati-server.sqlite

```

in /root/.config/Duplicati

```
control_dir_v2 Duplicati-server.sqlite WOJUKUBNXU.sqlite

```

anyway I can restore my configurations from the sqlite files? Without the configuration files the backup is basically not longer accessible …

---

<div class="post-metadata">

### Author: ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)
#### Post date: [April 14, 2019, 7:54pm UTC](https://forum.duplicati.com/t/duplicati-on-linux-no-backups-running-via-systemctl-today-a-blank-home-screen-greets-me-where-did-my-configurations-go/6817/5 "2019-04-14T19:54:55Z")

</div>

> [@caticity](#):
>
> Duplicati server is running, I see it in the process list and in systemctl status, but when I launch the webui no backup has been made

> [@caticity](#):
>
> I always started duplicati the same way, via the `duplicati` command.

The duplicati command (at least mine – you can read your /usr/bin script) runs Duplicati.GUI.TrayIcon.exe which contains a Duplicati server unless you use the --no-hosted-server option in which case it expects a standalone Duplicati server at [http://localhost:8200](http://localhost:8200), and will work with that server to do backup operations.

TrayIcon will relocate its own server to [http://localhost:8300](http://localhost:8300) (and on up) if there’s already a server running, however the different server may get different backup configurations. They’re in Duplicati-server.sqlite and you have two of them for different users (possibly the root one is from that automatic launch at boot?) and I’m not sure which one holds what (you could look at dates and guess, or connect to various server ports).

Seeing a server ask initial setup questions may mean that you somehow got a different server than before.

> [@caticity](#):
>
> Without the configuration files the backup is basically not longer accessible …

It’s accessible for restores just by pointing to it with [direct restore](https://duplicati.readthedocs.io/en/latest/03-using-the-graphical-user-interface/#restoring-files-if-your-duplicati-installation-is-lost) then giving needed passwords, however continued backups would want the configuration. [Export](https://duplicati.readthedocs.io/en/latest/03-using-the-graphical-user-interface/#exporting-a-backup-job-configuration) and safeguarding of configurations is a good idea.

> [@caticity](#):
>
> anyway I can restore my configurations from the sqlite files?

Easiest way by far is to connect to the server that has them. When in doubt on where a server keeps its files, you can make a new dummy backup and use the [Database](https://duplicati.readthedocs.io/en/latest/03-using-the-graphical-user-interface/#database-management) page to find its path, but in your case it might just turn out that the server that starts up at boot as root store in /root, and you store in /home/user.

There are more laborious ways to dig configurations out of Duplicati-server.sqlite, but let’s first make sure you didn’t launch a second copy of Duplicati server on a different port (probably 8300) and get thrown off.

[Duplicati components](https://duplicati.readthedocs.io/en/latest/02-installation/#duplicati-components) explains some of this.

---

<div class="post-metadata">

### Author: ![caticity](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/c/b487fb/32.png) [@caticity](https://forum.duplicati.com/u/caticity)
#### Post date: [April 14, 2019, 8:19pm UTC](https://forum.duplicati.com/t/duplicati-on-linux-no-backups-running-via-systemctl-today-a-blank-home-screen-greets-me-where-did-my-configurations-go/6817/6 "2019-04-14T20:19:21Z")

</div>

Thank you very kindly for explaining this, I indeed have my backup set at port 8300 and something else at 8200, cheers!!

Now this is a bit confusing at best, maybe instead of simply connecting at good will to a newly launched server duplicati could show a message, port taken, duplicati already running via a different user, do you want to connect to that server or launch a new server with new configuration?

---

<div class="post-metadata">

### Author: ![caticity](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/c/b487fb/32.png) [@caticity](https://forum.duplicati.com/u/caticity)
#### Post date: [April 14, 2019, 8:21pm UTC](https://forum.duplicati.com/t/duplicati-on-linux-no-backups-running-via-systemctl-today-a-blank-home-screen-greets-me-where-did-my-configurations-go/6817/7 "2019-04-14T20:21:28Z")

</div>

When I export my configuration from the port 8300 instance and import it to the 8200 server, the files shouldn’t need to be re-uploaded, duplicati should see all the chunks are already there ? thanks !

---

<div class="post-metadata">

### Author: ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)
#### Post date: [April 14, 2019, 8:43pm UTC](https://forum.duplicati.com/t/duplicati-on-linux-no-backups-running-via-systemctl-today-a-blank-home-screen-greets-me-where-did-my-configurations-go/6817/8 "2019-04-14T20:43:24Z")

</div>

> [@caticity](#):
>
> something else at 8200

You can find out what’s there using something like:

`sudo netstat -anp | egrep ':8200.*LISTEN'`

> [@caticity](#):
>
> duplicati should see all the chunks are already there ?

On the export/import question, the configuration knows where the actual backup is. If remote, it won’t even know anything moved. If local files, and if 8200 is the root server, then accessing will be OK. The important thing, though, is that the same local database (or a copy of it) be used. This tracks what’s in the backup so constant remote queries aren’t needed. It can be recreated from backup files, but it’s slow for big backups. My practice is to rename mine then test-Recreate it periodically to make sure all’s OK… Others back it up.

Easiest thing to do for the configuration is to import the export. Find out where it plans to put the database, using its Database page. It won’t be there until first backup, so copy/rename prior database in before then. First backup will, I think, not be upset (everything matches up) and will pick up as if nothing had happened.

---

<div class="post-metadata">

### Author: ![caticity](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/c/b487fb/32.png) [@caticity](https://forum.duplicati.com/u/caticity)
#### Post date: [April 14, 2019, 10:52pm UTC](https://forum.duplicati.com/t/duplicati-on-linux-no-backups-running-via-systemctl-today-a-blank-home-screen-greets-me-where-did-my-configurations-go/6817/9 "2019-04-14T22:52:24Z")

</div>

Wow thanks for the fantastic and detailed response! Since a lot of the trouble seems to be the database, would it be a better approach to use duplicacy with it’s non-db approach? Or does that bring with it a whole set of other issues?

I’m still undecided on my final backup tool of choice and appreciate all honest input to make the decision.

---

<div class="post-metadata">

### Author: ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)
#### Post date: [April 17, 2019, 6:20pm UTC](https://forum.duplicati.com/t/duplicati-on-linux-no-backups-running-via-systemctl-today-a-blank-home-screen-greets-me-where-did-my-configurations-go/6817/10 "2019-04-17T18:20:49Z")

</div>

> [@caticity](#):
>
> would it be a better approach to use duplicacy with it’s non-db approach?

Somewhat old, but you can see comparisons on the Duplicati forum (then Duplicacy forum pointing back):

[Duplicati 2 vs. Duplicacy 2](https://forum.duplicati.com/t/duplicati-2-vs-duplicacy-2/592) (Duplicati comments)

[Duplicacy vs Duplicati](https://forum.duplicacy.com/t/duplicacy-vs-duplicati/463) (Duplicacy comments)

The opening paragraph of the latter points out the risks of storage issues, and what level of checking to do.

[Block-based storage engine](https://www.duplicati.com/articles/Storage-Engine/) and [Fact Sheet](https://www.duplicati.com/articles/FactSheet/) give additional insight into why Duplicati 2 went to a database.

Hanging around the two forums for awhile will show what sort of issues and missing features are reported.
