Backup Script

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

hatcher1981
Posts: 30
Joined: Tue May 23, 2006 4:14 pm

Backup Script

Postby hatcher1981 » Wed May 24, 2006 3:21 pm

I am trying to get the backup script that comes with the admin resource kit to work on my RedHat EL 4 box. I followed the instructions on the sxbackup.pdf. When i get to the point of running the setup, i get the following message. I know i am probably missing something really easy.

./setup: line 5: dialog: command not found
./setup: line 20: dialog: command not found
./setup: line 39: dialog: command not found
./setup: line 54: dialog: command not found
./setup: line 67: dialog: command not found

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed May 24, 2006 10:47 pm

It sounds like the file was converted to a DOS file. Did you edit it on your PC, then copy it back to your Linux box? If so, you'll need to type:

Code: Select all

dos2unix sxbackup.sh
chmod 755 sxbackup.sh

Thanks,
Rachel

hatcher1981
Posts: 30
Joined: Tue May 23, 2006 4:14 pm

Postby hatcher1981 » Thu May 25, 2006 8:44 am

No I didnt edit on my pc, but i ran the commands and it still did not work.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Thu May 25, 2006 8:59 am

Please install "dialog" on your system.

NAME
dialog - display dialog boxes from shell scripts

SYNOPSIS
dialog --clear
dialog --create-rc file
dialog --print-maxsize
dialog common-options box-options

DESCRIPTION
Dialog is a program that will let you to present a variety of questions or display messages using dialog boxes from
a shell script. These types of dialog boxes are implemented (though not all are necessarily compiled into dialog):


Cheers,

Sascha.

hatcher1981
Posts: 30
Joined: Tue May 23, 2006 4:14 pm

Postby hatcher1981 » Thu May 25, 2006 11:53 am

That worked thanks alot.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 13 guests