sync to replicate Fedora Commons content between environments — for example pulling production fcrepo data to a local context for development or testing.
sync fcrepo
Copy the Fcrepo database from a source context to a target context. This backs up the Fcrepo database on the source, transfers the artifact, and imports it into the target. The command asks for confirmation before importing. Pass--yolo to skip the prompt
in automation.
Use --fresh to always take a new backup rather than reusing one from today.
database, db
| Flag | Default | Description |
|---|---|---|
--backup-dir | /tmp/sitectl-isle-jobs/fcrepo-db-backup | Directory on the source host used to cache backup artifacts. |
--fresh | false | Always take a fresh backup instead of reusing one from today. |
--source | Source sitectl context. | |
--target | Target sitectl context. | |
--yolo | false | Skip the confirmation prompt before importing. |
Typical workflow
Pull fcrepo from production to a local context:--yolo to skip the confirmation in CI or automation.
