Solved

ntbackup via scheduled tasks

Posted on 2011-09-08
7
439 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
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

867 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