Hallo!
Folgendes Problem: Auf unserem Server (Win 2000 Pro) wollen wir von der Basis-Festplatte täglich eine exakte Kopie auf eine Festplatte im Wechselrahmen erstellen.
Manuell durchgeführte Tests mit Paragon Drive Backup 5.5 waren soweit erfolgreich und wir sind recht zufrieden. Jedoch ist es nur möglich zeitgesteuerte Backups durchzuführen, wenn man das Programm über eine Batch-Datei aufruft. Der Befehl hierzu lautet:
DB /D 0 1
Gebe ich diesen Befehl einfach in der Eingabeaufforderung ein, so erhalte ich die Meldung, das eine Anwendung direkt auf die Festplatte zuzugreifen versucht und dies nicht möglich sei.
Ok, Paragon Drive Backup bootet hierfür ja auch neu und erstellt das Backup vor dem Login in Win2000.
Nur wie kann ich so etwas selbst mit einer Batch-Datei realisieren?
Bin für jede Hilfe dankbar!
Archiv Server-Windows 15.877 Themen, 54.317 Beiträge
Hier noch die autoexec.bat aus dem Drive Backup Verzeichnis:
@echo off
set LETTER=z:
if EXIST z:\NUL goto ramfound
set LETTER=y:
if EXIST y:\NUL goto ramfound
set LETTER=x:
if EXIST x:\NUL goto ramfound
set LETTER=w:
if EXIST w:\NUL goto ramfound
set LETTER=v:
if EXIST v:\NUL goto ramfound
set LETTER=u:
if EXIST u:\NUL goto ramfound
set LETTER=t:
if EXIST t:\NUL goto ramfound
set LETTER=s:
if EXIST s:\NUL goto ramfound
set LETTER=r:
if EXIST r:\NUL goto ramfound
set LETTER=q:
if EXIST q:\NUL goto ramfound
set LETTER=p:
if EXIST p:\NUL goto ramfound
set LETTER=o:
if EXIST o:\NUL goto ramfound
set LETTER=n:
if EXIST n:\NUL goto ramfound
set LETTER=m:
if EXIST m:\NUL goto ramfound
set LETTER=l:
if EXIST l:\NUL goto ramfound
set LETTER=k:
if EXIST k:\NUL goto ramfound
set LETTER=j:
if EXIST j:\NUL goto ramfound
set LETTER=i:
if EXIST i:\NUL goto ramfound
set LETTER=h:
if EXIST h:\NUL goto ramfound
set LETTER=g:
if EXIST g:\NUL goto ramfound
set LETTER=f:
if EXIST f:\NUL goto ramfound
set LETTER=e:
if EXIST e:\NUL goto ramfound
set LETTER=d:
if EXIST d:\NUL goto ramfound
set LETTER=c:
if EXIST c:\NUL goto ramfound
set LETTER=b:
if EXIST b:\NUL goto ramfound
set LETTER=a:
if EXIST a:\NUL goto ramfound
:ramfound
copy a:*.* %LETTER%
set COMSPEC=%LETTER%\command.com
%LETTER%
%LETTER%\DBPACK.EXE
if NOT EXIST A:\layout.cfg goto nolout1
copy A:\layout.cfg %LETTER%\
:nolout1
mouse
goto %config%
:std
DB.EXE /FF 'A:\script.txt
goto endconf
:log
DB.EXE /log /FF 'A:\script.txt
copy %LETTER%\dblog.txt A:\
:endconf
if NOT EXIST %LETTER%\layout.cfg goto nolout2
copy %LETTER%\layout.cfg A:\
:nolout2
