Hello,
I’m using the following command line on Manjaro Linux to create a backup without history for 2 not so important folders:
duplicati-cli backup --backup-name="No retention" --dbpath=/pat/to/database.sqlite --encryption-module=aes --compression-module=zip --dblock-size=50mb --passphrase="XXXX" --disable-module=console-password-input --asynchronous-concurrent-upload-limit=10 --keep-versions=1 "b2://bucket_name/?auth-username=user&auth-password=password" /first/folder /some/other/folder
This works just fine as I see it processing quite a few files and the bucket gets filled with encrypted files.
Through my own stupidity, I deleted an entire sub folder two levels inside /first/folder
and so I thought this would be the perfect time to try the restore
command and did it like so:
duplicati-cli restore --backup-name="No retention" --dbpath=/pat/to/database.sqlite --encryption-module=aes --compression-module=zip --dblock-size=50mb --passphrase="XXXX" --disable-module=console-password-input --asynchronous-concurrent-upload-limit=10 --keep-versions=1 "b2://bucket_name/?auth-username=user&auth-password=password" /first/folder/down/subfolder
While this does not error out, it does not restore anything:
Restore started at 24/07/2024 11:29:11
Checking remote backup ...
Listing remote folder ...
Checking existing target files ...
Verifying restored files ...
Restore completed without errors but no files were restored
Restored 0 (0 octets) files to original path
Duration of restore: 00:00:55
I found this quite strange so I tried to use find
, like so:
duplicati-cli find --backup-name="No retention" --dbpath=/pat/to/database.sqlite --encryption-module=aes --compression-module=zip --dblock-size=50mb --passphrase="XXXX" --disable-module=console-password-input --asynchronous-concurrent-upload-limit=10 --keep-versions=1 "b2://bucket_name/?auth-username=user&auth-password=password"
This gave me this:
Listing filesets:
0 : 19/07/2024 05:23:07 (368582 files, 684,645 GB)
which is on par with the latest run for this backup.
If I give /first/folder/down/subfolder
as an additional argument to find, I get this:
No files matching, looking in all versions
No files matched expression
And as soon as I try using search expressions, the find command consumes CPU for a long time and appears to never return.
Here are a few that I tried:
'[\/first\/folder\/.+]'
'/first/folder/*'
"/first/folder/*"
/first/folder/*
Clearly, I must have missed something but I can’t figure out what it could be.
Thanks for any help