Create backup
Archives the volumes of the Docker compose services that are running, into your backup directory. Protection: token. Volumes are read while the containers run, so an archive is not proof it restores: Run backup drill is.
Authorizations
The token you start the server with: homebutler serve --token <token>, or web.token in the config file. Send it as Authorization: Bearer <token>. When the server has a token, every /api/ route except the CORS preflight requires it, reads included.
Body
application/jsonBack up only this compose service. Without it, every running compose service is backed up.
Mount sources to leave out of the archive.
Response
200 · application/jsonThe archive that was written.
The path of the archive.
The compose services in the archive.
The number of mounts written.
The archive size as text, such as 1.7 KB.
Mounts left out by exclude, as service:source.
Entries of exclude that matched no mount.