Cybersecurity
DevOps Cloud (ADM)
IT Operations Cloud
This Perl script creates backup copy of file every N minutes.
The Perl script works on the Server console.
Files:
bcpspc.pl
bcpspc.cfg
Example:
\\server\docum\wrk\home\user1\file.sxc
will be created every 15 min from 8:00 to the 21:00 files here:
\\server\docum\wrk\home\user1\bcp\yyyymmddhhmm.sxc if file.sxc is opened by user.
How to configure:
This script, from the example, will create a Backup copy of file.sxc every 15 min.
This will be if file LOCK by user application.
How to stop the script:
Create the file: SYS:\bcpspc.txt
Before Run the script again, need RENAME SYS:\bcpspc.txt to the SYS:\bcpspc.tx