copy_database_file
Documentation for eth_defi.vault.backup.copy_database_file function.
- copy_database_file(source, destination)
Copy a checkpointed database with progress and durable file contents.
The caller keeps the source’s exclusive connection while this runs.
- Parameters
source (pathlib.Path) – Checkpointed, stable source database.
destination (pathlib.Path) – New snapshot filename.
- Returns
Noneafter fsync.- Return type
None