Replies: 1 comment
-
|
If your database is not encrypted, you could likely recover most of the data.
What is lost is "catalog-only" information, which is:
If your data is encrypted - you will have lost all of your data, as the encryption keys are stored in the catalog and the data is not readable without those encryption keys. Storing the data necessary for a full recovery at all points would effectively require all commits to write all metadata to the data path - which would negate a lot of the benefits of DuckLake. That being said - you could periodically upload snapshots of the DuckLake catalog (e.g. as a DuckDB or SQLite database file) to the data path to serve as back-ups to allow at least "recovery as of a certain time". You could also use any back-up tools available for whichever metadata catalog you are using to back-up your DuckLake catalog (e.g. if you are using Postgres, you can use Postgres' backup utilities). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Suppose I lost my catalog ( sqlite file) but not the data .
Would it be possible to restore the catalog from data? even partially ?
What about keeping some extra metadata in storage to make possible a catalog restoration ?
Beta Was this translation helpful? Give feedback.
All reactions