Novell is now a part of Micro Focus

Create Backup Copy of File Every N minutes

Novell Cool Solutions: Cool Tool

Digg This - Slashdot This

In Brief

Perl script creates a backup copy of a file every N minutes.


Product Categories:
  • NetWare
  • Open Enterprise Server
  • Functional Categories:
  • Tools and Utilities
  • Workgroup
  • Posted:8 Jun 2007
    File Size:5KB
    Publisher:Koltogyan Sergey Rubenovich


    Please read the note from our friends in legal before using this file.


    This Perl script creates backup copy of file every N minutes.

    The Perl script works on the Server console.


    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:

    1. create folder:
    2. create file
      with info as in the attachment: bcpspc.cfg
    3. put file to the folder: sys:\perl\scripts
    4. create file: sys:\system\1bcpspc.ncf with this text:
      perl sys:\perl\scripts\
    5. Create folders for BACKUP and LOG files (as in the example this will be:)
    6. Create empt files:
    7. Load from the server console: TBX.NLM
    8. Run from the server console script:

    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

    Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions.

    © Copyright Micro Focus or one of its affiliates