Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Backupskript läuft nicht

Empfohlene Antworten

Hallo,

ich erstelle (versuche es zumindest) ein Backupskript auf einem Windows 2000 Server.

Nur leider bringt er mir dieses Backuplog:

Backup Type: Normal

Backup started on 4/13/2007 at 3:51 PM.

Error: The device reported an error on a request to write data to media.

Error reported: Hardware failure.

There may be a hardware or media problem.

Please check the system event log for relevant failures.

The operation was ended.

Backup completed on 4/13/2007 at 3:51 PM.

Directories: 3

Files: 0

Bytes: 8,385,626

Time: 1 second

Error: D: is not a valid drive, or you do not have access.

Das Skript arbeitet mit ntbackup in der Commandshell und sieht so aus:


C:\WINDOWS\firma\backup\kill -f ntbackup.exe

C:\WINDOWS\firma\backup\sleep 10



rsm.exe refresh /LF"TANDBERG MLR3 SCSI Sequential Device"

C:\WINDOWS\firma\backup\sleep 30

for /f "Tokens=1-4 Delims=/ " %%i in ('date /t') do  set dt=%%i-%%j-%%k-%%l

for /f "Tokens=1" %%i in ('time /t') do set tm=-%%i

set tm=%tm::=-%

set dtt=%dt%%tm%


C:\windows\system32\ntbackup.exe backup "@C:\WINDOWS\thincco\backup\daily.bks" /n "%computername% %dtt%" /d "%computername% %dtt%" /v:yes /r:yes /rs:no  /m normal /j "%dtt%" /l:s /p "QIC" /UM 

rsm.exe eject /PF"%computername% %dtt% - 1" /astart



cd C:\Documents and Settings\%username%\Local Settings\Application Data\Microsoft\Windows\NTBackup\data 

dir /od /a-d | find ".log" > C:\WINDOWS\thincco\backup\dir.txt

for /f "tokens=4 delims= " %%i in (C:\WINDOWS\firma\backup\dir.txt) do set filename=%%i

echo %filename%

C:\WINDOWS\firma\backup\blat %filename% -s "BRVIRT-Backuplog" -t backup@firmandomain.de -attach %filename%

Gesichert sollen zwei Verzeichnisse auf der Festplatte "D".

Starte ich das Skript läuft er an spult das Band und dann hört er auf schreibt die o.g. Logdatei und wirft das Band aus.

Hat einer von euch Ahnung was ich falsch gemacht haben könnte??

Rechte habe ich vergeben. bks Datei ist auch am richtigen Ort.

(Solltet ihr euch über sleep, kill und bat wundern liegen im gleichen

Verzeichniss wie meine backup.bat auch)

Die backup.bat soll über einen Scheduled Task gestartet werden.

Vielleicht fällt euch ja was dazu ein.

Gruß

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.