moveGFEData User's Guide

January 9, 2012

Table of Contents

Overview

Running the moveGFEData Program

Example Output


Overview

The moveGFEData program is a utility to move or copy configuration files from one user to another. It can be used with either one server, to copy/move files from user to user, or two servers, to copy/move files from one user on one server to another user on a second server.

Running the moveGFEData Program

The command line syntax is:
moveGFEData -h hostname -p portnumber -s sourceUser -d destUser [-c] [-a host2 -b port2] -w sourceSiteID [-x destSiteID]
A sample command line is:
moveGFEData -h dx3-oax -p 9581 -s auser -d buser -w xxx

Option Syntax Optional or Mandatory Description
-h hostname Mandatory (See Note) Specifies the host, upon which the source EDEX is running. If -a and -b are not specified, then this also specifies the host upon which the destination EDEX is running.
-p port Mandatory (See Note) Specifies the port, upon which the source EDEX is running. If -a and -b are not specified, then this also specifies the port upon which the destination EDEX is running.
-s sourceUser Mandatory Specifies the source user from which files will be moved from.
-d destUser Mandatory Specifies the destination user to which files will be moved to.
-c Optional If specified, copy data only, do not move it.  By default, the data is moved.
-a host2 Optional Specifies the host, upon which the destination EDEX is running. This switch is not necessary if you are copying/moving files between users on the same server.
-b port2 Optional Specifies the port, upon which the destination EDEX is running. This switch is not necessary if you are copying/moving files between users on the same server.
-w sourceSiteID Mandatory Specifies the source site ID.
-x dextSiteID Optional Specifies the destination site ID.
Note: The -h serverhost and -p port are predefined based on your installation configuration of GFESuite. The -h and -p will be defined for the server host and port specified during installation. If you wish to connect to another server, then these switches will be necessary.


The program will list the various categories that are valid. The user chooses a category and an inventory is shown of the data owned by the "sourceUser". The user chooses the file to move and the program moves the file. Then the program displays the updated inventory.

Example Execution

The following shows an example execution of copying data from user "jdynina" to user "jdynina1". User input is shown in italics and bold. The program moves the ISC_Tool from mark to mark1.

camper > moveGFEData -s jdynina -d jdynina1 -w LWX

19:14:18 moveGFEData.py INFO: MoveGFEData from [jdynina] to [jdynina1]
******************* MoveGFEData ******************
SourceUser: jdynina
DestinationUser: jdynina1

Enter type of data. Choose one of the options:
0 - exit
1 - Color Tables
2 - Edit Areas (Reference Areas)
3 - Sample Sets
4 - Weather Element Groups
5 - Edit Area Groups
6 - GFE/ifpIMAGE Configurations
7 - Selection Time Ranges
8 - Smart Tools
9 - Procedures
10 - Utilities
11 - Text Utilities
12 - Text Formatters
13 - Zone Combiner Saved Combos and Colors
14 - Zone Combiner Combination Files
8

***** Smart Tools *****
No files available to move