Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 20 Nov 2003 @ 12:51:30 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Restoring just DDL
 
From:   Dodgson, Mark

Ian.a.Russell wrote:

  "Is there a way of getting ARC to restore/copy the database but not the data - I am thinking along the same lines as the create table as command that just creates the DDL if you do not specify WITH DATA."  



Ian,

You could run a dictionary archive from server A, and restore this archive onto server B.


E.g. From server A::

ARCHIVE DICTIONARY TABLES (DBC) ALL,
RELEASE LOCK,
USE READ LOCK,
OUTPUT ROW COUNTS,
DDNAME=filename;


& to server B::

COPY DICTIONARY TABLES ALL FROM ARCHIVE,
RELEASE LOCK,
FILE=filename ;


(above on MVS - amend DDNAME on Unix)


Cheers,

Mark



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023