Closed bdb closed 6 years ago
For the next days, please add --index ~/Desktop/test
to the command line.
With the new encrypted index feature, it's required to set the path to the clear-text (cache) index's directory.
I agree, this is not convenient if you don't use/need it, so I'll sort this out when --safeindex
is not given to revert to the previous behavior of writing the index in the remote's folder.
OK, thanks. I figured something was missing, but I couldn't figure out what from the built-in help nor the web doc.
EDIT: I created the test2 folder manually and backup completed. Is that a change from previous versions?
OK, backup starts now, but it fails. I thought because the index was in the src folder and it tried to backup the index, but moving the index to ~/Desktop
still fails:
Backup: Analysing: [1/3] Mismatch in metadata P1000004/20021F137/41ED/80/2/1F5/1F5/5A3194CF/5A3194CF/5A3194CF vs P1000004/20021F137/41ED/80/4/1F5/1F5/5A3194CF/5A3194CF/5A3194CF
Backup: Analysing: index.frost [2/3]Mismatch in metadata P0/0/81A4/78/1/1F5/1F5/5A3194CF/5A3194CF/5A3194CF vs P1000004/200224285/81A4/78/1/1F5/1F5/5A3194CF/5A3194CF/5A3194CF
Backup: index.frost [2/3]
Backup: Analysing: raven.txt [3/3]Mismatch in metadata P0/0/81A4/1034F/1/1F5/1F5/5A317C5E/5A2AF901/5A317C5F vs P1000004/20021F13D/81A4/1034F/1/1F5/1F5/5A317C5E/5A2AF901/5A317C5F
Backup: raven.txt [3/3]
Can't backup the test folder: Can't close the last multichunk
The backup folder test2
is not created.
It says mismatch in metadata, but I don't see any mismatch in the fields.
Strange error. I never tried to backup the folder containing the index file.
Can you run the tests ./Frost --test roundtrip
to see if it fails ?
I'll install clang4 to get the exact warning test you had, so I can figure out if the warning were actually errors.
I've just seen your edit. It should create the remote if it does not exists, so it's definitively a bug. Not sure I can handle backing up the index file however, since the index is memory mapped, so it's being changed while the backup progresses and this might confuse the software. I'll also add a check for this to prevent this case.
I know I have to improve the online documentation, it's in my todo list ;-)
I think this is fixed with commit f467712
. Feel free to comment if it's not.
Trying to setup a new backup:
Key store is empty: