Setup backups for auth server #42
Loading…
Reference in a new issue
No description provided.
Delete branch "setup-auth-backups"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
TODO
Changes
ad96d72863to45abdc9c27Sett opp sikkerhetskopiering på autentiseringsserverento Setup backups for auth serverProbably a dumb question, but why does the log you posted shows files from
/Users/maxbrosnahan, especially some weird temp ones? Otherwise it looks good, I guess we will test it properly in the future :)@luisa I am not 100% sure what is going on here. The docs for this path doesn't have much to say. My guess is that in
--check --diffmode it doesn't modify files on the host and instead does this on the local machine.It could also be that it always generates templated files on the controller and then copies them over when applying the changes. As the files are new there is nothing on the destination machine to compare against hence the empty before path.
Dette ser bra ut. Det ligner på approachen i Loomio. Men kan jeg foreslå at vi renamer rolen til "pg_backup" eller "postgres_backup" e.l. og ikke bare backup?
Jeg vet ikke om dette er verdt det nå, men om vi legger til "engine" = "docker" / "podman" så kan denne generaliseres til Loomio også.
@alexanrf Rollen
backuphar ikke noe med PostgreSQL å gjøre. PostgreSQL backups blir håndtert avbackup_pre_commandssom står i site.yaml filen tilauth.Relevant del av
site.yamler:Fordi
backup_pre_commandsstår i site.yaml bør dette være støttet allerede.Ah ha, elegant. Fikk ikke med meg den detaljen der. Bra greier, absolutt generaliserbart.