Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Window 2003 server

Posted on 2012-04-03
4
Medium Priority
?
268 Views
Last Modified: 2012-04-09
Hi,

I have scheduled daily full backup in Ntbackup. It append the new file in previous file.

I want to create daily new backup file and previous file should not be deleted.

How I will do this?
0
Comment
Question by:sitg
  • 3
4 Comments
 
LVL 17

Accepted Solution

by:
Anuroopsundd earned 1500 total points
ID: 37800420
You can create a batch file for this purpose.

some steps already available.
Here is a simple method you could use:
1. Use the ntbackup GUI interface to create a backup job. Make sure to
specify that it should not run now but later.
2. Open the Task Scheduler, then open the backup job that you just created.
3. Mark & copy the whole command line.
4. Create the new batch file c:\Windows\MyBackup.bat
5. Paste the backup command line into it.
6. Create some blank lines at the top of the file, then paste the following
code into the batch file. Use copy & paste - do not retype it!
@echo off
echo > "%temp%\tmp.vbs" wscript.echo 10000 * month(now()) ^
+ 100 * day(now()) + year(now())-2000
for /F %%a in ('cscript //nologo "%temp%\tmp.vbs"') do (
set MyDate=%%a)
ntbackup /.. /.. /.. /F d:\Backups\Backup%MyDate%.bkf
7. Adjust the last line of the above code so that it matches your own
switches, then remove the original ntbackup command line.
8. Use the Task Scheduler to create a task that will invoke
c:\Windows\MyBackup.bat instead of your previous backup command.



from
http://us.generation-nt.com/answer/win2k3-ntbackup-creating-separate-files-help-136631321.html
0
 

Author Comment

by:sitg
ID: 37800526
I am coping the who;e command line . I am not able to understant after this.
Please provide me the batch file. Thanks.

C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and Settings\administrator.SMILETECH\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\daily backup of tally by Bhim.bks" /a /d "Set created 03/04/2012 at 5:03 PM" /v:no /r:no /rs:no /hc:off /m normal /j "daily backup of tally by Bhim" /l:s /f "E:\backup by bhim\tally-backup.bkf"
0
 
LVL 17

Expert Comment

by:Anuroopsundd
ID: 37800555
It will be easier if you setup the ntback as scheduler and then you go to the schedular to edit the same. it will have complete path and everything.

http://us.generation-nt.com/answer/win2k3-ntbackup-creating-separate-files-help-136631321.html
0
 
LVL 17

Expert Comment

by:Anuroopsundd
ID: 37800609
here you can find example and command line parameters
http://howtoforums.net/viewtopic.php?t=13
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found listed in my profile here: http:…
Have you considered what group policies are backwards and forwards compatible? Windows Active Directory servers and clients use group policy templates to deploy sets of policies within your domain. But, there is a catch to deploying policies. The…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Suggested Courses

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question