Jump to content

Recommended Posts

Posted

Hi friends,

I have an ntbackup script problem, when we were successfully upgrade our server 2k to 2k3 some scripts appears to be not work any more. Here is my .bat file and script

IncBackup.bat------------------

net use w: \\host-data\d$

C:\WINDOWS\system32\ntbackup.exe backup "@C:\Data\Schedule\IncBackup.bks" /a /d "Incremental Backup" /v:yes /r:no /rs:no /hc:on /m incremental /j "Incremental Backup" /l:s /g "

"5887202f-ed24-48e2-bc8e-30c6147f7107"

net use w: /delete

_IncBackup.bks----------------

W:\Data\

JET HOST-APP\Microsoft Information Store\First Storage Group\

so, here is my bat file works and backups but as you see that i write the cartige's ID(red coluored), this is required when i want to take an inc. backup, on full backups i don't need this id anymore, i will write(on red coloured section) DLT instead of cartiges ID, another point, on every full backup this cartige ID is changeing, so i need an script that finds cartige ID and sends this to my .bat file or somewhere.

some information will be helpfull, thanks...

note:sorry about my bad grammar :rolleyes:


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...