beautypg.com

6 pre/post-backup command, Better edge backup v5.2 – Deonet Backup Solutions 5.2.7.0 User Manual

Page 26

background image

Better Edge Backup v5.2

User Guide

Copyright © 2008, Better Edge Technology, Inc. All Rights Reserved.

Page 26 of 121

(September 16, 2008)

Exclude all others = True

Example 2:
If you want to backup all files, excluding all *.exe, *.dll and *.tmp, in C:\Applications, you should setup your
backup filter as follows.

Top Directory

= C:\Applications

Apply To

= File (true)

Matching Type

= End With

Matching Patterns = *.exe,*.dll, *.tmp
Filter Mode

= Exclude

Include all others = True

Example 3:
If you have made your selection of files (all under C:\) from the backup source setting but you want exclude all
images (e.g. *.jpg and *.gif) from your selection, you should setup your backup filter as follows.

Top Directory

= C:\

Apply To

= File (true)

Matching Type

= End With

Matching Patterns = *.jpg, *.gif
Filter Mode

= Exclude

Include all others = false

Please note that the [Include all others] setting is not enabled because you don’t want to include all other files
(NOT *.jpg, *.gif) under C:\ into the backup set.

Example 4: (advanced)

If you want to include everything, except the “log” directory, under C:\Applications into a backup set, you should
setup your backup filter as follows.

Top Directory

= C:\Applications

Apply To

= Directory (true)

Matching Type

= Regular Expression

Matching Patterns = ^log$
Filter Mode

= Exclude

Include all others = True

Example 5: (advanced)

If you want to include all directories named “log” from the backup set files with file name starting with “B” and
ending with “*.doc” under C:\My Documents into the backup set, you can use a regular expression of
“^B.*\.doc$” to do your selection. The filter backup can then be setup as follows.

Top Directory

= C:\My Documents

Apply To

= File (true)

Matching Type

= Regular Expression

Matching Patterns = ^B.*\.doc$
Filter Mode

= Include

Exclude all others = True

5.6 Pre/Post-Backup Command

The “Command Line Tool” feature has two major components, the [Pre-Backup] command and the [Post-Backup]
command. You can use the [Pre-Backup] or [Post-Backup] commands to run any native OS (operating system)
commands before or after running a backup job.