sebastianfeldmann / phpbu

PHP Backup Utility - Creates and encrypts database and file backups, syncs your backups to other servers or cloud services and assists you monitor your backup process
https://phpbu.de
Other
1.29k stars 110 forks source link

Docker support #365

Closed OpenSourceSimon closed 7 months ago

OpenSourceSimon commented 7 months ago

I just came across this amazing project but it'd be easier to deploy this with Docker. Is that possible or what would it require to add Docker support? I'd love to help with the development!

sebastianfeldmann commented 7 months ago

In order to run it within a Docker container you have to setup a container that can run PHP and has network access to all the services you want to backup. You would need to "install" phpbu inside the container and then you can execute it with docker run ... So it should not be too much trouble to set it up.

YouveGotMeowxy commented 7 months ago

@OpenSourceSimon I thought the same thing at one point and did a search on Docker Hub to see if anyone had already taken up the initiative and there are several already made, though I never personally tried any of them, since it really ended up only being a matter of running the single .phar file (and of course, the few customized config files) on my web host.