Releases: agence-webup/backr
v5 (build 10)
v4 (build 9)
New command:
backr now [PROJECT_NAME]
Note: the project must be configured by backr before use
This command allows to create a backup immediately, uploaded to Swift. This can be useful in case of maintenance operations that need an up-to-date backup.
v3 (build 8)
This release includes a new feature allowing to perform backups using a custom command.
So a new section in backup.yml
has been added:
archiver:
type: stdout
ext: txt
command:
- echo
- "backup!"
By default, backr performs backups using the Pliz archiver. It's backward compatible. Now you can set the archiver as stdout
, with a file extension. When the backup is performed, the stdout
output is catched and save in a file with the specified extension.
v2 (build 7)
New HTTP API to communicate with backr daemon, with the following endpoints:
Public
/health
returnsHTTP 200
if everything is ok,HTTP 418
if not with failed backups details/status
returns all configured projects with the current state
Private
/backups
returns the download links to uploaded backups. Example:
curl -X "GET" "http://domain_name:22257/backups?name=ocelo&token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0Nzk4MzEzMDB9.B0e31bug0eGd7zYFKcKUw02dbkkSpyQ-DEfrB7Cb648"
where name
is a project name and token
is a secure token get with CLI using backr token
.