Solved

Successful Icremental backup with Windows Backup

Posted on 2002-05-20
6
302 Views
Last Modified: 2010-04-13
I would like to perform an incremental backup with Windows 2000 servers. I am running weekly and monthly full backups just fine, however my incremental daily backups run into issues eventually with "Non-unique tape names". Does anyone have a successful method for performing daily incremental backups and can they share them with me?

Thank you in advance,

Chris
0
Comment
Question by:bugsuperstar37
  • 3
  • 3
6 Comments
 
LVL 63

Expert Comment

by:SysExpert
ID: 7022125
What program are you using for backups ?

If NTbackup I would
try using batch files.
If using a third party program, please state what it is .


Command line parameters
You can perform backup operations at the command prompt or from a batch file using the ntbackup command followed by various parameters.

Syntax:

ntbackup backup [systemstate] "bks file name" /J {"job name"} [/P {"pool name"}] [/G {"guid name"}] [/T { "tape name"}] [/N {"media name"}] [/F {"file name"}] [/D {"set description"}] [/DS {"server name"}] [/IS {"server name"}] [/A] [/V:{yes|no}] [/R:{yes|no}] [/L:{f|s|n}] [/M {backup type}] [/RS:{yes|no}] [/HC:{on|off}] [/UM]

Parameters:

systemstate

Specifies that you want to back up the System State data. When you back up the System State data, all of the System State data is backed up, therefore, the /s switch does not apply. Also, the backup type will be forced to normal or copy.

bks file name

Specifies the name of the backup selection file (.bks file) to be used for this backup operation. A backup selection file contains information on the files and folders you have selected for backup. You have to create the file using the graphical user interface (GUI) version of Backup.

/J {"job name"}

Specifies the job name to be used in the log file. The job name usually describes the files and folders you are backing up in the current backup job as well as the date and time you backed up the files.

/P {"pool name"}

Specifies the media pool from which you want to use media. This is usually a subpool of the Backup media pool, such as 4mm DDS. If you select this you must not use the following switches: /A /G /F /T.

/G {"guid name"}

Overwrites or appends to this tape. Do not use this switch in conjunction with /P.

/T {"tape name"}

Overwrites or appends to this tape. Do not use this switch in conjunction with /P.

/N {"media name"}

Specifies the new tape name. You must not use /A with this switch.

/F {"file name"}

Logical disk path and file name. You must not use the following switches with this switch: /P /G /T.

/D {"set description"}

Specifies a label for each backup set.

/DS {"server name"}

Backs up the directory service file for the specified Microsoft Exchange Server.

/IS {"server name"}

Backs up the Information Store file for the specified Microsoft Exchange Server.

/A

Performs an append operation. Either /G or /T must be used in conjunction with this switch. Do not use this switch in conjunction with /P.

/V:{yes|no}

Verifies the data after the backup is complete.

/R:{yes|no}

Restricts access to this tape to the owner or members of the Administrators group.

/L:{f|s|n}

Specifies the type of log file: f=full, s=summary, n=none (no log file is created).

/M {backup type}

Specifies the backup type. It must be one of the following: normal, copy, differential, incremental, or daily.

/RS:{yes|no}

Backs up the Removable Storage database.

/HC:{on|off}

Uses hardware compression, if available, on the tape drive.

/UM

Finds the first available media, formats it, and uses it for the current backup operation. You must use the /P switch to designate a device-type media pool when you use the /UM switch so that Backup searches for the appropriate type of media (for example, 4mm DDS). When you use the /UM switch, Backup will search the following media pools for available media: Free pool, Import pool, Unrecognized pool, and Backup pool. When available media is found, the search will stop and the media will be formatted and used without prompting you for input. This command is not applicable to tape loaders and should only be used if you have a stand-alone tape device.

 Notes

You cannot restore files from the command line using the ntbackup command.
The following switches will default to what you have already set using the graphical user interface (GUI) version of Backup unless they are changed by a command line switch: /V /R /L /M /RS /HC. For example, if hardware compression is turned on in the Options dialog box in Backup, it will be used if /HC is not specified on the command line. But if /HC:off is specified on the command line, it will override the Option dialog box setting and compression will not be used.
If you have Windows Media Services running on your computer, and you want to back up the files associated with these services, see "Running Backup with Windows Media Services" in the Windows Media Services online documentation. You must follow the procedures outlined in the Windows Media Services online documentation before you can back up or restore files associated with Windows Media Services.
You can only back up the System State data on a local computer. You cannot back up the System State data on a remote computer.
If you are using Removable Storage to manage media, or you are using the Remote Storage to store data, then you should regularly back up the files that are in the following folders:
Systemroot\System32\Ntmsdata

Systemroot\System32\Remotestorage

This will ensure that all Removable Storage and Remote Storage data can be restored.

------------

I hope this helps !

0
 
LVL 1

Author Comment

by:bugsuperstar37
ID: 7022237
This does not help. The question reads "Successful Icremental backup with Windows Backup", so yes I am using Windows Backup (NTBackup).

I do not need you to copy and paste the commands for Windows Backup as an answer. That is rediculous. I stated in my original question that I do have Incremental Backups, but I get the occasional error "Non-unique tape names". So by this reasonging I know how to use Windows Backup (NTBackup).

My request was for someone that currently had a successful method of using Windows Backup (NTBackup) for incremental backups to share it with me. PLEASE READ THE QUESTION BEFORE RESPONDING.

I would like to use one DLT IV tape for incremental backups during the week (obviously without failures).
0
 
LVL 63

Accepted Solution

by:
SysExpert earned 100 total points
ID: 7023222
http://support.microsoft.com/support/kb/articles/Q239/8/92.ASP
 How to Schedule Unattended Backups Using a Stand-Alone Tape Library

also

http://support.microsoft.com/support/kb/articles/q267/5/74.asp
Leave a copy of the backup program running in the background. Backup should poll the tape drive
     periodically looking for media changes, and should help media changes be recognized prior to the
     real scheduled backup job running. You can use the Srvinstw.exe Microsoft Windows 2000
     Resource Kit program to install the Srvany.exe tool, and then permit Ntbackup.exe to run as a
     service hidden from view.

     Install the Srvany.exe Tool as a Service

          1.Copy the Srvany.exe tool included in the Windows 2000 Resource Kit to the
               %SystemRoot%\System32 folder on your computer.

          2.Start the Srvinstw.exe program.

          3.Click Install a service, and then click Next.

          4.Click Local Machine, and then click Next.

          5.Type srvany under Service name, and then click Next.

          6.Locate the %SystemRoot%\System32\Srvany.exe file, double-click the file name, and then
               click Next.

          7.Click Service in it's own process, and then click Next.

          8.Click System Account, and then click Next.

          9.Click Automatic, and then click Next.

         10.Click Finish.

     Configure the Srvany Service to Run Ntbackup.exe as a Service

          1.Start Registry Editor (Regedt32.exe) to view the following key in the registry:

                         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SRVANY

          2.On the Edit menu, click Add Key..., type Parameters for the key name, and then click OK.

          3.Click to select the Parameters key, and then click Add Value under the Edit menu. Enter
               Application for the value name, and use a data type of REG_SZ.

               NOTE: Make sure you specify the full path to the NTBackup.exe file. Srvany.exe does not
               load the program if you use the %SystemRoot% variable in the path. For example:

                         HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SRVANY Application:
                         REG_SZ: C:\Winnt\System32\Ntbackup.exe

          4.Quit Regedt32.exe.

          5.After you shutdown and then restart your computer, backup starts as a background service.
               Ntbackup.exe should be running and be visible in Task Manager under the Processes tab, and
               permits backup to poll tapes looking for media changes.

-------------------

also

From: CrazyOne          Date: 05/01/2002 06:43AM PST
               Actually when you schedule a backup there is point using the Wizard that you can choose to "Replace   the data..." or "Append this backup...". Unfortunately these settings are only availble when you first
               schedule the backup. These options don't seem to be available with a backup that has already been scheduled.
-----------------------------------------------
I hope this helps !
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 1

Author Comment

by:bugsuperstar37
ID: 7024446
OK. I have changed the way that the incremental backups are performed as well as installed NTBACKUP as a service under srvany. We will see how this goes.
0
 
LVL 63

Expert Comment

by:SysExpert
ID: 7028763
I'll be waiting for an update.

I hope it works finally !

0
 
LVL 1

Author Comment

by:bugsuperstar37
ID: 7146723
Yes, this seemes to have worked altough Windows just seems to have problems with backup units. The backups are working much better though.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

708 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

15 Experts available now in Live!

Get 1:1 Help Now