Solved

How do I backup Oracle 8i in Cyrillic characters(CL8ISO8859P5) in unix

Posted on 2009-04-13
8
871 Views
Last Modified: 2013-12-21
I need to back up Oracle 8i database in Cyrillic characters in Unix system(Solaris). Can someone help me with this please.

Thanks,
0
Comment
Question by:gem09
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
8 Comments
 
LVL 40

Expert Comment

by:mrjoltcola
ID: 24132398
The character set of the db may be irrelevant in this case, except in case you use export and import.

3 questions:

Do you want a "portable backup" that could be transferred to any other Oracle database, or do you want a physical backup that can be used to completely restore everything on the Solaris server itself?

Are you able to shut the database down for the backup?

How large is the db?
0
 

Author Comment

by:gem09
ID: 24132691

I can find the answers but I think my customer wants to import DB in russian symbols.


Thanks,
0
 
LVL 40

Expert Comment

by:mrjoltcola
ID: 24134722
Im confused about what you are asking.

Do you want to backup a database as part of a standard backup & recovery procedure, or are you looking to move / migrate a database. Your last post seems to indicate the latter.

if you have an export file (.dmp file) already, then just make sure you've create a database with the appropriate DB character set, or use a unicode character set for the DB (AL32UTF8), and then make sure to set your cyrillic charset in NLS_LANG in the environment before importing.

Please clarify exactly what you are trying to accomplish and I'll provide specifics.
0
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 

Author Comment

by:gem09
ID: 24139038
Sorry about the confusion. I am not a Database personnel. I have done simple backup but not any complex. My supervisor wanted me to find a solution for a customer.

The customer wants to do standard backup. He wants to export and import in Cyrillic characters. Can you please provide a little detail on how it is done so that I can explain my supervisor clearly.

Thanks for the help.
0
 
LVL 40

Expert Comment

by:mrjoltcola
ID: 24140676
To export and import in that characterset, you need to make sure NLS_LANG environment variable is set.

Example:

export NLS_LANG=russian_cis.CL8ISO8859P5

Then run export:

exp system/manager full=y file=export.dmp
0
 
LVL 40

Expert Comment

by:mrjoltcola
ID: 24140710
When importing, make sure NLS_LANG is set as well.

Your database character set also has to be compatible, so make sure to check that.

select * from nls_database_parameters
  where parameter like '%CHARACTERSET%';


Your NLS_CHARACTERSET should at least be a UTF8 (recommend AL32UTF8) or other unicode capable charset, or be identical to the one you want to import.

0
 
LVL 48

Expert Comment

by:schwertner
ID: 24141708
On both databases the NLS_LANG parameter should be set to
NLS_LANG=russian_cis.CL8ISO8859P5
before export and before import.

The database you will import should be created either with CL8ISO8859P5 character set or (beginning with Oracle 9i) with AL32UTF8 character set.

AL32UTF8 character set doesn't exist in Oracle 8i.
0
 
LVL 40

Accepted Solution

by:
mrjoltcola earned 500 total points
ID: 24142326
>>AL32UTF8 character set doesn't exist in Oracle 8i.

Thanks for pointing that out schwertner.

You can use UTF8 in 8i, instead of AL32UTF8, or use the exact charset CL8ISO8859P5, as suggested. I would use the exact CL charset as Oracle no longer recommends using UTF8.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question