By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,332 Members | 1,130 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,332 IT Pros & Developers. It's quick & easy.

Where do I find the init-script

P: n/a
I've been asked to send the init-script along with the dump. Where can I find it?

--
Regards, Charles.

Nov 22 '05 #1
Share this Question
Share on Google+
3 Replies

P: n/a
On Sunday 08 February 2004 07:34, nednieuws | charles wrote:
I've been asked to send the init-script along with the dump. Where can I
find it?


In /etc/init.d/ on linux (or /etc/rc.d/init.d/)
Apparently, on freebsd it sits in /usr/local/etc/rc.d/

HTH
--
Richard Huxton
Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 22 '05 #2

P: n/a
Oh, is that it. I thought they were talking about a script to init the db :-).

They said: If you send the init script along with the dump, it's easier to restore the db.
-----Oorspronkelijk bericht-----
Van: Richard Huxton [mailto:de*@archonet.com]
Verzonden: maandag 9 februari 2004 11:13
Aan: nednieuws | charles; pg***********@postgresql.org
Onderwerp: Re: [GENERAL] Where do I find the init-script


On Sunday 08 February 2004 07:34, nednieuws | charles wrote:
I've been asked to send the init-script along with the

dump. Where can
I find it?


In /etc/init.d/ on linux (or /etc/rc.d/init.d/)
Apparently, on freebsd it sits in /usr/local/etc/rc.d/

HTH
--
Richard Huxton
Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Nov 22 '05 #3

P: n/a
On Monday 09 February 2004 16:36, nednieuws | charles wrote:
Oh, is that it. I thought they were talking about a script to init the db
:-).

They said: If you send the init script along with the dump, it's easier to
restore the db.


Hmm - that's probably not what they want.

I'm guessing they mean the SQL to recreate the database. Normally pg_dump will
dump both the schema-creationg SQL and the data for the tables. You can
restrict this with --data-only or --schema-only.

Alternatively, pg_restore can restore only the schema or data (if you want).

Difficult to say what "they" mean - what is the context for this?
--
Richard Huxton
Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org

Nov 22 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.