Yesterday I did unmount a s3ql backup mount (Normally I never do that). So
today I have error in my backup. Fine I just remote and recopy, but I can't
mount it again.

FSCK:
Starting fsck of s3c://mystorage.com/dbsqlbackup/
Downloading metadata...
Downloaded 21298/21298 metadata blocks (100%)
ERROR: Uncaught top-level exception:
Traceback (most recent call last):
  File "/usr/local/bin/fsck.s3ql", line 33, in <module>
    sys.exit(load_entry_point('s3ql==5.2.3', 'console_scripts',
'fsck.s3ql')())

 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"/usr/local/lib/python3.12/dist-packages/s3ql-5.2.3-py3.12-linux-x86_64.egg/s3ql/fsck.py",
line 1319, in main
    db = download_metadata(backend, cachepath + '.db', param,
failsafe=param.is_mounted)

 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File
"/usr/local/lib/python3.12/dist-packages/s3ql-5.2.3-py3.12-linux-x86_64.egg/s3ql/database.py",
line 561, in download_metadata
    raise DatabaseChecksumError(db_file, params.db_md5, digest)
s3ql.database.DatabaseChecksumError: File
/tmp/s3ql-cache-dbsqlbackup/s3c:=2F=2Fmystorage.com=2Fdbsqlbackup=2F.db has
checksum 3f2ddad6a04f721baab513bb9d588f8dd3353be41b236342c87278aaa9a275ef,
expected 09b150d865d20ffec8a6b0c36202bdaddd159bde7137f3027bb723276b814f53

The umount.s3ql yesterday was clean. I have unfortunate tested a bit to
muche so the mount log is rolled to many times, so I don't have that to
share. But It all looked good.

I did install sqlite3 and did run a pragma integrity_check and it returns
100 lines of:
row 6064046 missing from index sqlite_autoindex_objects_1
row 6065240 missing from index sqlite_autoindex_objects_1
row 6092815 missing from index sqlite_autoindex_objects_1
row 6108290 missing from index sqlite_autoindex_objects_1
row 6117131 missing from index sqlite_autoindex_objects_1
on the local db.

I'm not sure what to do next. I was looking at use older remote metadata,
but the docs says I should try repair first but nothing about how to repair.

BR
/Johan

-- 
You received this message because you are subscribed to the Google Groups 
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/s3ql/CAFAaxyT6WMyUn9HXTTp6S4c%3DEu8YnJaSLD3U%3Dg%3DDBSFeRgNtxQ%40mail.gmail.com.

Reply via email to