473,386 Members | 1,745 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Backup Database

Hallo
i am a beginner into Oracle Technologies.I would like to make backup
of my database,but i dont know how.Is there tools?Can i schedule the
backup plan?
thanks
Cristina
Jul 19 '05 #1
3 12107
Cristina wrote:
Hallo
i am a beginner into Oracle Technologies.I would like to make backup
of my database,but i dont know how.Is there tools?Can i schedule the
backup plan?
thanks
Cristina


Several questions need to be answered before we can tell you how ...

1) WHY do you want to back this up?
2) Operating system, including version?
3) Database version?
4) Are you familiar with Oracle's online documentation?

The first question is indeed somewhat cheeky - but also quite serious. We
need to understand

- whether you want to back up the production (as comnpared to developement,
test, education, etc.) environment;

- whether the backup is for recovery or for legal archive or other purpose;

- whether it's for a warehouse or OLTP environment;

- whether you can afford to lose transactions.

This, and a lot more, is introduced in the Backup and Recovery Concepts
manual found at the online documentation.

Directions to get there: http://docs.racle.om (go to your version and then
to the 'View Library' link). Look at the 'List of Books' link or the
'Books' tab and scroll down to the "Backup and Recovery Concepts" entry.

HTH
/Hans
Jul 19 '05 #2
mc****@hotmail.com (Cristina) wrote in message news:<34**************************@posting.google. com>...
Hallo
i am a beginner into Oracle Technologies.I would like to make backup
of my database,but i dont know how.Is there tools?Can i schedule the
backup plan?
thanks
Cristina


hello,

the beginner way of backup is,

- to shutdown the database
- backup the server
- startup the database

the beginners first mistake is

- startup the database before the backup finishes
(and crashing the database)

so beware to sync both in a reliable way.

also lookup

- archivelog mode
- logical backup

regards

s.kapitza
Jul 19 '05 #3
cs
Hi,
There are 2 type of back-ups Physical and logical

Logical backup ---- this is done using tools like export, import.

Physical backups is of two types
---- Hot backup --> backup performed when the database is up and running.
steps involved in making hot backup.
assumes that you have privileges to perform backups of objects.
check to see in which mode the database is in

sys@ORCL$ archive log list;
Database log mode Archive Mode
Automatic archival Enabled
Archive destination /u01/oradata/orcl/archive
Oldest online log sequence 324
Next log sequence to archive 327
Current log sequence 327

Now before performing the hot backup put the tablespaces in backup mode.

sys@ORCL$ alter tablespace begin backup;

Now use the copy command to copy the datafile pertaining to that tablespace
to a backup location.

if you are using windows you can go to oradata folder and copy the file.
or you can also do it from sqlplus

sys@ORCL$host /cp C:\ORACLE\ORADATA\SYSTEM01.DBF C:\ORACLE\BACKUP\SYSTEM01.DBF

once the cp command is done

Issue the following command to bring the tablespace out of backup mode.
sys@ORCL$ alter tablespace end backup;

steps involved in cold backup.

1. shutdown the database.
2. go to the oradata folder and copy the datafiles to new location
3. startup the database.

To perform logical backups
you have to have privileges to export and import the objects

The command to perform export is as follows

$exp scott/tiger@orcl
this will generate a dump file expdat.dmp
save the expdat.dmp file and when necessary you can
import the dump file.

to see more info about export tool
$exp help=y

hope this info helped you

sekhar.
Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: James | last post by:
HI, I'm looking for a script that will allow users/admins to have a one click backup solution for a MYSQL Database.. 'BACK DATABASE' button, click and its done... The a restore option, that...
1
by: Andrew E | last post by:
I just took over DBA responsibilities for an Oracle 8i database running on Linux. Although I've been working with relational databases for some time, I'm a bit green on Oracle so forgive me. My...
3
by: Thiko | last post by:
Hi I take one nightly full database backup at 02:00 and backup the transaction log to one backup set every 15mins. The commands to do this are as follows and are set up to run as database...
2
by: nt | last post by:
I am having a problem with a regular backup of an SQL Server (MSDE 2000) database to a local drive. I initiate the backup once a week, by issuing the required T-SQL, via ADO. In this case, the...
6
by: Eric Herber | last post by:
I've a question regarding db2 (V8.1) and database backups going to a storage manager like TSM for example. As I can see in the storage manager if I backup the complete database over the TSM API...
1
by: alex | last post by:
Hi ! I couldn't make backups with our new system using db2 8.2. Every time I trigger a backup I get this error message: BACKUP DATABASE EBUERO2 ONLINE TO "/raid/backup/ebuero2/part1",...
4
by: uthuras | last post by:
Hi all, I have DB2ESE version 8.1 with FP 4 on AIX 5.2. My database used to be 1.1TB. When the DB size is 1.1TB, it takes approximately 7 hours to backup the entire database (online backup). The...
5
by: jag | last post by:
hi, I am thinking about backup strategy. I have couple of questions for my db2 community brothers. 1. Can i use full online or offline database backup as base for incremental backup for...
10
by: Konstantin Andreev | last post by:
Hello. Some time ago I asked in this conference, - How to use an ONLINE BACKUP to restore database onto another system? - but got no answers. Therefore I can conclude it is not possible. But......
0
by: Massimiliano Campagnoli | last post by:
I am trying to backup sample database to network drive J:\ which maps to a SAMBA share. The first time the backup is successfull but the the next time fails. I've to delete J:\sample.0 if I want...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.