-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Recreate pg_wal if required in barman-cloud-restore
If you run barman-cloud-backup on a data directory where pg_wal is a symlink, it doesn't include pg_wal in the uploaded tar files, and the pg_wal directory will not be created if you restore the backup. We fix this by creating pg_wal (or pg_xlog, depending on the version) in the destination directory if it does not exist at the end of the backup. Closes #327
- Loading branch information
Showing
3 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters