# Changed from app to service: backup no longer found

**URL:** <https://forum.duplicati.com/t/changed-from-app-to-service-backup-no-longer-found/704>\
**Category:** Support\
**Created:** [September 18, 2017, 8:00pm UTC](https://forum.duplicati.com/t/changed-from-app-to-service-backup-no-longer-found/704 "2017-09-18T20:00:06Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![dpeart](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@dpeart](https://forum.duplicati.com/u/dpeart)\
**Post date:** [September 18, 2017, 8:00pm UTC](https://forum.duplicati.com/t/changed-from-app-to-service-backup-no-longer-found/704/1 "2017-09-18T20:00:06Z")

</div>

I’ve been running as the app with the task icon. this has been running, but I want to start backing up my outlook.pst file so I need VSS support.

I converted over to using the service, following the how to. While the service does run, and I can attach to it with the web browser. The backup is no longer found.

I know it is there because I can stop the service, and restart the application and it re-appears. How do I get my backup to work in service mode?

thanks  
david

---

<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:** [September 18, 2017, 8:46pm UTC](https://forum.duplicati.com/t/changed-from-app-to-service-backup-no-longer-found/704/2 "2017-09-18T20:46:15Z")

</div>

> [@dpeart](#):
>
> I know it is there because I can stop the service, and restart the application and it re-appears. How do I get my backup to work in service mode?

The local database is stored in the users folder, under `%APPDATA%Duplicati`. When you run as a service, you are using the `SYSTEM` user instead of your normal user. Simply move the `Duplicati` folder (particularly the `Duplicati-server.sqlite` file) into the `%APPDATA%Duplicati` folder for the `SYSTEM` user, and then start the service.

---

<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:** [September 18, 2017, 9:08pm UTC](https://forum.duplicati.com/t/changed-from-app-to-service-backup-no-longer-found/704/3 "2017-09-18T21:08:31Z")

</div>

> [@Migrating from User to Service install on Windows](https://forum.duplicati.com/t/migrating-from-user-to-service-install-on-windows/660/1):
>
> 1. Move the following from the Src: folder to the Dst: folder (you may be prompted to give yourself access to the second folder):  
> Src: C:\Users\<your user name\>\AppData\Roaming\Duplicati  
> Dst: C:\Windows\System32\config\systemprofile\AppData\Local\Duplicati

Can you verify that the `C:\Windows\System32\config\systemprofile\AppData\Local\Duplicati` folder referenced in step 2 of the #How-To contains at least the following:

1. `dbconfig.json` file
2. `Duplicati-server.sqlite` file (note that this may have a different name but still end in `.sqlite`
3. `control_dir_v2` FOLDER

If all those are in the folder, could you also check in the ROAMING equivalent folder at  
'`C:\Windows\System32\config\systemprofile\AppData\Roaming\Duplicati\`?

Some older posts I’ve seen mention that folder, but since it wasn’t what I experienced I didn’t document it there. However, it’s possible individual machine settings could affect where Duplicati ends up storing things.

If you find them there I’ll add a comment to the #How-To and maybe we can even work at figuring out why they went to different places. 🙂

---

<div class="post-metadata">

**Author:** ![dpeart](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@dpeart](https://forum.duplicati.com/u/dpeart)\
**Post date:** [September 18, 2017, 11:33pm UTC](https://forum.duplicati.com/t/changed-from-app-to-service-backup-no-longer-found/704/4 "2017-09-18T23:33:45Z")

</div>

> [@JonMikelV](#):
>
> C:\Windows\System32\config\systemprofile\

```plaintext
 C:\Windows\System32\config\systemprofile\AppData\Local\Duplicati 

```

It does not exist so I copied the one from over, but windows wigged out and now I’ve lost the entire directory. Gone, no where to be found. Guess it is time to figure out how to adopt a backup.

thanks though,  
david

---

<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:** [September 18, 2017, 11:54pm UTC](https://forum.duplicati.com/t/changed-from-app-to-service-backup-no-longer-found/704/5 "2017-09-18T23:54:54Z")

</div>

If you followed the video found on this site about installing duplicati as a service I think the correct destination dir would have been c:\Program files\Duplicati 2\data.

Its my understanding that its the default location for the --portable-mode. (64-bit Windows)

Hopefully you can recover from this.

---

<div class="post-metadata">

**Author:** ![dpeart](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@dpeart](https://forum.duplicati.com/u/dpeart)\
**Post date:** [September 19, 2017, 12:00am UTC](https://forum.duplicati.com/t/changed-from-app-to-service-backup-no-longer-found/704/6 "2017-09-19T00:00:16Z")

</div>

> [@dcurrey](#):
>
> c:\Program files\Duplicati 2\data

OK that area does exist and it does have a Duplicati-server.sqlit, .bakcup and .sqlite.

david

---

<div class="post-metadata">

**Author:** ![dpeart](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@dpeart](https://forum.duplicati.com/u/dpeart)\
**Post date:** [September 19, 2017, 12:04am UTC](https://forum.duplicati.com/t/changed-from-app-to-service-backup-no-longer-found/704/7 "2017-09-19T00:04:52Z")

</div>

I’m recreating the backup, from the server version. It does not see my UNC paths. Says they don’t exist. If I switch back to the desktop application it sees them just fine.

Is there something special I need to do to get UNC paths to work in the server?

thanks,  
david

---

<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:** [September 19, 2017, 12:24am UTC](https://forum.duplicati.com/t/changed-from-app-to-service-backup-no-longer-found/704/8 "2017-09-19T00:24:40Z")

</div>

Not sure, I am new at using duplicati also. So following my advice might not be a good idea.

Anything in the …Duplicati 2/data folder at this point would be basically a blank setup. Just like it created for the user you are currently running underr. If you can get everything set back up correctly under the user account you should then be able to copy that into the Duplicati 2/data directory.

I would back the data dir just in case. I haven only done limited disaster recovery test on very small backup sets myself.

Another option might be to use the option --server-datafolder=xxxxxxxx and set it to the current location of users file mentioned earlier in this thread. DO NOT use the --portable-mode also. Note: you will probably have to setup the service again for this to work.

Hopefully this helps.

Good luck.

---

<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:** [September 19, 2017, 3:44am UTC](https://forum.duplicati.com/t/changed-from-app-to-service-backup-no-longer-found/704/9 "2017-09-19T03:44:48Z")

</div>

> [@dpeart](#):
>
> Is there something special I need to do to get UNC paths to work in the server?

Working with UNC paths from a Service can be a bit tricky as the service often runs under a different account that the user login.

I’d suggest a simple test would be to go to the “Log On” tab in Properties for the “Duplicati Service” in Windows Services and change the “Log on as” setting from the likely “Local System account” to “This account” and fill in your login information. I expect that will solve the UNC problem (as the “Local” System account is just that - local focused, not network).

HOWEVER - this is just a test of the UNC issue as it will likely bring back the inability to back up the outlook.pst file as you’re again running under the same permissions as a when you were in the user install.

Oh, and sorry about the folder reference before - I guess I didn’t realize you were using --portable-mode.

---

<div class="post-metadata">

**Author:** ![dpeart](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/d/77aa72/32.png) [@dpeart](https://forum.duplicati.com/u/dpeart)\
**Post date:** [September 19, 2017, 7:05pm UTC](https://forum.duplicati.com/t/changed-from-app-to-service-backup-no-longer-found/704/10 "2017-09-19T19:05:04Z")

</div>

I recovered the backup, then copied the files to the --portable-mode area.

I then added my user login/password to access the UNC path and it all works.

I am now running as service with VSS enable for outlook.pst backup saving to a UNC path.

thanks for all the help,  
david

---

<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:** [September 19, 2017, 7:07pm UTC](https://forum.duplicati.com/t/changed-from-app-to-service-backup-no-longer-found/704/11 "2017-09-19T19:07:53Z")

</div>

> [@dpeart](#):
>
> I am now running as service with VSS enable for outlook.pst backup saving to a UNC path.

Glad to hear it!

If there were any particular posts that helped get things working for you, it would be great if you could ❤ them - and even greater (more great?) if you could pick one to check the ✅ on to flag the issue as resolved. With those few clicks you could be helping the next person to come along with a simillar issue. 👍
