Announcement

Collapse
No announcement yet.

Backup Script

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Backup Script

    Hi Everyone

    I am using the NTBACKUP on an XP pro system. I got a single cartridge tape drive system with a capacity of 100GB, compressed. I have written a script to automate my weekly backups.

    However now the volume of data to be backed up exceeds the capacity of the tape.

    what command(s) could I use so that when the capacity of the tape exceeds, the system ejects that tape and pops up a message requesting for another empty tape to be inserted

    Any Ideas will be much appreciated

    Thanks

    Dinesh

  • #2
    How does your script look, and work? I'm asking because I could could use one too...

    Comment


    • #3
      Backup Script

      This is the script that I use is...

      rsm.exe refresh /LF"TANGBERG DLT"
      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 "@D:\backup\P Drive backup.bks" /n "P drive Weeky Backup %dtt%" /d "Weekly P drive backup %dtt%" /v:no /r:no /rs:no /hcn /m normal /j "Weekly P Drive Backup" /l:s /p "DLT" /UM
      rsm.exe eject /PF"Weekly P drive backup %dtt% - 1" /astart
      exit

      If you need any reference visit this site:

      www.jsiinc.com/SUBE/tip2200/rh.2265.htm

      Hope this help...

      Comment

      Working...
      X