From ff302a9c064aadb39cdc75a60374347545339d07 Mon Sep 17 00:00:00 2001 From: rand00 Date: Wed, 8 Dec 2021 15:40:47 +0100 Subject: [PATCH] README.md: Added section for extracting builds from one server to another --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index f4aab8e..1830de8 100644 --- a/README.md +++ b/README.md @@ -39,3 +39,26 @@ The sqlite3 database builder-web uses contains versioning information. On every schema change the database schema version is updated, and migration and rollback scripts are provided. The tool for database migrations is `builder-migrations`. See the `builder-migrations --help` output for each migration for further details. + +## Less common workflows + +Here are listed some less common but useful workflows: + +### Extracting builds from one server to another + +This is useful for development on a separate machine that doesn't run the build jobs itself. + +On the source server: +```ocaml +builder-db extract-build --dest .full +``` + +After copying the file over the destination server (you need a user first, +see `builder-db user-add --help`): +```ocaml +curl --data-binary @.full http://:@localhost:/upload +``` + + + +