I would like to be able to run edge.nightly as a foreground task


Keywords

edge.nightly cron Incremental Master daily foreground background task

Release

BackupEDGE 01.01.0X

Problem

I would like to be able to run edge.nightly as a foreground task. When I run edge.nightly from the command line, standard output & error messages are suppressed.

Cause

The edge.nightly scripts sets a trap to disable the break keys, & with the trap set, in turn causes edge to run in background mode. Therefore causing any output not to be visible on the terminal.

Solution

To perform the above request would require an edit to the script /etc/edge.nightly. Rather than edit edge.nightly, copy edge.nightly to another file for editing and to run your backup. For example, log in as root and type:

cp /etc/edge.nightly /etc/edge.daily Edit /etc/edge.daily using a text editor. Comment out the entry referencing the trap.

trap '' 2

Should now read:

# trap '' 2

This will disable the trap, and allow edge to run in foreground. Doing this will also allow you to have the scripts read in any changes & entries to make to /etc/edge.exclude & /etc/edge.raw. To run a Master Backup using this method, type the command line:

/etc/edge.daily -MB -n root -d /dev/tty

To run an Incremental, type the command line:

/etc/edge.daily -IB -n root -d /dev/tty


Back to the main index
Back to the MICROLITE Home Page

Copyright Notice

This document is Copyright © 1997 MICROLITE CORPORATION and is provided "AS-IS" without any warranty, either expressed or implied.