Backup and Restore

Backup and Restore #

The amelie backup <directory> [login] [client options] command can be used to create a hot backup (full copy) of the remote server repository into the specified directory.

The command is compatible with the Console Client options.

Please note that the command is not intended to work through a proxy.

After the backup is completed, the new Server can start using the repository copy.


# do remote server backup
amelie backup ./backup --uri="https://localhost:3485" --token="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiAidGVzdCIsICJpYXQiOiAxNzI3OTYyMzU3LCAiZXhwIjogMTczNTkxMTE1N30.79g-77QHd82f7cSbeZSXaz4lP_7F3J4bm7EuZOUCmmM"
amelie start ./backup

# do remote server backup, use saved credentials to connect
amelie login home --uri="https://localhost:3485" --token="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiAidGVzdCIsICJpYXQiOiAxNzI3OTYyMzU3LCAiZXhwIjogMTczNTkxMTE1N30.79g-77QHd82f7cSbeZSXaz4lP_7F3J4bm7EuZOUCmmM"
amelie backup ./backup home