docker-db-auto-backup icon indicating copy to clipboard operation
docker-db-auto-backup copied to clipboard

Provide an automated restore script

Open Akruidenberg opened this issue 1 year ago • 1 comments

It would be nice to have an option to restore an backup with this container. Commands like "docker exec autobackup db-backup restore --all"

Akruidenberg avatar Apr 27 '23 13:04 Akruidenberg

Backup is a bit more complex, especially trying to do it in an automated way like this. For example, if some databases exist in the container but not others, it's not obvious what the correct process is. Similarly, it's no longer a scheduled task, it'd just run eg pg_restore against a few servers.

I'd definitely review a PR to add this functionality if it can be done reliably, but I doubt it's something I'll add myself.

RealOrangeOne avatar Apr 27 '23 14:04 RealOrangeOne