-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The default of SRVLOG_PATH should be log
?
#174
Comments
Hi, Thanks for reporting! I agree it should be
Well, related to this issue, I found pg_rman doesn't restore the server log files backed up (although it remains online log files). I think this should be fixed too. Now, since Although there is a possibility this behavior is intentional or I'm missing something, I think to support restoring the server logs is natural for me. If my understanding is right, there are two choices. a. Only to change b. To change Though? |
Thanks for investigating it!
IMHO, I like b. As you worry, I also imagine some people don't want to restore log files because restoring log files consume time and it may influence RTO and they might be backed up not by pg_rman but other log collecting system. Considering this, it might be better if users could choose to include log files when restoring. |
Hello. Thank you for reporting issues and suggesting solutions. I think this problem occurred because I did not modify We plan to release a new minor version in May. What do you think of this opinion? Best regards. |
Hi, Thanks for your comments! Is it better to make a new pull request? Regards, |
Dear @mikecaat . Thank you for agreeing to my opinion. Yes. I am going to use cherry-pick(2b1d186). If there is no comment, Best regards. |
I just committed 2b1d186 only. And, I want to make a solution after a little more discussion for issues related to log restore. Best regards. |
When I set up pg_rman,
SRVLOG_PATH
was set topg_log
.ISTM pg_rman assumes the default of
SRVLOG_PATH
ispg_log
, but it has changed tolog
since PostgreSQL 10.Is there any intention to keep it to
pg_log
?The text was updated successfully, but these errors were encountered: