mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-02-13 19:33:12 -05:00
fix: Foreign Key Violations During Backup Restore (#2986)
* added more test data * added missing pytest id * add fk validation to backup restore * removed bad type imports * actually apply the invalid fk filter and clean up types * fix key name * added log when removing bad rows * removed unused import * bumped info to warning
This commit is contained in:
@@ -69,7 +69,7 @@ class BackupV2(BaseService):
|
||||
shutil.copytree(f, self.directories.DATA_DIR / f.name)
|
||||
|
||||
def restore(self, backup_path: Path) -> None:
|
||||
self.logger.info("initially backup restore")
|
||||
self.logger.info("initializing backup restore")
|
||||
|
||||
backup = BackupFile(backup_path)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user