feat(scripts): remote migrate-storage script for MinIO to filesystem migration #138
Reference in New Issue
Block a user
Delete Branch "feat-remote-migrate-storage"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds
scripts/migrate-storage.shthat follows the samedeploy.shpattern: cross-compiles themigrate-storagebinary locally, uploads it to the target host via SCP, then runs it over SSH using credentials from/etc/silo/silod.env.Usage:
Example:
Flow:
cmd/migrate-storagefor linux/amd64 on dev machine/etc/silo/silod.envfor credentials, writes a temp config with the provided DB/MinIO hosts, runs the migration to/opt/silo/data, cleans up