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

add psql option no-psqlrc #25

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

add psql option no-psqlrc #25

wants to merge 2 commits into from

Conversation

aoberest
Copy link

Hello.
Thanks for your script.

I have custom command in ~/.psqlrc file.
When i run zabbix-dump script I receive error.

Starting table backups...
./zabbix-dump: line 555: /var/lib/pgsql/11/backups/zabbix_cfg_host_20200731-0752_db-psql-Expanded display is off.
Output format is wrapped.
Timing is on.

and

  4.4.2.sql: File name too long

ERROR: Could not backup database.

Please, add options "--no-psqlrc" for psql command.

--no-psqlrc Do not read the start-up file (neither the system-wide psqlrc file nor the user's ~/.psqlrc file)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant