You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is ok for backup, but in case of restore with --no-validate flag it could lead to restoring backup with missing non-data files. So I think missing_ok flag must be added to copy_file()
======================================================================
FAIL: test_lost_non_data_file (tests.restore.RestoreTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/restore.py", line 2335, in test_lost_non_data_file
self.output, self.cmd))
AssertionError: Expecting Error because of non-data file dissapearance.
Output: WARNING: Backup PRYGXB is used without validation.
INFO: Restore of backup PRYGXB completed.
Activity
gsmolk commentedon May 23, 2019
Test:
gsmolk commentedon May 23, 2019
backup_data_file() has the same problem, which can potentially lead to file loss in merge, although it is highly unlikely, but better safe than sorry
gsmolk commentedon May 27, 2019
PR: #75
Merge pull request #75 from postgrespro/issue_74