quiet restore
quiet restore
От:
"Keith Turner" <kturner@cloudsystems.com>
Дата:
Hi,
I am writing a command line script that restores a database (not created by me) using the command
psql -U USER DATABASE < RESTORE_FILENAME
This works fine, but it outputs to the command line window. Is there a way to suppress this?
Keith
Re: quiet restore
От:
"Harold A. Giménez Ch." <harold.gimenez@gmail.com>
Дата:
You could simply pipe it to /dev/null
psql -U USER DATABASE < RESTORE_FILENAME > /dev/null
psql -U USER DATABASE < RESTORE_FILENAME > /dev/null
On Fri, Oct 3, 2008 at 1:24 PM, Keith Turner <kturner@cloudsystems.com> wrote:
Hi,I am writing a command line script that restores a database (not created by me) using the commandpsql -U USER DATABASE < RESTORE_FILENAMEThis works fine, but it outputs to the command line window. Is there a way to suppress this?Keith