This documentation describes how to perform the backup and restoration operations of a TraefikEE cluster for an on premise installation. For a general introduction of the backup and restore mechanism, we suggest reading the introduction first.
Creating a Backup¶
In order to perform this operation, you will need to use
traefikeectl. To set it up, please refer
to the manual installation guide.
Successfully generated backup archive at: 2019-03-13T174230_traefikee-backup.tar
If you need to, TraefikEE also supports creating
zip archives for backup, with the
If, somehow, the backup system fails to generate a valid backup, you can force the generation of a new one with the
With a control-node running on the host you want to make a backup on, you can run from an user with access to the Traefikee Control API socket.
traefikee backup --controlAPISocket="/path/to/socket.sock"
Then you can move the generated archive to a secure storage.
traefikee backup command has the same feature set than
traefikeectl. For more informations, please refer
to the traefikee CLI reference.
Restoring a Cluster¶
Instead of specifying the
--licensekey option, enable the backup restoration by using the
--archivepath option which
traefikee to restore the cluster state from a given backup archive.
Remember that the backup archive carries sensitive information. Make sure to use secure tools, like
scp to move
your backup from your storage to the bootstrap node machine.
traefikee bootstrap \ --hostname=bootstrap \ --advertise=10.10.0.1:4242 \ --listen=10.10.0.1:4242 \ --timeout=300 \ --controlNodes=3 \ --api \ --archivepath=./your-backup.tar
You can then resume the installation procedure at the get tokens step.