You are currently browsing the archives for the windows tag.

Microsoft Windows 7 backup tools

March 7th, 2010

Windows provides the following backup tools:

  • File backup: Windows Backup allows you to make copies of data files. You can let Windows choose what to back up or you can select the individual folders, libraries, and drives that you want to back up. By default, your backups are created on a regular schedule. You can change the schedule and you can manually create a backup at any time. Once you set up Windows Backup, Windows keeps track of the files and folders that are new or modified and adds them to your backup. To set up file backup, see the following backup steps

  Read more »

How to backup your Microsoft Office 2007 Outlook in its entirety

January 27th, 2010

Many people use Microsoft Outlook to download mail from their POP3 or IMAP server. While some may only link their Outlook to one particular email, many today have multiple email accounts all pouring into the same data file. Backing up Microsoft Outlook consists essentially of backing up two different components; the pst file that stores messages (or in the case of IMAP a cached version of the server) together with the registry entry that stores all the different email accounts that are being processed by Outlook.

Backing up the data file

The folk who decided on the default location of the Outlook data file chose a location that is difficult to figure out.  Also when installing Outlook (or when running it for the first time) there is no way to specify a different folder.

Read more »

Custom Search

Windows Vista backup steps

November 1st, 2009
  1. Open the Control Panel Home window from Start / Settings / Control Panel
  2. Click Backup and Restore Center
  3. Click Back up files buttonBackup and Restore center
    Bookmark and Share
  4. Select location where you want to save your backed up files
  5. Select disks that you want to include in the backup
  6. Select type of files to include in your backup
  7. Create a backup schedule
  8. Click the Save settings and start backup button

Alternatively, you can create a complete backup of your entire computer by clicking the Back up computer button and follow the simple wizard :)

Automated email notification for Windows backup

October 12th, 2009
email notification

email notification

The native backup utility found on Windows servers is one cool application that has saved many SMBs real cash!  Apart from fulfilling its main functionality, it is found to be very reliable and effective. Problems arise when extra features are required such as, backing up to external storage devices and/or utilizing advanced backup features! One useful feature that is standard in purchasable applications is email notification of backup jobs. The script below gives you that functionality!!!! It’s free and simple to implement!!!!

The implementation steps of the script are as follows:

  1. Create a backup job using Windows backup – Start/All Programs/Accessories/System Tools/Backup and set a job schedule
  2. Open the window Scheduled Tasks – Start/Control Panel/Scheduled Tasks and find the newly created scheduled job.
  3. From the properties window of this job copy the highlighted text from the Run text field
  4. Copy this text in a new batch file called ‘mybackup.bat’ (any name you like without quotes)
  5. Take a note of the batch file location and enter the full path in the Run text field of step 3 ex: c:\documents\mybackup.bat
  6. Close the properties window by clicking OK and enter an admin password if prompted
  7. Add the sample script shown below in the batch file after the text entered in step 4
  8. Edit the script text to reflect your email & path settings

Sample script

Custom Search

Copied text from step 3 goes here

@echo off
set Sender=”source email addess”
set Receiver=”your email address”
set Host=”IP address of source email server”
set Subject=”Backup name/title”

set logdir=”%USERPROFILE%\Local Settings\Application Data\Microsoft\Windows NT\NTBackup\data”
REM ex – C:\Documents and Settings\administrator\ for %USERPROFILE%
set result=”%temp%\latestlog.txt”

pushd %logdir%
for /f “tokens=1 delims=” %%I in (‘dir /B /O-D’) do (
 if “%%~xI”==”.log” (
   type “%%~fI” > %result%
   goto :end
   )
 )
:end
popd

c:\windows\system32\blat.exe %result% -f %Sender% -to %Receiver% -server %Host% -subject %Subject%
del /q /f “%result%”

 

explanation

explanation

Explanation of the sample script:

 pushd
==> stores the current directory for use by the POPD command, then change to the specified directory

for /f “tokens=1 delims=” %%I in (‘dir /B /O-D’) do
=> parse each line of the directory listing (log files) and get the name of each file one by one

dir /B /O-D  ==> remove heading info from directory list, and list files by date in reverse order

until
if “%%~xI”==”.log”
==>if the current file (its extension only) is .log

then
type “%%~fI” > %result%
==> then copy the contents of the current log file to the variable file latestlog.txt

c:\windows\system32\blat.exe  ==> Blat is a Win32 command line utility that sends eMail using SMTP – http://www.blat.net/?docs/credits.html