Documentation menu

Version 1.8.0-community

Installation

Build the GoArchive binary from source and verify the installation.

GoArchive is distributed as source and builds into a single self-contained binary with no runtime dependencies.

Requirements

  • Go 1.21 or later
  • Network access to your MySQL servers

Build from source

git clone https://github.com/dbsmedya/goarchive.git
cd goarchive
go build -o goarchive ./cmd/goarchive

This produces a goarchive binary in the current directory.

Install system-wide

Move the binary somewhere on your PATH:

sudo mv goarchive /usr/local/bin/

Verify

goarchive version

The command prints the version and build information. If your shell reports that the command was not found, confirm the binary is on your PATH.

Available commands

goarchive --help
CommandPurpose
archiveCopy data to the destination, then remove it from the source
copy-onlyCopy data to the destination without removing anything
purgeRemove data from the source without copying it
dry-runPreview a job, including estimated row counts
validateCheck the configuration and the environment
planDisplay the table relationships and processing order
list-jobsList the jobs defined in a configuration file
versionShow version information

Next step

Continue to the Quick Start to build your first configuration file.