ImmichI
Immich7mo ago
achllys

Backup and Restore scripts issue

Hmm, while restoring the database I get this error


ERROR:  called `Result::unwrap()` on an `Err` value: Error { inner: Error { inner: TomlError { message: "", original: Some("\r\r\n        optimizing.optimizing_threads = 4\r\r\n        [indexing.hnsw]\r\r\n        m = 16\r\r\n        ef_construction = 300\r\r\n        "), keys: [], span: Some(0..1) } } }
CREATE INDEX
ERROR:  called `Result::unwrap()` on an `Err` value: Error { inner: Error { inner: TomlError { message: "", original: Some("\r\r\n        optimizing.optimizing_threads = 4\r\r\n        [indexing.hnsw]\r\r\n        m = 16\r\r\n        ef_construction = 300\r\r\n        "), keys: [], span: Some(0..1) } } }


Backup Script: https://pastebin.com/ar0EkCTF
Restore Script: https://pastebin.com/yBHmKTZ1
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Was this page helpful?