This is a dockerfile and compose setup to run atlascloud-backup.
atlascloud-backup
This is a tool to manage backups of your Jira & Confluence Atlassian Cloud instances. It downloads and manages backups of your cloud instances, provides monitoring using Opsgenie and helps with reporting and other monitoring integrations.
First read the atlascloud-backup README!
Steps to go:
- Clone the project repository
- Copy
config.yml.dist
toconfig.yml
and configure it to your liking:- Add all the sites you want to back up
- How many backups to retain, dont change the location of the backups here. (Or you know what you are doing inside the container)
- create a backup directory on the host and map this folder in the docker compose file
- start the docker compose with
docker compose up
- check the logs with docker
compose logs -f
- if setup is worlking create a cronjob to run the backup
docker compose -f /path/to/the/docker-compose.yml up -d
By default the container always starts a backup job but you could also use it to the the backups or rotate them. Do so by running the normal atlascloud-backup command with docker compose in the /app directory of the container.
docker compose run atlascloud-backup node . create
docker compose run atlascloud-backup node . create --verbose
docker compose run atlascloud-backup node . rotate
docker compose run atlascloud-backup node . rotate --dryrun
docker compose run atlascloud-backup node . assert-status
docker compose run atlascloud-backup node . ops-heartbeat