Windows Admin Assistance.
Netstudent
Member Posts: 1,693 ■■■□□□□□□□
in Off-Topic
Can someone please help me disect this backup script? This is an old script and we now backup to a NAS device on not a tape. Would it be safe to remove the /n switch? Secondly is it a probelm that I do not have a backup selection file(.bks) in the file path given here in the script? Is this .bks file automatically created?
_________________
There is no place like 127.0.0.1 BUT 209.62.5.3 is my 127.0.0.1 away from 127.0.0.1![/quote]
C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and Settings\NTBackup\Local
Settings\Application Data\Microsoft\Windows NT\NTBackup\data\Server2
Full.bks" /n "Server2Full.bkf created 6/21/2007 at 11:42 AM" /d "Set created 6/21/2007 at
11:42 AM" /v:no /r:no /rs:no /hc:off /m normal /j "Server2 Full" /l:s /f "\\Bk02
\Cumberland\Server2Full.bkf"
_________________
There is no place like 127.0.0.1 BUT 209.62.5.3 is my 127.0.0.1 away from 127.0.0.1![/quote]
There is no place like 127.0.0.1 BUT 209.62.5.3 is my 127.0.0.1 away from 127.0.0.1!
Comments
-
dynamik Banned Posts: 12,312 ■■■■■■■■■□This is just using ntbackup.exe? Just schedule a job the way you want it to run. Then go to the scheduled jobs tab (the calendar that shows all your scheduled jobs), click your scheduled job, then click on properties, and it will show you the command for running a backup of that type. It's probably the easiest to just create what you want through the gui then copy and paste.
Here's a reference for ntbackup if you want though: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntbackup_command.mspx?mfr=true -
sprkymrk Member Posts: 4,884 ■■■□□□□□□□Explanation:@C:\Documents and Settings\NTBackup\Local
Settings\Application Data\Microsoft\Windows NT\NTBackup\data\Server2
Full.bks/n "Server2Full.bkf created 6/21/2007 at 11:42 AM"/d "Set created 6/21/2007 at 11:42 AM"/v:no /r:no /rs:no /hc:off/m normal/j "Server2 Full"/l:s/f "\\Bk02 \Cumberland\Server2Full.bkf"All things are possible, only believe. -
Netstudent Member Posts: 1,693 ■■■□□□□□□□dynamik wrote:This is just using ntbackup.exe? Just schedule a job the way you want it to run. Then go to the scheduled jobs tab (the calendar that shows all your scheduled jobs), click your scheduled job, then click on properties, and it will show you the command for running a backup of that type. It's probably the easiest to just create what you want through the gui then copy and paste.
Here's a reference for ntbackup if you want though: http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntbackup_command.mspx?mfr=true
Thats already setup. Now I'm trying to figure out why the backup won't run. I suspect it could be that the ntbackup.exe can't find the .bks file. When I load the backup utility and click the backup tab, I can see on the menu bar, "server2 full.bks". I'll try saving the .bks file to the correct location and see if this helps.
Thanks for the rundown sprkyThere is no place like 127.0.0.1 BUT 209.62.5.3 is my 127.0.0.1 away from 127.0.0.1! -
Netstudent Member Posts: 1,693 ■■■□□□□□□□Only that is was unsuccessful. NO details. One more question...If full backups are done on Monday night and incremental on all other days, Would there ever be a need to run a full AND the incremental on the same day and one hour apart from another? Thanks.There is no place like 127.0.0.1 BUT 209.62.5.3 is my 127.0.0.1 away from 127.0.0.1!
-
dynamik Banned Posts: 12,312 ■■■■■■■■■□Depends on your needs, but not likely. That same-day incremental would only backup anything that changed in that last hour. If you're doing it in the middle of the night with no one there, I can't see there being any use for it.
Bummer on the no details. Maybe check event viewer for that time to see if there are any other problems (app log perhaps). Sometimes my backups don't go, and there is NOTHING in the event log. It's really weird because it's just a basic differential backup to tape that runs every night.