DB backups before migrations (#420)

* make backups before migrations

* database tests

* postgres db backup with location string

* ignore version in pg_dump and throw warning

* install latest pg_dump

* install latest

* pg update?

* remove test from github

* skip for postgres on github actions
This commit is contained in:
callebtc
2024-02-11 20:23:43 +01:00
committed by GitHub
parent 6fd66b9d72
commit 464c0e0ea4
4 changed files with 131 additions and 0 deletions

View File

@@ -45,6 +45,7 @@ class EnvSettings(CashuSettings):
cashu_dir: str = Field(default=os.path.join(str(Path.home()), ".cashu"))
debug_profiling: bool = Field(default=False)
debug_mint_only_deprecated: bool = Field(default=False)
db_backup_path: str = Field(default=False)
class MintSettings(CashuSettings):