Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

3
pg_dumpall to background in bash
Post Body

Hello guys,

Is it safe to background the pg_dumpall process in bash (Ctrl Z) and then restart it with bg?

I'm doing this because I want to use the shell and not have it jammed by pg_dumpall, but need to enter my password for the prompts. I'm not sure how bash suspends and restarts the process safely or not, so I don't know if it will drop out a corrupt sql file

This is my command:

pg_dumpall -h localhost -U <myusername> | gzip > file.sql.gz

<Ctrl Z>

bg

Author
User Disabled
Account Strength
0%
Disabled 3 months ago
Account Age
10 years
Verified Email
Yes
Verified Flair
No
Total Karma
40,998
Link Karma
901
Comment Karma
40,097
Profile updated: 1 day ago
Posts updated: 4 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
4 years ago