If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Backup

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-08-03, 10:07
vedatnazik vedatnazik is offline
Registered User
 
Join Date: Nov 2003
Posts: 4
Backup

How can I backup
Reply With Quote
  #2 (permalink)  
Old 12-08-03, 11:15
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Look in the command reference for the BACKUP command.
This can also be done from the Control Center. Right click on the database name and pick Backup.

Andy
Reply With Quote
  #3 (permalink)  
Old 12-11-03, 04:30
tupiex tupiex is offline
Registered User
 
Join Date: Dec 2003
Location: Johannesburg, South Africa
Posts: 18
Talking DB2 Information

You backup DB2 data (I assume OS/390) with the COPY command.

The basic format is ==>
COPY TABLESPACE DBNAME.TSNAME

You can also add FULL YES/NO for full and incremential Image copies
and SHRLEVEL CHANGE/REFERENCE for the type of locking SHRLEVEL REFERENCE will allows users to only READ object you are backing up and SHRLEVEL CHANGE will allows users to chage data while backing up, please remember to do a QUIESCE ofter this type of backup to create a point of consistency.

There are other option to create onsite (COPYDDN) and offsite image copy (RECCOVERYDDN), you can use both.

DB2 also allows concurrent image copies but I would stear away from them as it really complicates recover, especially when recovering dropped objects and usingf DSN1COPY.

By the way you can also use the DSN1COPY utility for backing up your data.
__________________
Divvy
Reply With Quote
  #4 (permalink)  
Old 12-11-03, 21:18
udb_dba udb_dba is offline
Registered User
 
Join Date: Oct 2003
Posts: 29
> db2 ? backup

-Racha
Reply With Quote
  #5 (permalink)  
Old 12-12-03, 01:47
tupiex tupiex is offline
Registered User
 
Join Date: Dec 2003
Location: Johannesburg, South Africa
Posts: 18
Wink DB2 Information

The Samles I gave a DB2 backup for OS/390 platform.
__________________
Divvy
Reply With Quote
  #6 (permalink)  
Old 12-12-03, 01:49
tupiex tupiex is offline
Registered User
 
Join Date: Dec 2003
Location: Johannesburg, South Africa
Posts: 18
Talking DB2 Information

Hey it is early in the morning here, I am still waking up but what I was trying to say is that the examples I gave are for DB2 OS/390 backups.
__________________
Divvy
Reply With Quote
  #7 (permalink)  
Old 12-12-03, 01:54
tupiex tupiex is offline
Registered User
 
Join Date: Dec 2003
Location: Johannesburg, South Africa
Posts: 18
Thumbs up DB2 Information

I have looked up the Backup command in DB2UDB for Windows NT and here they are:

ONLINE BACKUPS (using Parralelism)

BACKUP DATABASE SAMPLE TABLESPACE USERPACE1 ONLINE TO C:\SQLLIB PARALLELISM 2;

OFFLINE BACKUPS (Using Buffers)

BACKUP DATABASE SAMPLE TABLESPACE USERPACE1 TO C:\SQLLIB WITH 2 BUFFERS;

I hope this helps or lookmore familiar to most people using UDB.
__________________
Divvy
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On