Hi
I’m using Duplicacy Web Edition on my Windows 10 laptop.
Now i wanted to try to operate via CLI to prune some snapshots.
I have actually 2 repos, both on the same storage, that’s encrypted.
First doubt is that when i listed snapshots for “0” there was no prompt for the storage password. When i listed snapshots for “1” i was asked for the password. Tried again with “1” and the password was not asked this time.
Maybe the second access to “1” had it cached?, but why it was not asked when i listed “0” for the first time?
So:
C:\ProgramData\.duplicacy-web\repositories\localhost\0>duplicacy_win_x64_2.7.2.exe list
Listed without asking for password.
C:\ProgramData\.duplicacy-web\repositories\localhost\1>duplicacy_win_x64_2.7.2.exe list
Had to put in the password.
C:\ProgramData\.duplicacy-web\repositories\localhost\1>duplicacy_win_x64_2.7.2.exe list
No password this time.
C:\ProgramData\.duplicacy-web\repositories\localhost\all>duplicacy_win_x64_2.7.2.exe list
Had to put in the password.
I’m just curious to understand how this works.
So after this i pruned my old snapshots:
C:\ProgramData\.duplicacy-web\repositories\localhost\all>duplicacy_win_x64_2.7.2.exe prune -id Thunderbird -r 1-4
Storage set to W:/My Documents/PC_Duplicacy_Backups
Deleting snapshot Thunderbird at revision 1
Deleting snapshot Thunderbird at revision 2
Deleting snapshot Thunderbird at revision 3
Deleting snapshot Thunderbird at revision 4
Fossil collection 1 saved
The snapshot Thunderbird at revision 1 has been removed
The cached snapshot Thunderbird at revision 1 could not be removed: remove C:\ProgramData\.duplicacy-web\repositories\localhost\all/.duplicacy/cache/WorkDocs/snapshots/Thunderbird/1: Access is denied.
The snapshot Thunderbird at revision 2 has been removed
The cached snapshot Thunderbird at revision 2 could not be removed: remove C:\ProgramData\.duplicacy-web\repositories\localhost\all/.duplicacy/cache/WorkDocs/snapshots/Thunderbird/2: Access is denied.
The snapshot Thunderbird at revision 3 has been removed
The cached snapshot Thunderbird at revision 3 could not be removed: remove C:\ProgramData\.duplicacy-web\repositories\localhost\all/.duplicacy/cache/WorkDocs/snapshots/Thunderbird/3: Access is denied.
The snapshot Thunderbird at revision 4 has been removed
The cached snapshot Thunderbird at revision 4 could not be removed: remove C:\ProgramData\.duplicacy-web\repositories\localhost\all/.duplicacy/cache/WorkDocs/snapshots/Thunderbird/4: Access is denied.
And:
C:\ProgramData\.duplicacy-web\repositories\localhost\all>duplicacy_win_x64_2.7.2.exe prune -id Firefox -r 1-3
Storage set to W:/My Documents/PC_Duplicacy_Backups
Fossil collection 1 found
Fossils from collection 1 can't be deleted because deletion criteria aren't met
Deleting snapshot Firefox at revision 1
Deleting snapshot Firefox at revision 2
Deleting snapshot Firefox at revision 3
Fossil collection 2 saved
The snapshot Firefox at revision 1 has been removed
The snapshot Firefox at revision 2 has been removed
The snapshot Firefox at revision 3 has been removed
So i think for Firefox it went well, but something was wrong with Thunderbird.
Any idea what it is?
EDIT: Something is strange with my setup, maybe when i switched to Duplicacy Web Edition as a service. Not sure. Don’t know why but i see i have only 1 backup id on my storage instead of 2 (from storage tab). Also from Restore tab i see a third option “duplicacyweb” that is an empty folder in C:\ProgramData\.duplicacy-web\repositories\localhost\all\.duplicacy\cache\WorkDocs\snapshots
alongside my Firefox and Thunderbird folders
Thanks!