cmPurgeBackup


Follow
0
Star
2
Details
Version history
Issues

What's new in this version

Installer class schedules the task(s)

cmPurgeBackup is an utility that can be used to erase old Online Backup files.

cmPurgeBackup

cmPurgeBackup is an utility that can be used to erase old InterSystems IRIS/Caché/Ensemble Online Backup files. It runs as a Task Manager task. It is fully compatible with all predefined classes of backup tasks, such as FullDBList, IncrementalDBList, etc., and it does not require any changes to the code that is used in these tasks.

Objectscript contest template was used; Topic and Terms.

Prerequisites

Make sure you have git and Docker desktop installed.

Installation

  1. Open terminal and clone/git pull the repo into any local directory
$ git clone https://github.com/AlexeyM64/cmPurgeBackup.git
  1. In the same terminal run:
$ cd cmPurgeBackup; docker-compose build
  1. Run the IRIS container:
$ docker-compose up -d

How to Run the Application

Point your browser to System Management Portal and go to System > Task Manager > Task Schedule. You will notice two custom tasks: FullDBList and cmPurgeBackup. The first is scheduled to run on demand, the latter - to run on FullDBList completion.

Current setting of cmPurgeBackup is to leave the last Full Backup file (.cbk) only; you may change it if you wish. Possible task's settings are discussed in the correspondent Developer Community article.

Have fun!

Category
Tools
Works with
CachéEnsembleInterSystems IRIS
Tags
Info
Version
1.0.1
Last updated
2020-03-13
Repository
Open
Documentation
Open
License
Link