Solved

ntbackup via scheduled tasks

Posted on 2011-09-08
7
445 Views
Last Modified: 2012-05-12
Our admin use the ntbackup facility to backup windows server data. I think they schedule it via scheduled tasks. 1 ) Will the scheduled task show where the backup file is being written too? And 2) is there any easy way to report all currently configured scheudled tasks on our 115 or so windows servers in a single report - which must include the exact detail of the task as per point 1.
0
Comment
Question by:pma111
  • 4
  • 3
7 Comments
 
LVL 10

Expert Comment

by:ThorinO
ID: 36503163
The schedule task will have the information in the run command in scheduled tasks. I created an example below. BackupName.bks is the backup file.

You can use "schtasks /query /FO CSV /V >> output.csv" to export the information to a CSV.

You can use psexec to run the command against all the servers and point the output to a share or mapped drive. http://technet.microsoft.com/en-us/sysinternals/bb897553
C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and Settings\user\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\BackupName.bks" /a /d "Set created 9/8/2011 at 7:42 AM" /v:no /r:no /rs:no /hc:off /m normal /j "BackupName" /l:s /f "C:\Documents and Settings\username\Desktop\BackupName.bkf"

Open in new window

0
 
LVL 3

Author Comment

by:pma111
ID: 36503195


C:\WINDOWS\system32\ntbackup.exe backup "@C:\Documents and Settings\user\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\BackupName.bks" /a /d "Set created 9/8/2011 at 7:42 AM" /v:no /r:no /rs:no /hc:off /m normal /j "BackupName" /l:s /f "C:\Documents and Settings\username\Desktop\BackupName.bkf"

Thanks Thorin - just to clarify - which part of this command shows the exact path the output file is going to?

As Im not a backup admin, which the BKF "go somewhere" with all other BKF's before it is written to tape? Like a temp storage location? If so why is this - and why dont admins just write a BKF directly to tape via scheduled tasks.

Excuse my ignorance.
0
 
LVL 3

Author Comment

by:pma111
ID: 36503205
>>You can use "schtasks /query /FO CSV /V >> output.csv" to export the information to a CSV.

Is that for local sch tasks on the machine the command is executed?
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 10

Expert Comment

by:ThorinO
ID: 36503237
This is the location of the file

C:\Documents and Settings\user\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data\BackupName.bks

You can write NTbackup to tape (I'm pretty sure), so if each server has a tape drive they could go directly there rather than a local destination or UNC.

You will need to use psexec to push that command to each server.  http://ss64.com/nt/psexec.html
0
 
LVL 3

Author Comment

by:pma111
ID: 36503289
Is it common for each server to have its own tape library? Or typically one library per environment?

What is an UNC in laymans terms?

If a server doesnt have a tape library where does the BKF sit ready to go to tape - as a rule?

Would you need admin rights on the server to run psexec or could that data be enumerated with normal domain user privs?
0
 
LVL 3

Author Comment

by:pma111
ID: 36503329
I dont suppose you could do a quick workflow of the backup and restore process when ntbackup is used in management speak so I can grasp it a bit better
0
 
LVL 10

Accepted Solution

by:
ThorinO earned 500 total points
ID: 36503428
As far as I know the tape drive/library needs to be physically connected to the server if it has one.

Here is some information on what a UNC is: http://compnetworking.about.com/od/windowsnetworking/g/unc-name.htm basically a way to remotely connect to another device.

When you create the NTBackup job you tell it where you want the backup being stored. To get more comfortable with NTBackup I would suggest creating some mock jobs using the advanced mode.

I'm not sure if you would need local admin rights on the server to run the psexec but you will need to authenticate at least with a user account. You could try with a non admin account and see what happens.

In terms of what NTBackup does when you backup it will do the files you select. It also has the ability to backup system state, and Microsoft Exchange. You can also do bare metal restores: http://www.backupassist.com/education/bareMetalASR.html

Here is a link on how to restore a file/folder: http://www.serverintellect.com/support/databackup/ntbackup-restore.aspx.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Unable to remove HP CP1510 deployed printer 1 57
Sharepoint 2010 Audit Logs 11 122
tsadmin.msc on WIndows 2012 R2 4 185
Cannot connect to server with remote dekstop connection 5 26
This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
Are you looking to recover an email message or a contact you just deleted mistakenly? Or you are searching for a contact that you erased from your MS Outlook ‘Contacts’ folder and now realized that it was important.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

789 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