This documentation describes how to perform the backup and restoration operations of a TraefikEE cluster in Swarm. For a general introduction of the backup and restore mechanism, we suggest reading the introduction first.
In order to perform those operations, you will need to use
traefikeectl. To set it up, please refer to the manual installation guide
Creating a Backup¶
This section describes how to backup a TraefikEE cluster on Swarm.
Successfully generated backup archive at: 2019-03-13T174230_traefikee-backup.tar
If you don't like
tar archives, 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
Restoring a Cluster¶
traefikeectl install comes with a
--archivepath option, which enables you to install a new cluster and restore a cluster
state from given backup.
traefikeectl install \ --swarm \ --archivepath=./your-backup.tar
Replacing an Existing Cluster¶
traefikeectl, you can perform a "forced installation" which is going to replace the existing installation with
a new cluster restored from given backup.
traefikeectl install \ --swarm \ --archivepath=./your-backup.tar \ --force