4 ms·
DockGuard: The easiest way to backup your Docker containers
- dijit 3y agoCurious about how this differs from `docker export`
- speedgoose 3y agoLooks like it can do a mysqldump. The project is ambitious and very young , but I feel like better backup systems exists for containers, especially if you look into the kubernetes world.
- INTPenis 3y agoKubernetes is often overkill though. I run a lot of pure container hosts lately and the need to backup has made me roll my own images. For example bundling pgbackrest with the postgres image, or mariabackup with the mysql image. And of course using podman export in backup jobs.
- Havoc 3y ago> Importing back to a container is something we plan on adding soon™ Hold up. Surely for a functional backup system I need both parts ? Like today
- justsomehnguy 3y agoBut it runs on Node! And has fancy Unicode smiles in the code! Made with :love:!
- senectus1 3y agohaha, its hardly a backup if its not usable after you backed it up!
- bogantech 3y agoBackups of docker containers? isn't the whole point that they should be cattle not pets?
- justsomehnguy 3y agoJudging from the [0] the guy is trying to do something to perform the backup of the services data in the container. It has it's uses, specifically if you need to restore data after a failed input or upgrade or whatever, especially if you use a named volumes. But overall we are bestowed to watch, almost in real-time, some 21y/o guy implementing something he thinks is useful. *shurg_emoji* https://github.com/daanschenkel/DockGuard/blob/main/engines/mysql.js https://github.com/daanschenkel/DockGuard/blob/main/engines/...
- jcuenod 3y agoIt's the dev cycle: "Hey look pure functional components... and now they also have state... and side effects!"
- zzyzxd 3y agoBut you can take someone else's cattle, modify it and make a different cattle. The whole point of container's overlay filesystem is that you can do stuff, take a snapshot so that you can always get back to this point, and then do something more without worrying about ruining all progress.
- Saris 3y agoIsn't backing up an SQL docker container as simple as stopping it, backup up the mount with the data, and starting it again?