This document details the steps necessary to transfer the ...



Backup and Restore Procedure For Linux IFMs

This document details the steps necessary to backup or restore data and voice files from a Linux IFM hard drive, .

Please note: Unless otherwise indicated, all commands and file names to be typed in must be entered in lower case letters. Under Linux, upper and lower case letters are seen as different characters. For example, you can have a file named greatbigfile.dat, one named GreatBigFile.dat., and another named GREATBIGFILE.DAT. All Linux command must be entered in lower case letters for them to be recognized by the system.

All commands in this document will be given on separate lines and should be typed in verbatim unless otherwise specified.

Backup Procedure

Step1:

Determine the IP address of the old IFM machine that you’ll be copying from. For the rest of this document I’ll refer to that as the “Source IFM”.

Step 2:

Network the Windows machine you want to use as the “Copy Master” with the Source IFM. Open a command prompt (DOS prompt) session on the Copy Master, and enter

ping xxx.xxx.xxx.xxx

replacing the Xs with the IP address of the Source IFM. You should receive the response

Reply from xxx.xxx.xxx.xxx

followed by other data that we don’t need to worry about. This indicates a good network connection. If you don’t receive a reply from the Source IFM then you’ll need to correct your network setup, which is beyond the scope of this document

Step 3.

On the Copy Master machine, click the Start button, and select My Computer from the menu, then select C: from the list of devices offered. This should present you with a screen showing all the directories on your C drive. On the menu bar at the top of the screen, click File, and select New from the menu options you’re given, then Folder from the next menu. This will create a folder called New Folder on the file list. Right click on the New Folder, and select Rename from the options. Rename the folder IFM. After you’ve entered the new name and hit enter, double-left-click the new IFM folder icon.

Following the same process you used to create the IFM folder, create three new folders under IFM, and name them ATA, NAME, and MES.

Step 4.

Open a command line (DOS) prompt, and enter

ftp xxx.xxx.xxx.xxx

(where xxx.xxx.xxx.xxx is the IP address of the Source IFM)

When prompted for a login name, enter:

panasonic

When asked for a password respond:

password

If for some reason the login fails (misspelled name or password, for instance), respond

bye

to the error message and return to the beginning of this step. If the login is successful, type in:

bin

to set the file transfer mode to binary, then

prompt

to disable file-by-file prompting. We’re now ready to begin copying files from the Source IFM to the Copy Master.

Step 5.

Key in:

cd /ata

This changes the directory on the Source IFM to ata

lcd “c:\ifm\ata”

This changes the directory on the Copy Master to the folders you created in step 3. Be sure to enter this command exactly as written, including the quote marks.

mget sal*.wav

This command copies all the system greetings from the Source IFM to the copy master.

mget *.dat

This copies all the data files from the Source IFM to the copy master. The commands in steps 6 and 7 are essentially similar to those in this step, so I’ll give them without commentary.

Step 6.

cd /mes

lcd “c:\ifm\mes”

mget *

Step 7.

cd /name

lcd “c:\ifm\name”

mget *

bye

Once step 7 is completed, all the mailbox information, including names, greetings, and all mailbox content, has been copied to the Copy Master machine.

Step 8.

On the Copy Master machine, using My Computer or Windows Explorer, go to the \IFM\ATA folder. In that folder, locate the file called TAB2000.dat and delete it. This is very important, as restoring an old TAB2000.DAT onto a new machine can cause it to work improperly.

Restore Procedure

Step 1.

Establish a network connection between the Copy Master and the IFM to which the file are to be copied. I’ll refer to that as the Target IFM from here on out. Open a command line (DOS) prompt, and enter

ftp xxx.xxx.xxx.xxx

(where xxx.xxx.xxx.xxx is the IP address of the Target IFM)

When prompted for a login name, enter:

panasonic

When asked for a password respond:

password

If for some reason the login fails (misspelled name or password, for instance), respond

bye

to the error message and return to the beginning of this step. If the login is successful, type in:

bin

to set the file transfer mode to binary, then

prompt

to disable file-by-file prompting. We’re now ready to begin copying files from the Copy Master to the target IFM. I’ll give the FTP commands in terse form again.

Step 2.

cd /mes

lcd “c:\ifm\mes”

mput *

Step 3.

cd /name

lcd “c:\ifm\name”

mput *

Step 4.

Open a new command line (DOS) session, leaving your existing FTP session open, and enter

telnet xxx.xxx.xxx.xxx

(where xxx.xxx.xxx.xxx is the IP address of the Target IFM)

When prompted for a login name, enter:

panasonic

When asked for a password respond:

password

At the next prompt, type in:

su –

You’ll be prompted for the password, so enter:

password

This gives you the highest level access on the Target IFM Type in:

cd /

mkdir temp

chmod 0777 temp

cd /temp

Step 5.

Return to the FTP session, and key in:

cd /temp

lcd “c:\ifm\ata”

mput *

When the mput is completed, go to the telnet session, and type in

rm –f tab2000.dat

chmod 0777 *

cd /name

chmod 0777 *

cd /mes

chmod 0777 *

cd /temp

Note - The next commands are time critical. Once the “killall” command is given, in roughly 30 seconds the IFM watchdog program will force the system to reboot. Therefore it’s necessary to quickly type in the cp command that comes after it so that it can execute before the watchdog boots the machine.

killall linuxengine loserver

cp –f * /ata

The last command will copy everything from your /temp directory to the /ata directory where it’s supposed to exist. In something less than 30 seconds the watchdog will force your IFM to reboot, and the procedure is finished.

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download