Skip to content
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

Fixes #4455: Add the postgresql-recovery script #6

Conversation

Kegeruneku
Copy link

Ticket: http://www.rudder-project.org/redmine/issues/4455

To be merged in master


read CONFIRMATION

if [ ! "z${CONFIRMATION}" = "zY" ]; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The zY techniques is used to protect from empty strings as "" does.
Using both is redundant.

@Kegeruneku Kegeruneku force-pushed the bug_4455/int/4455_add_postgresql_recovery_script branch from c3f2779 to 59e8dd9 Compare October 6, 2014 17:38
@Kegeruneku
Copy link
Author

Updated according to review !


read FOLDER

echo "\nBackuping to ${FOLDER}. Press Y to continue or any key to abort."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

\n needs -e with echo

@peckpeck
Copy link
Member

peckpeck commented Oct 7, 2014

OK looks good to me

@Kegeruneku Kegeruneku force-pushed the bug_4455/int/4455_add_postgresql_recovery_script branch from 59e8dd9 to 770397f Compare April 1, 2015 13:58
@peckpeck
Copy link
Member

peckpeck commented Apr 3, 2015

Oops, a bit late !

peckpeck added a commit that referenced this pull request Apr 3, 2015
…l_recovery_script

Fixes #4455: Add the postgresql-recovery script
@peckpeck peckpeck merged commit 049686f into Normation:master Apr 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants