![]() |
![]() |
![]() |
![]() |
CHAPTER 22 DataSweep Technology
22.1 Introduction
DataSweep technology scans desired directories every few minutes and makes a backup of a new files. The new file is the file which was created or modified after the last backup. You can specify time interval between backups.
This is for Unix machines only.
You must have Backup Professional version 1.3.3f or later.
22.2 How to Setup
All you need to do is to specify your settings for bp_datasweep in master.ini file. This file is normally present in the /usr/bp/bpinit/ directory. Edit the section [Datasweep]. See en example below:
[Datasweep]
AutoBackupEnabled="Yes"
BlockOutPeriods="19-8"
DirectoryLocation=/usr/oracle
FilePattern="redo*.log"
DeviceNickname=sctape
CheckIntervalSeconds=300
LastFileBackedUp=
LastTimeStamp=
PurgeEnabled="Yes"
PurgeHourMin=23:00
PurgeIntervalHours=48
AutoBackupEnabled Means that backups are enabled. Can be Yes, yes, Y, y, T, t, 1. All the other values are considered "No"
BlockOutPeriods This variable specifies the interval(s) when backups are blocked (disabled). Use 24-hours style. You can specify one or more intervals. For example BlockOutPeriods="19-8" means that bp_datasweep will be passive since 7 p.m. till 8 a.m. BlockOutPeriods="22-2,6-14" means that bp_datasweep will be passive since 10 p.m. to 2 a.m. and since 6 a.m. to 2 p.m. This feature is available in version 1.3.5 and higher.
DirectoryLocation Working directory. Only files from this directory will be backed up.
FilePattern Regular expression. Files to be backed up. For example FilePattern="*.log" means that all files with extension "log" will be backed up.
DeviceNickname Nickname of the device. Normally "sctape" should not be real device name, like /dev/st0
CheckIntervalSeconds Time interval between backups in seconds. For example, ChackIntervalSeconds=300 means that program will look for files to backup every 5 minutes.
LastFileBackedUP This is for internal use. Do not edit
LastTimeStamp This is for internal use. Do not edit.
PurgeEnabled Remove old files. Can be Yes, yes, Y, y, T, t, 1. All the other values are considered "No"
PurgeHourMin Time of day when the old files will be removed. Use 24-hours style. For example "3.30" means 3.30 a.m., "19.00" means 7.00 p.m.
PurgeIntervalHours Remove only files that is older than this value.
LicenseKey License Key. See below for more details.
NOTICE: If you have changed any of these values, except AutoBackupEnabled, and the program is already running, you need to kill the program and start again. Or you can send SIGHUP signal by command "kill -1 <pid>". To find pid run the following command:
ps -ef | grep bp_datasweep
You don't need to do anything if you've changed AutoBackupEnabled variable.The program checks this value automatically.
22.3 Start and Stop
Start program manually from the command line. For example, /usr/bp/bin/bp_datasweep. This version has no arguments. For you convenience we recommend to insert this command string into the start script, which to be executed by Operating System every time when you boot your computer. The place and name of the script depends on Operating System you use. You can figure this out from the sufficient documentation.
To stop program use kill command "kill <pid>".To find pid run the following command:
ps -ef | grep bp_datasweep
Normally, if bp_datasweep configured and set up properly you don't need to start and stop it manually.
22.4 Licensing
This product does work without any additional license on BP Server during evaluation (Demo) period. As soon as you demo license has expired you can obtain permanent (Full) license. Fully licensed product does work on clients machines also.
Call or email your distributor to obtain the license key. Keep in the mind that you have to have additional license for the bp_datasweep even if you already have a full license for Backup Professional.
![]() |
![]() |
![]() |
![]() |