|
|
|
FUNCTION
|
|
|
- Delete all sub directories starting with "$_"
- Copy current dictionary (or directories, just some Ant FileSets that select files) into backup directory with current timestamp. The target subdirectory has the current timestamp ts as in it's name: "$_" ts.
- Check for previous full backup and compare both directories. Deltas are saved in subdirectory "$_" ts old "_D". Deltas are additions (or changes) and deletions of files.
- Rename "$_" ts into ts
- Rename "$_" ts old "_D" into ts old "_D"
- Rename ts old into "$_" ts old
- Delete "$_" ts old
This is a time consuming procedure, but looks very solid.
|
|
|
|
|
|
|
|