ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Anton Gorlov <stalker@altlinux.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: [Sysadmins] бекап баз 9 оракла
Date: Fri, 06 Oct 2006 11:10:31 +0400
Message-ID: <45260167.10905@altlinux.ru> (raw)

Поскольку наш администратор баз данных сейчас в коммандировке и спросить 
у него что-то роблематично то решил спросить здесь.

Вопрсо вот в чём - как бы рганизовать бекап баз 9 оракла живущего под 
rhel 4.3?

Вроде дял бекапа есть утилитка под названием exp в комплектено что-то не 
получается:

export nls_lang=american_america.cl8mswin1251
set oracle_sid=penza.hq
exp userid=user/pass full=y log=bcp.log file=bcp.dmp


бекап-то оно делает,но перед этим задаёт кучу вопросов типа (см ниже)
А надо чтобы работало на полном автомате


====
[penza:oracle_6]/home/oracle/product/9.2.0/bin>./bcp.sh

Export: Release 9.2.0.4.0 - Production on Fri Oct 6 11:06:50 2006

Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.


Connected to: Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production
EXP-00023: must be a DBA to do Full Database or Tablespace export
(2)U(sers), or (3)T(ables): (2)U >
Export grants (yes/no): yes >
...
===


             reply	other threads:[~2006-10-06  7:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-06  7:10 Anton Gorlov [this message]
2006-10-06  8:45 ` Eugene Prokopiev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45260167.10905@altlinux.ru \
    --to=stalker@altlinux.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git