Solved

Window 2003 server

Posted on 2012-04-03
4
261 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 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
here you can find example and command line parameters
http://howtoforums.net/viewtopic.php?t=13
0

Featured Post

The problems with reply email signatures

Do you wish that you could place an email signature under a reply? Well, unfortunately, you can't. That great Exchange/Office 365 signature you've created will just appear at the bottom of an email chain. What a pain! Is there really no way to solve this? Well, there might be...

Join & Write a Comment

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…
This is a little timesaver I have been using for setting up Microsoft Small Business Server (SBS) in the simplest possible way. It may not be appropriate for every customer. However, when you get a situation where the person who owns the server is i…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now