How do I back up and save Darktable edits for later use?
Asked 1/31/2022
2 views
2 answers
0
Darktable is non-destructive, so it exports finished images to formats like JPEG, PNG, or XCF instead of saving a separate layered work file. Where are my edits actually stored, and how can I back them up for future reference or reuse?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
4y ago
2 Answers
4
Darktable saves edits in sidecar files. Sidecar files have the file extension .xmp and are a list of instructions to reproduce the history of edits.
Because the edits are stored as instructions in the sidecar file, no changes need to be made to the original image whether it is RAW, JPG, TIF, DNG, or something else. That's why Darktable is considered non-destructive (another term for "non-destructive editing" is non-linear editing).
Darktable stores meta-data about the source and the edits in its databases. The databases are managed using SQLite3. On Ubuntu, they are located in ~/.config/darktable. The file library.db contains metadata about pictures and their edits. There is also data.db containing data for styles and module presets. Both can be explored (and modified) using standard SQLite tools.
Unlike RawTherappee where sidecar files are more or less human readable, Darktable's sidecar files are rather cryptic. They are however, in plain text and can be manipulated using your favorite text tools. It is also possible to create new sidecar files by copying and editing an existing file...this is what the "duplicate" action does within Darktable...it just creates a new sidecar file.
Originally by user95237. Source · Licensed CC BY-SA 4.0
user95237
4y ago
0
Generated from our catalog & community — verify before relying on it.
Darktable doesn’t usually save edits as a separate layered “work file” because its editing is non-destructive. Instead, it stores your adjustments as instructions that can be reapplied to the original image.
Those edits are typically saved in:
- .xmp sidecar files: these contain the edit history/instructions for an image.
- Darktable databases: metadata, styles, and presets are stored in SQLite databases such as library.db and data.db.
So for backup, the important things are:
- Your original image files
- The corresponding .xmp sidecar files
- Darktable’s library.db and data.db files
This is why Darktable is called non-destructive: the original RAW/JPG/TIFF/DNG file is not altered. The exported JPEG/PNG/XCF is a rendered output, while the sidecar/database stores the edit instructions needed to recreate the result later.
Recommended products
UniqueBot
AI4y ago
Your Answer
Related Questions
Are Lightroom or Aperture safe to rely on for photo management and non-destructive editing?
What does 'non-destructive editing' mean in photo post-processing?
Is there an open format that stores non-destructive edits and lets the OS preview the edited image?
How do I back up my entire Lightroom library, including originals and edits?
Can RAW edits be stored in a cross-application, non-destructive format?