Skip to content

Orchestrateur de sauvegardes diverses : Instances Openstack, Bases de données, fichiers distants ou locaux. Sauvegarde via Restic et notifications en cas d'erreurs.

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.symfony
Notifications You must be signed in to change notification settings

p-bizouard/CloudBackup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloudBackup

Description

CloudBackup is a backup software powered by Restic. It can backup:

  • Openstack instances
  • MySQL/PostgreSQL databases (direct connection or with ssh gateway)
  • Custom remote command by ssh (download a single file. Should use tar to backup a directory)
  • Remote directory mounted with sshfs
  • SFTP
  • Everything with Rclone (source and destination must both use rclone)
  • Check and alert on en external restic repository

The dashboard show all backup statuses, and provide the restic commands to download your data.

Global workflow

Workflow

Openstack instance

Todo

  • Optional restic backup arguments
  • Start manual backup

Requirements

  • Git
  • Docker / docker-compose

Local installation - execute once

  • Install dependencies, configure environments, run containers:
cp -f .env .env.local
  • Launch php + database + assets
./start-dev.sh

If errors pop up because you already have containers using required ports, you can stop all running containers with docker stop $(docker ps -aq)

  • Create database and load fixtures:
docker-compose exec php bin/console doctrine:database:create
docker-compose exec php bin/console doctrine:migrations:migrate
docker-compose exec php bin/console hautelook:fixtures:load --env=dev

Development environment

Launch the development environment

./start-dev.sh

Access to your containers

Start backups

docker-compose exec php bin/console app:backup:start

Useful commands - Symfony with docker cheatsheet

See the Symfony with docker cheatsheet

To update graph in README.md

docker-compose run php bash -c "bin/console workflow:dump backup | dot -Tsvg -o doc/graph.svg"

About

Orchestrateur de sauvegardes diverses : Instances Openstack, Bases de données, fichiers distants ou locaux. Sauvegarde via Restic et notifications en cas d'erreurs.

Topics

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.symfony

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published