Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Window 2003 server

Posted on 2012-04-03
4
Medium Priority
?
267 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
The password reset disk is often mentioned as the best solution to deal with the lost Windows password problem. In Windows 2008, 7, Vista and XP, a password reset disk can be easily created. But besides Windows 7/Vista/XP, Windows Server 2008 and ot…
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…

670 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