BOBBYLYON
4th March 2009, 12:54
Hello
We need to dump our common data files from our LIVE Company to our Archive Company. To do so we wrote couple of little *.bat programs as follows:
We would like to know BEFORE we run the dump, if we need to ask each BAAN user to logoff from ERP LN (in case the DUMP slows, corrupts data or stops the system) and typically how long (average) the dump of common data will take:? OR if we can run them w/o worrying about performance and users?
EXPORT
echo off
set BSE_NAME=erpln6
set BSE=t:\LN6
set BSE_TEMP=t:\LN6\tmp
set WRK=t:\Archivage\
set user=baan
rd /S /Q t:\Archivage\dumps\
md t:\Archivage\dumps\pre
bdbpre -I %WRK%\master.erpln.data -E %WRK%\bdbpre_archive.err -o %WRK%\dumps\pre -t "|" -C051
CLS
IMPORT
set BSE_NAME=erpln6
set BSE=t:\LN6
set BSE_TEMP=t:\LN6\tmp
set WRK=t:\Archivage
set user=baan
bdbpost -A -a -f -n -m -t "|" -e %WRK%\bdbpost_archive.err -c951 -D %WRK%\dumps\pre
We need to dump our common data files from our LIVE Company to our Archive Company. To do so we wrote couple of little *.bat programs as follows:
We would like to know BEFORE we run the dump, if we need to ask each BAAN user to logoff from ERP LN (in case the DUMP slows, corrupts data or stops the system) and typically how long (average) the dump of common data will take:? OR if we can run them w/o worrying about performance and users?
EXPORT
echo off
set BSE_NAME=erpln6
set BSE=t:\LN6
set BSE_TEMP=t:\LN6\tmp
set WRK=t:\Archivage\
set user=baan
rd /S /Q t:\Archivage\dumps\
md t:\Archivage\dumps\pre
bdbpre -I %WRK%\master.erpln.data -E %WRK%\bdbpre_archive.err -o %WRK%\dumps\pre -t "|" -C051
CLS
IMPORT
set BSE_NAME=erpln6
set BSE=t:\LN6
set BSE_TEMP=t:\LN6\tmp
set WRK=t:\Archivage
set user=baan
bdbpost -A -a -f -n -m -t "|" -e %WRK%\bdbpost_archive.err -c951 -D %WRK%\dumps\pre