Solved

Window 2003 server

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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
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…
Suggested Courses

636 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