Backup of windows users failing: Access is denied

Windows web not working, and I don’t understand why.
Really basic setup to backup the following:
C:\users\lance and C:\users\debbie to existing backblaze account.
Here’s the log:

Running backup command from C:\Users\Debbie/.duplicacy-web/repositories/localhost/2 to back up C:/Users
Options: [-log backup -storage Backblaze -threads 4 -stats]
2022-06-25 00:45:20.460 INFO REPOSITORY_SET Repository set to C:/Users
2022-06-25 00:45:20.462 INFO STORAGE_SET Storage set to b2://Duplicacy-Haverkamp
2022-06-25 00:45:20.776 INFO BACKBLAZE_URL download URL is: https://f001.backblazeb2.com
2022-06-25 00:45:21.451 INFO BACKUP_START No previous backup found
2022-06-25 00:45:21.451 INFO BACKUP_INDEXING Indexing C:\Users
2022-06-25 00:45:21.451 INFO SNAPSHOT_FILTER Parsing filter file \\?\C:\Users\Debbie\.duplicacy-web\repositories\localhost\2\.duplicacy\filters
2022-06-25 00:45:21.451 INFO SNAPSHOT_FILTER Loaded 2 include/exclude pattern(s)
2022-06-25 00:45:21.508 WARN LIST_FAILURE Failed to list subdirectory: open \\?\C:\Users\Debbie\AppData\Local\ElevatedDiagnostics: Access is denied.
2022-06-25 00:45:22.541 WARN LIST_FAILURE Failed to list subdirectory: open \\?\C:\Users\Debbie\AppData\Local\Temp\EDGEMITMP_7A657.tmp: Access is denied.
2022-06-25 00:45:22.569 WARN LIST_FAILURE Failed to list subdirectory: open \\?\C:\Users\Debbie\AppData\Local\Temp\msdtadmin: Access is denied.
2022-06-25 00:45:25.596 WARN LIST_FAILURE Failed to list subdirectory: open \\?\C:\Users\Lance: Access is denied.
2022-06-25 00:45:25.597 INFO INCOMPLETE_LOAD Incomplete snapshot loaded from C:\Users\Debbie\.duplicacy-web\repositories\localhost\2/.duplicacy/incomplete
2022-06-25 00:45:25.597 INFO BACKUP_LIST Listing all chunks
2022-06-25 00:45:49.507 INFO FILE_SKIP Skipped 0 files from previous incomplete backup
2022-06-25 00:45:49.514 INFO BACKUP_THREADS Use 4 uploading threads
2022-06-25 00:45:49.520 WARN OPEN_FAILURE Failed to open file for reading: open \\?\C:\Users\Debbie\NTUSER.DAT: The process cannot access the file because it is being used by another process.
2022-06-25 00:45:49.555 WARN OPEN_FAILURE Failed to open file for reading: open \\?\C:\Users\Debbie\ntuser.dat.LOG1: The process cannot access the file because it is being used by another process.
2022-06-25 00:45:49.556 WARN OPEN_FAILURE Failed to open file for reading: open \\?\C:\Users\Debbie\ntuser.dat.LOG2: The process cannot access the file because it is being used by another process.
2022-06-25 00:46:01.332 ERROR CHUNK_MAKER Failed to read 0 bytes: read \\?\C:\Users\Debbie\AppData\Local\Mega Limited\MEGAsync\megaclient_statecache12_TV92U29qUVZ0Zm9JKRgyFo2LA6Cwx5BnMyqP.db-shm: The process cannot access the file because another process has locked a portion of the file.
2022-06-25 00:46:01.350 INFO INCOMPLETE_SAVE Incomplete snapshot saved to C:\Users\Debbie\.duplicacy-web\repositories\localhost\2/.duplicacy/incomplete
Failed to read 0 bytes: read \\?\C:\Users\Debbie\AppData\Local\Mega Limited\MEGAsync\megaclient_statecache12_TV92U29qUVZ0Zm9JKRgyFo2LA6Cwx5BnMyqP.db-shm: The process cannot access the file because another process has locked a portion of the file.

This instance is running as a user. Not as a system account. It won’t have access to another users data.

My advice — login to each user and uninstall all duplicacy instances.

Then install one and only one, launching installer as administrator and selecting to install it as a service.

I don’t know much about Windows, I find Linux a hell of a lot easier to use; so please bear with me:
Trying to follow what you said, I hit Ctrl+Alt-Del, Duplicacy is not listed as a running App for either user. It is listed under services, but was stopped (I have no idea why). I right-clicked & started it. Opened the web interface, and manually clicked backup. It ran for a few seconds, then failed, giving me this error:

Running backup command from C:\ProgramData/.duplicacy-web/repositories/localhost/0 to back up C:/Users/Debbie
Options: [-log backup -storage Backblaze -stats]
2022-06-25 13:13:07.069 INFO REPOSITORY_SET Repository set to C:/Users/Debbie
2022-06-25 13:13:07.071 INFO STORAGE_SET Storage set to b2://Duplicacy-Haverkamp
2022-06-25 13:13:07.353 INFO BACKBLAZE_URL download URL is: https://f001.backblazeb2.com
2022-06-25 13:13:10.035 INFO BACKUP_START Last backup at revision 864 found
2022-06-25 13:13:10.035 INFO BACKUP_INDEXING Indexing C:\Users\Debbie
2022-06-25 13:13:10.035 INFO SNAPSHOT_FILTER Parsing filter file \\?\C:\ProgramData\.duplicacy-web\repositories\localhost\0\.duplicacy\filters
2022-06-25 13:13:10.037 INFO SNAPSHOT_FILTER Loaded 47 include/exclude pattern(s)
2022-06-25 13:13:18.994 WARN LIST_FAILURE Failed to list subdirectory: open \\?\C:\Users\Debbie\Application Data: Access is denied.
2022-06-25 13:13:19.001 WARN LIST_FAILURE Failed to list subdirectory: open \\?\C:\Users\Debbie\Cookies: Access is denied.
2022-06-25 13:13:28.487 WARN LIST_FAILURE Failed to list subdirectory: open \\?\C:\Users\Debbie\Local Settings: Access is denied.
2022-06-25 13:13:28.487 WARN LIST_FAILURE Failed to list subdirectory: open \\?\C:\Users\Debbie\My Documents: Access is denied.
2022-06-25 13:13:28.487 WARN LIST_FAILURE Failed to list subdirectory: open \\?\C:\Users\Debbie\NetHood: Access is denied.
2022-06-25 13:13:30.787 WARN LIST_FAILURE Failed to list subdirectory: open \\?\C:\Users\Debbie\PrintHood: Access is denied.
2022-06-25 13:13:30.787 WARN LIST_FAILURE Failed to list subdirectory: open \\?\C:\Users\Debbie\Recent: Access is denied.
2022-06-25 13:13:30.790 WARN LIST_FAILURE Failed to list subdirectory: open \\?\C:\Users\Debbie\SendTo: Access is denied.
2022-06-25 13:13:30.790 WARN LIST_FAILURE Failed to list subdirectory: open \\?\C:\Users\Debbie\Start Menu: Access is denied.
2022-06-25 13:13:30.824 WARN LIST_FAILURE Failed to list subdirectory: open \\?\C:\Users\Debbie\Templates: Access is denied.
2022-06-25 13:13:38.914 ERROR CHUNK_MAKER Failed to read 0 bytes: read \\?\C:\Users\Debbie\AppData\Local\Mega Limited\MEGAsync\megaclient_statecache12_TV92U29qUVZ0Zm9JKRgyFo2LA6Cwx5BnMyqP.db-shm: The process cannot access the file because another process has locked a portion of the file.
Failed to read 0 bytes: read \\?\C:\Users\Debbie\AppData\Local\Mega Limited\MEGAsync\megaclient_statecache12_TV92U29qUVZ0Zm9JKRgyFo2LA6Cwx5BnMyqP.db-shm: The process cannot access the file because another process has locked a portion of the file.

Same here, haven’t used windows for ages… (anything is easier than windows…) but I’ll try to help from what I remember :slight_smile:

It appears -vss flag is not set. edit options for the backup job and add -vss. This will use windows volume shadow copy service to create snapshot and backup from it, this may help if windows has implemented some sort of user data protection.

Also in the service properties make sure it is running as a user that has administrator or system privileges.

-vss will help to handle locked files, although backing up -shm and -wal files is pointless – they are transient and temporary. I would add exclusion pattern to skip them.

(edit: I’ve added markup to your post to make log easier to read)