Skip to content

fsdb_sync

FSDB Database SynchronizerLink

A simple command‑line utility that synchronizes two FSDB databases—whether they are local paths or remote locations. It streamlines keeping data consistent across environments, which is essential for collaborative projects and backup workflows.

Key FeaturesLink

  • Parses source (origin) and destination (target) arguments from the command line.
  • Instantiates FSDBSync from the plantdb library to perform the synchronization logic.
  • Executes the synchronization process with a single command, handling both local and remote databases.

Usage ExamplesLink

Synchronize a local database with a remote oneLink

python fsdb_sync.py /path/to/origin.db user@remote:/path/to/target.db

Synchronize two local databasesLink

python fsdb_sync.py ./origin.db ./target.db