Import from json - wrong password

duplicati update to 2.1.0.3 failed, so i deleted the existing and ran the duplicati 2.1.0.3 and it was ok. then i had to import the json

for my documents, it req the password, and i had that, but it wrote: wrong password
now i tried to restore from the existing backup files, andthe same password worked oki, so im sure it works

so what password was it referring to when import ? if not the existing password?

Was long message like this?

What does “my documents” mean? Is that where the export file is that you’re asking import?

If so, does its file name start with the job name and end with duplicati-config.json.aes?

If so, you AES encrypted the job when you exported it. This is often good to protect contents.

Give import the password you gave export, not any other password you might have entered.

the name of the duplicator is mydocs.json
The issue is:
when i made this backup , i password protected it, and i have that password
when i import the json it says “wrong password”
to test its the same /correct password i tried to restore files from the old duplicator backup files and it worked, this should show its the same/correct password i use?.
But still it says “wrong password”

That’s not a Duplicati config file, so you can’t import it. Maybe you look to see what’s inside.

What I take as “import from json” is this:

If you have no exported job, you have nothing to import.

How exactly? Without a job, you could have done “Direct restore from backup files”.

You would then type in any needed passwords, but what import needs is the export.

A password is not required, but if you chose it, you give the same one to the import.

Not guaranteed You could have typed something different than the backup password.

Your backup encryption password gets typed on the first screen of the job, right here:

For “Direct restore from backup files” (is that what you did?) password goes like this:

I’m not sure I’m following what you’re doing, without seeing pictures or clear descriptions.

Did you actually run job export at all? If so, find file from it, based on names I gave earlier.

If not encrypted, it won’t have .aes on its end, but will end with duplicati-config.json

The existing what? I guessed job. That is the only thing that makes sense for fix by json import.

If mydocs.json does not have a "Backup" line near the top, it’s not likely a job export, however import requires export (with or without a passphrase) otherwise getting job back may be difficult.

is also hard to follow. If the update failed, why are you deleting existing (something-not-stated)? Failure also isn’t described. Basically there’s very little info here, so I hope you can clarify some.

second mail
my json file was created/export by duplicatii
its correct i wrote the json - import FOR the backup of my docs, not the name of the json file
note the line “TargetURL”: “file://A:\a_backup_wv\duplicati_wv\mydocs_wv\”, and it was from this path i tried restore using the correct password)
even if the txt do not include “duplicati” i hope it shows that its actually an export
so i imported a json file FOR another duålicatii backupå which does not req a password, and it went ok.

{
“CreatedByVersion”: “2.0.6.105”,
“Schedule”: {
“ID”: 5,
“Tags”: [
“ID=11”
],
“Time”: “2023-04-15T12:00:00Z”,
“Repeat”: “1h”,
“LastRun”: “2023-04-15T11:00:00Z”,
“Rule”: “AllowedWeekDays=Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday”,
“AllowedDays”: [
“mon”,
“tue”,
“wed”,
“thu”,
“fri”,
“sat”,
“sun”
]
},
“Backup”: {
“ID”: “11”,
“Name”: “mydocs_t1smartbup”,
“Description”: “mydocuments wo games , videos, …”,
“Tags”: ,
“TargetURL”: “file://A:\a_backup_wv\duplicati_wv\mydocs_wv\”,
“DBPath”: “C:\Users\ADK\AppData\Local\Duplicati\BPBWVNUKWI.sqlite”,
“Sources”: [
“%MY_DOCUMENTS%”,
“a:\dropbox\”,
“A:\z_barbar_LOKAL_SYNC.bat”,
“A:\z_barbar_EXTERNAL_bup.bat”,
“A:\z_barbar_EXTERNAL_p.bat”,
“A:\z_barbar_EXTERNAL_v.bat”,
“A:\z_barbar_EXTERNAL_x.bat”,
“A:\z_barbar_EXTERNAL_y.bat”,
“A:\z_barbar_EXTERNAL_Z.bat”,
“c:\autoexec.bat”
],
“Settings”: [
{
“Filter”: “”,
“Name”: “encryption-module”,
“Value”: “aes”,
“Argument”: null
},
{
“Filter”: “”,
“Name”: “compression-module”,
“Value”: “zip”,
“Argument”: null
},
{
“Filter”: “”,
“Name”: “dblock-size”,
“Value”: “50MB”,
“Argument”: null
},
{
“Filter”: “”,
“Name”: “retention-policy”,
“Value”: “1W:1D,4W:1W,12M:1M”,
“Argument”: null
},
{
“Filter”: “”,
“Name”: “–force-actual-date”,
“Value”: “true”,
“Argument”: null
},
{
“Filter”: “”,
“Name”: “–exclude-files-attributes”,
“Value”: “temporary”,
“Argument”: null
}
],
“Filters”: [
{
“Order”: 0,
“Include”: false,
“Expression”: “%MY_DOCUMENTS%\My Games\”
},
{
“Order”: 1,
“Include”: false,
“Expression”: “%MY_DOCUMENTS%\Videoer\”
},
{
“Order”: 2,
“Include”: false,
“Expression”: “[meta]].zip”
}
],
“Metadata”: {
“LastBackupDate”: “20230415T110000Z”,
“BackupListCount”: “2”,
“TotalQuotaSpace”: “128034271232”,
“FreeQuotaSpace”: “75598569472”,
“AssignedQuotaSpace”: “-1”,
“TargetFilesSize”: “1553755642”,
“TargetFilesCount”: “66”,
“TargetSizeString”: “1.45 GB”,
“SourceFilesSize”: “1836088751”,
“SourceFilesCount”: “2579”,
“SourceSizeString”: “1.71 GB”,
“LastBackupStarted”: “20230415T110000Z”,
“LastBackupFinished”: “20230415T110003Z”,
“LastBackupDuration”: “00:00:03.3250991”,
“LastCompactDuration”: “00:00:00.0369794”,
“LastCompactStarted”: “20230415T110002Z”,
“LastCompactFinished”: “20230415T110002Z”,
“LastRestoreDuration”: “00:00:02.1249755”,
“LastRestoreStarted”: “20230415T100308Z”,
“LastRestoreFinished”: “20230415T100310Z”,
“LastErrorDate”: “20230120T135905Z”,
“LastErrorMessage”: “Found 97 remote files that are not recorded in local storage, please run repair”
},
“IsTemporary”: false
},
“DisplayNames”: {
“%MY_DOCUMENTS%”: “My Documents”,
“a:\dropbox\”: “dropbox”,
“A:\z_barbar_LOKAL_SYNC.bat”: “z_barbar_LOKAL_SYNC.bat”,
“A:\z_barbar_EXTERNAL_bup.bat”: “z_barbar_EXTERNAL_bup.bat”,
“A:\z_barbar_EXTERNAL_p.bat”: “z_barbar_EXTERNAL_p.bat”,
“A:\z_barbar_EXTERNAL_v.bat”: “z_barbar_EXTERNAL_v.bat”,
“A:\z_barbar_EXTERNAL_x.bat”: “z_barbar_EXTERNAL_x.bat”,
“A:\z_barbar_EXTERNAL_y.bat”: “z_barbar_EXTERNAL_y.bat”,
“A:\z_barbar_EXTERNAL_Z.bat”: “z_barbar_EXTERNAL_Z.bat”,
“c:\autoexec.bat”: “autoexec.bat”
}
}

hi again
i added tooo many png to my mail, so i send now a new one
test of password:

duplicati backup to folder:A:\a_backup_wv\duplicati_wv\mydocs_wv

first few bytes content of file :duplicati-20250303T051840Z.dlist.zip.aes:

AES !CREATED_BY SharpAESCrypt v2.0.3.0 CREATED_DATE 2025-03-03 CREATED_TIME 05-18-46 €…
hopefully showing a hint that it was created by duplicator (and have been running for a year wo problem.

restore file to sho the password is correct:
duplicati-restore-start.png
duplicati-restore-from-folder.png
duplicati-restore-input-password.png
duplicati-restore-file.png
duplicati-restore-where-to-save-the-file.png

dir after restore of file (and i can read it in pdf reader)
G:\temp\10 års vedligeholdelsesplan.pdf10

this shows the password is correct (if i do not write the assword it says its not correct…)

(attachments)



The topic title is “Import from json - wrong password”, but latest two posts did not try import.

Let me just address those then.

Last post shows (images in reverse order I guess) Direct restore from backup files, enter info ending with backup encryption password (which has nothing to do with the export password).

So assuming the restore worked, you proved that you know the backup encryption password.

Next to last post gets confusing. You show an export from different backup, not using backup encryption. I can’t tell if the file whose content you showed was itself encrypted (.aes suffix).

Regarding export file names, Windows made the (unappealing to me) choice to not show file extensions in File Explorer by default. So if I export a job config with encryption, it may show:

because File name extensions is unchecked by default. It gives a hint in its icon and Type, although Type would probably be something else (AES file?) if PC didn’t have AES Crypt.

Right-click → Properties (this is Windows 10) shows below, and actually reveals its extension.

Possibly this explains the lack (as easily seen) of the full .json.aes suffix on your file name.
I don’t know where duplicati-config part went. My browser doesn’t allow rename on save.

is what was posted, but now an update says

OK, I guess I will stop taking originally posted name as the file name. Is file encrypted though?
I’ve given you several ways to see, and you can also check View tab File name extensions

If it’s encrypted, the import needs the passphrase from export, not the backup encryption one.

EDIT:

If you want to do password guessing with AES Crypt (might be a little faster), download it here.
To say again, I suspect you typed different password on job export than backup files are using.