Hi, we have one subvolume for system and one for backuppc data on each btrfs container. (not important to your question)
We also run apache as proxy server on the VM running those containers. So you access https://primarybackupserver/backuppc/customer1<https://server/backuppc/customer1> https://<https://server/backuppc/customer2>primarybackup<https://server/backuppc/customer1>server/backuppc/customer2<https://server/backuppc/customer2> and it's proxied to one of containers (each container runs its own copy of apache with cgi-bin for backuppc). On secondary backup server, we have the same private network and apache as proxy, so you can access containers using https://secondarybackupserver/backuppc/customer1<https://primarybackupserver/backuppc/customer1> https://<https://primarybackupserver/backuppc/customer2>secondary<https://primarybackupserver/backuppc/customer1>backupserver/backuppc/customer2<https://primarybackupserver/backuppc/customer2> So there is no need to change any settings in container, just convert one of readonly snapshots (actually two - system and backuppc data) to read-write subvolume and spin up the container. Libor On Pá, 2022-06-03 at 23:29 +0800, Sharuzzaman Ahmat Raslan wrote: On Thu, Jun 2, 2022 at 2:29 AM Libor Klepáč <libor.kle...@bcom.cz<mailto:libor.kle...@bcom.cz>> wrote: Hi, we use backuppc in containers (systemd-nspawn), each instance on separate btrfs drive. Then we do snapshots of said drives using btrbk. We pull those snapshots from remote machines, also using btrbk. If we need to spin up container in remote location (we have longer retention in remote location), we just create read-write copy of snapshot and spin it up to extract files. With backuppc4, we also tried to use btrfs compression using zstd, instead of backuppc internal compression (you don't need compression, because you don't use checksum-seed anymore). Seems to work nice too. Libor Interesting implementation. How do you manage the configuration files? Is it inside the snapshot as well? You launch a new container on the remote location and it reads the configuration from the snapshot? If you have documented this implementation in some blog or Medium, I'm interested to read more about it.
_______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: https://github.com/backuppc/backuppc/wiki Project: https://backuppc.github.io/backuppc/