#!/bin/sh
# STTA Rev. 1.3 Copyright (c) 2001-2003 Jesús Pérez Lorenzo  --- license GNU GPL 
# stta: (@#) 1.3pre1049295437- [2003_4_02_165717]
tclShell=/opt/tarantella/tools/ttatcl
dirTools=/opt/tarantella/tools/tcls
dumpCMD=ttaDumpDs.tcl
restoreCMD=ttaRestoreDS.tcl
ensStore=`pwd`"/tta.DataStore"

case "$#" in
 0|1) echo "$0 [organization-name] [ file-to-output] " ; exit ;;
esac 

ensStore=$2
ouname=`echo $1 | sed 's/o=//g' ` 

exec  $tclShell $dirTools/$dumpCMD o=$ouname $ensStore

