Technical Support Pages

 

Title
I would like to be able to run edge.nightly as a foreground task
Keywords
edge.nightly cron Incremental Master daily foreground background task
Product Release(s)
BackupEDGE 01.01.0X
Problem Description
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

Get a printer-friendly version of this document

 

 

Last Updated - 2022/01/03

 

Top
MENU