Solved

Window 2003 server

Posted on 2012-04-03
4
262 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
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

On a regular basis I get questions about slow RDP performance, RDP connection problems, strange errors and even BSOD, remote computers freezing or restarting after initiation of a remote session. In a lot of this cases the quick solutions made b…
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 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…

920 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