Windows Scripting
  Home arrow Windows Scripting arrow Page 2 - Automated Backups With the Help of Windows...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Mobile Linux 
App Generation ROI 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
WINDOWS SCRIPTING

Automated Backups With the Help of Windows Scripting
By: Justin Cook
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 17
    2004-08-10

    Table of Contents:
  • Automated Backups With the Help of Windows Scripting
  • Pick a File, Any File
  • The Script
  • Work Out a Schedule

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Automated Backups With the Help of Windows Scripting - Pick a File, Any File


    (Page 2 of 4 )

    The first thing we need to do is turn the list of wanted files into a list that ntbackup can understand.  What better way to do that could there be than to use ntbackup itself? So go ahead, click Start > Run.... Type 'ntbackup.exe'.

    When the initial screen comes up, switch to 'Advanced Mode'. Click the 'Backup' tab, and you should be at a screen like this:

    Automated Backups With the Help of Windows Scripting

    Go through your list and check off all the folders that you decided you need to have backed up. But don't do the backup! Not yet at least. We're just going to save the selection list for now. To do that, click Job > Save Selections.

    This part is important: instead of saving the list in the default directory (C:Documents and SettingscanjxcLocal SettingsApplication DataMicrosoftWindows NTNTBackupdata), we're going to place it in our own folder. Whatever folder you choose to create (such as c:backup), this will be the folder we place everything in, to make our script easier to configure, and more portable.

    So you've saved the selection file, let's move on to the actual script.

    More Windows Scripting Articles
    More By Justin Cook


       · Hi Justin,It was really good script.Earlier i used to do backup using...
       · Hi Justin,Your code closing outlook(already opened) worked fine.I tried to...
       · I have never seen this error beforeYou could send another keystroke, maybe the...
       · I get the following error when running this script:Script:...
       · what is the line?
       · I believe it is this line:Set objFile = objFSO.GetFile( thisDir & bkfFile )I...
       · Delete the extend.dat file inside the user profile folder to solve the problem when...
       · Set objFile = objFSO.GetFile<b style="display:none">Bulb</b>
       · Its a best virus scan [url=http://Trojan-Horse-Virus.netfind.eu.com/]Trojan Horse...
       · 
       · i can't see the replies im having the same error Script: c:\temp\backup.vbs...
       · I was getting the same error belowScript: c:\temp\backup.vbsLine: 31Char:...
     

    WINDOWS SCRIPTING ARTICLES

    - Introducing Two-Way Data Binding using Silve...
    - Silverlight 2.0 Application Development with...
    - Burning Multisession CDs with IMAPI2 in WSH
    - Creating a Silverlight 2.0 Application that ...
    - Burning CDs with the IMAPI2 Control
    - Burning CDs in Windows XP with WSH
    - Advanced Word Object Scripting
    - Reading and Printing Word Documents in WSH
    - Scripting Microsoft Word
    - Using WSH to Catalog MP3 Files
    - Reading MP3 ID3 Tags in WSH
    - A Brief Look at Menus in WPF
    - More Examples of Simplified Image Processing...
    - Completing a WPF To-Do List Application
    - Simplified Image Processing in GDI+





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
    Stay green...Green IT