Home > Amanda > Communications System > Amanda Work Group Administrations 7 Xx Instructions Manual

Amanda Work Group Administrations 7 Xx Instructions Manual

Here you can view all the pages of manual Amanda Work Group Administrations 7 Xx Instructions Manual. The Amanda manuals for Communications System are available online for free. You can easily download all the documents as PDF.

Page 211

Chapter 10: Using Utilities 201
Displaying Message Information
The MsgList utility displays the quantity, date, time, and type of messages 
stored for all the mailboxes or the specified mailboxes.
Syntax:  msglist [-e] [mailbox_list]
The -e is optional. Use it to print the dates in European format (20/04/95) 
rather than the US format (04/20/95).
The mailbox_list specifies individual mailboxes, a range of mailboxes, or 
both. Use a hyphen (-) to separate the first and last mailboxes in a range. Use 
a...

Page 212

202 Administering [email protected]/DOS
To display message information in European format:
(for mailboxes in the range 200–231 and in the range 300–320)
 Type:
msglist -e 200-231 300-320
Validating Notification Templates
The VMBEdit utility checks that:
 Notification templates are valid.
 No two templates are identical except for Title. If it finds duplicates, 
it keeps the first template (unless it has no title) and deletes the du-
plicate. VMBEdit updates the mailboxes that used the deleted tem-...

Page 213

Chapter 10: Using Utilities 203
Therefore, the searchstring must be typed exactly as it appears in the file. 
The Grep utility displays the lines of the file that contain those characters. 
This is useful when viewing trace files.
Syntax:  grep searchstring filename
To display the results of the search on the screen:
 Type the following at the C:\AMANDA> prompt:
grep searchstring filename
To store the results in a file:
 Type (on one line):
grep search_string input_filename > 
output_filename 
where...

Page 214

204 Administering [email protected]/DOS
Examples
The following examples show common uses of the JOVE utility.
To change your Amanda password using JOVE:
1. At the C:\AMANDA> prompt, type:
JOVE INSTALL.CFG
2. To perform a search for the Password configuration option, press Ctrl+S 
and type the first few letters of the word password.
set off_dly 50
set partial_q_ok false
set password AMandA
PBX 1 1001
PBX 2 2001
3. Use the Right Arrow key to move the cursor to the password to be 
replaced.
4. Type the new...

Page 215

Chapter 10: Using Utilities 205
NOTE:The /2 is for COM2 and the /4 is for COM4. Use 
COM2 when connecting directly via a null modem ca-
ble. Use COM4 when connecting via a modem. 
The /f is for “fast” to use 14400 bps. You can add /f to 
the second line if your modem is fast.
%LOGN% refers to the environment variable LOGN, 
which is set in the AUTOEXEC.BAT file as:
SET LOGN = C:\BOOTLOG
and logs information in the BOOTLOG file in the root 
directory.
If you prefer to log information on screen, put a rem...

Page 216

206 Administering [email protected]/DOS
To insert characters Place the cursor at the insertion point and type 
them
To delete the character 
above the cursorUse the Delete key
To delete an entire lineCtrl+K
To restore a deleted lineCtrl+Y
To move to the begin-
ning of the fileCtrl+Home
To move to the end of 
the fileCtrl+End
To move text around, 
first delete using 
Ctrl+K, thenCtrl+Y
To edit a new fileCtrl+X Ctrl+F
To create a new fileCtrl+X Ctrl+F
To scroll the screen up 
one lineCtrl+Z
To scroll the...

Page 217

Chapter 10: Using Utilities 207
Displaying Text Files (20 Lines at a Time)
The Less utility displays a text file on the screen, 20 lines at a time. This 
utility is similar to the MORE command in DOS, but with many additional 
features.
Syntax:  less filename
You can move around in the file:
 Use Page Up and Page Down to scroll through the file
 Use Up Arrow and Down Arrow to move from line to line
 To view an additional line, press Enter
 To view the next 20 lines, press the spacebar or Page Down
...

Page 218

208 Administering [email protected]/DOS
To view a file that you are not grepping, such as GREP.MAN, which 
explains how to use the Grep utility, type the following at the 
C:\AMANDA> prompt:
less grep.man
Displaying the Last n Lines of Text Files
The Tail utility displays the last n lines in a text file, with a default of 10 
lines.
Syntax:  tail [-n] filename
To display the last 20 lines of a file:
 Type the following at the C:\AMANDA> prompt:
tail -20 filename
Performing Operations at Shutdown
As...

Page 219

Chapter 10: Using Utilities 209
rem XCOPY C:\*.* D:\
rem
rem CD \TAPE
rem TAPE ERASE /Q/N=AMandA 
rem TAPE BACKUP /F=C:\AMANDA\AMANDA.TAG /-C/-P/R/W 
rem
Reviewing Installation History
You can review an Amanda system’s installation history to find out what 
versions have been installed or uninstalled. It shows each Amanda version 
(starting with 5.45) and its installation history on the computer.
Syntax:  history
To display the history of the search using the Less utility:
 Type the following at any...

Page 220

210 Administering [email protected]/DOS
**********************************************************************
Found installation of [email protected]/DOS Version 6.02 Rev A
This installation was an update/upgrade.
The prior product updated/upgraded was: [email protected]/DOS 6.01 A.
The files backed up by this installation appear intact; an un-install
should be possible.
The BUILD.ID for this installation is:
BUILD 6.02 A.15
Number of installation starts found for this product is:
3
View the SUMLOG...
Start reading Amanda Work Group Administrations 7 Xx Instructions Manual

Related Manuals for Amanda Work Group Administrations 7 Xx Instructions Manual

All Amanda manuals