View Single Post
  #1 (permalink)  
Old September 19th, 2006, 04:25 PM
sagato sagato is offline
Registered User
 
Join Date: Sep 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sagato
Default Add Date in Catalog Backup Script

Good day;

I have a file batch script that did a work partner who has gone away; I need to place as etiquette the date in which it is executed to take a better control, I am a beginner in this, I´m taking reading on this programming; I have tried it to place the value %Date% but it does not work. Could someone help? Thank you.

C:\WINNT\system32\ntbackup.exe backup "@C:\JobBKP\DIFSRV02-MR.bks" /n "DIF BKP SRV02-MR" /d "DIF BKP SRV02-MR" /n "DIF BKP SRV02-MR" /v:no /r:no /rs:no /hc:on /m differential /j "DIFBKPSRV02-MR" /l:s /p "DLT"

The name of the catalogue I suppose that it defines it "/n" and shows it in the reports of ntbackup.

I have tried forming in order that the catalogue stays of the following form:

DIF BKP SRV02-MR-20060912

But I have not had success. Could you help me please? Thanks!

I have tried forming in order that the catalogue stays of the following form:

DIF BKP SRV02-MR-20060912

But I have not had success. I continue browsing google.com for batch commands by adding date to catalogue ntbackup, I looking for the way to solve this need, And I do not find it, someone could help with some track? Thanks!

Cordial regards


Reply With Quote