28 November, 2005

Incremental Backup (copy) With Logging... ( Vbscript )



: "Incremental Backup (copy) With Logging.( Vbscript )

Author: Tom Hingston

Description:
This script copies all the files that are new or have changed, to the backup folder specified by BackupPath. It also logs the files copied from the last 5 backups
Script:

'===================
'Tom's Cool Backup Script 16 JAN 2001
'Written by Tom Hingston of http://cheqsoft.com
'
'This script copies all the files that are new or have changed,
'to the backup folder specified by BackupPath.
'It also logs the files copied from the last 5 backups to C:\Backuplog.txt
'
'INSTRUCTIONS
'You need to change settings in 2 places below... Setting 1 is where to
'backup to; Setting 2 is what to backup. There is optional Setting 3 which
'allows you to exclude some sub-folders from within the folders being backed up.
'
'All file/folder paths need to be inside speech marks 'Like this'
'or otherwise the speech marks need to be empty ''
'
' Learn about VBScript at...
' http://msdn.microsoft.com/scripting/default.htm?/scripting/vbscript/
'===================

'SETTING 1 - WHERE TO BACKUP TO...
' Set BackupPath
' BackupPath is the Folder that you want to backup to....
' Example1: BackupPath = 'H:\Backup'
' Example2: BackupPath = '\\Tom\C"