Backup your OVH tied account infra back to YAML files

Setup

  • Make your OVH Api token

  • Export envs vars needed to access to your token and backup needs

    cp .env.dist .env && $EDITOR .env

What is exportable

  • dns: export all dns zones (BIND format)
  • ipfo: export all IPFO infos

Run

docker-compose run -v ./backup:/app/backup --rm backup

install systemd wide and start at boot

./install.sh

Exemples .env