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

[ $2 ] && ensStore=$2
[ $1 ] && ouname=`echo $1 | sed 's/o=//g' ` ; exec  $tclShell $dirTools/$dumpCMD o=$ouname $ensStore

echo "$0 [organization-name] [ file-to-output] "
