| 416-621-9348 cgreaves@chrisgreaves.com | |
|---|---|
| Home Services Products |
Encryption And Off-site Backup Storage (Home) ; Overview ; The Problem ; The Essence Of The Solution ; How Long Does It Take To Do A Backup? ; Assumptions ; Breakdown Of Tasks ; The Stand-Alone Solution ; The Networked Solution ; Let’s Get Started ; Mounting The Backup Drive ; Mounting An Encrypted Drive ; Waiting For The Backup Drive ; Processing Each Local Drive ; RoboCopy New And Later Files ; RoboCopy Parameter Files ; Append Session Details To A Log File ; Shutting Down the Computer ; Review For Local Systems ; Putting Together The Local Backup System ; SUBSTituting A Drive For A Folder ; Assembling The Batch File ; ( TITLE commands ); Running The Backup Batch File ; Examining Our Results ; Waiting For A Set Of Drives ; Issue the Backup Command To A Set Of Drives ; Modifying The Driving Batch File ; What About The Log File? ; The Upgraded Set Of Batch Files ; Encryption of backup data ; What Is Involved In Encrypting A Backup Device? ; ( Advice On Passwords ); What Is Involved In Mounting An Encrypted Device? ; User Mounted Or Automated? ; Using A DOS Batch File To Facilitate Mounting ; Using A DOS Batch File To Facilitate Dismounts ; Making The External Drives Available Across The Network ; Mounting A Shared Drive For Sharing ; Installing On A Networked Computer ; Running On The Big Beige Box ; An Improved Method Of Waiting ; Shutdown Or Restart? ; At Long Last! A Working Version! ; The Backup.BAT file ; The Mount.BAT file ; The ProcessDrive.BAT file ; The Shutdown.BAT File ; The Encryption Process
Loading
Toronto and Mississauga, Friday, December 03, 2010 8:27 AM
Copyright © 1996-2010 Chris Greaves. All Rights Reserved.
Modifying The Driving Batch File
The serial processing of the driving batch file remains the same.
We wait for all the backup drives to aome on line, and then
We process to all the backup drives.
Why would we not iterate through a process of waiting for a single drive, backing up to that single drive, then moving on to the next drive, so that drives could be taken off line as they were completed?
We elected to write a single-click unattended system, so we anticipate all the operator intervention to take place at the start of the process; we do not want an operator sitting by waiting for each backup drive to be processed.
Backup.BAT
TITLE %0 effect a backup of a local system :: :: Set the fixed parameters :: Set Home=C:\SAFE\ Set Backup=X Y Set LogFile=C:\Safe\LogFile.LOG Set WaitTime=10 :: :: Wait until the backup drive is mounted :: call %Home%WaitBack %Backup% %WaitTime% :: :: Process each valid drive :: call %Home%AllDrive %Backup%%Computername% :: :: Make an entry in our log :: call %Home%LogBack %LogFile% :: :: Copy the log to the backup drive :: Copy %LogFile% %Backup% :: :: Shutdown the Computer system :: call %Home%ShutDown.BAT :: REM END
We modify our driving batch file to function on a pair of drives, X:\ and Y:\.
Loading
Toronto and Mississauga, Friday, December 03, 2010 8:27 AM
Copyright © 1996-2010 Chris Greaves. All Rights Reserved.