/ Assembly List / LJCBackupChanges


The backup process runs in two parts. This is done to allow the user to review the proposed changes if desired before updating the target files.

1. Run the LJCCreateFileChanges.exe program to create the "Changes" file.
2. Run the LJCBackupChanges.exe program to perform the "Copy" and "Delete" messages in the "Change" file.

The LJCBackupChanges.exe program's main functionality is provided in the file LJCBackupChangesLib.dll, class BackupChanges.

The LJCBackupChanges.exe program copies files to, or deletes files from, the target root folder and subfolders using a filespec based on the targetRoot, each source "Changes" filespec and the startFolder value.

The program takes two required parameters.

targetRoot - The full path to the target files root folder. The files in this folder and all subfolders are the target of the backup.
The targetRoot is considered to not have a drive identifier if the targetRoot does not have a colon ":" in character position 2. In this case the program will prompt the user for a drive identifier.
This is to support multiple external backup drives which may have different drive identifier assignments.

startFolder - The targetFilespec is created by using the targetRoot combined with the remainder of the sourceSpec starting after the startFolder.

Classes
Program The Backup File Changes program.
1 Types

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.