File Service Migration Commands

From CoolSolutionsWiki

   * migfiles – Copies data from a destination server to a source server.
     Usage – migfiles -s|-w IP address [-n|-p] [-i] [-v volume] [-V volume] [-P pool] [-x path] [-m] [-A|-t] [-e]    
         -s, --source              Indicates a NetWare file server's IP address or hostname.
         -w, --windows             Indicates a Windows file server's IP address or hostname.
         -n, --nss                 Indicates an NSS migration.  Default is posix.
         -p, --posix               Indicates a posix migration. Default is posix.
         -i, --verbose-information Prints migration information.
         -v, --source-volume       Indicates the volume to copy from the source server.
         -V, --destination-volume  Indicates the volume to copy to the destination server.
         -P, --destination-pool    Indicates the pool for creating nss volume on the destination server.
         -x, --destination-path    Indicates the destination volume path for copying nss, ncp, or posix to.
         -m, --manual-creation     Indicates the destination volume was manually created.
         -A, --audit               Audits the results of the file migration.
         -t, --test                Performs a trial run of the copy operation.
         -e, --exclude             Files to be excluded from the copy.
         -h, --help                Shows this help message.
         --usage                   Displays a brief usage message. 
   * mls – Performs a file listing on the source server volume.
     Usage – mls -s IP -v volume 
         -s, --source              Indicates the source server's IP address.
         -v, --source-volume       Indicates the volume to use on the source server.
         -h, --help                Shows this help message.
         --usage                   Displays a brief usage message. 
     maptrustees – Maps the current users on the source server.
     Usage – maptrustees -s IP [-p|-l] [-k] [-g] [-G] [-r|-S] [inputfile]
         -s, --source                     Indicates the source server's IP address.
         -p, --posix                      Maps users and groups to /etc/passwd and /etc/group. Default is LDAP.
         -l, --lum                        Maps users and groups to LUM.  Default is LDAP.
         -k, --destination-ldap-container Specifies a container where all users and groups will be migrated.
         -g, --primary-group              Default group is 'cn=<server-name>-group,<server-container>' for lum and 'users' for posix
         -G, --lum-enable-groups          If –l is specified, this will lum-enable all groups. 
         -r, --random-password            Creates random passwords for each created user. Default is no password.
         -S, --specific-password          Creates specified password for each created user. Default is no password.
         inputfile                        Outputs file produced from the mls utility or from stdin.
         -h, --help                       Shows this help message.
         --usage                          Displays a brief usage message. 
   * migtrustees – Creates or moves users to the destination server.
     Usage – migtrustees -s IP -d IP [-i] [-A|-t] [inputfile]
         -s, --source              Indicates the source server's IP address.
         -d, --destination         Indicates the destination server's IP address.
         -i, --verbose-information Prints migration information.
         -A, --audit               Audits the results of the file migration.
         -t, --test                Performs a trial run of the copy operation.
         inputfile                 Outputs file produced from the maptrustees utility or from stdin.
         -h, --help                Shows this help message.
         --usage                   Displays a brief usage message. 
   * maprights – Maps the current user’s right on the destination server.
     Usage – maprights -p|-n [-k] [inputfile]
         -p, --posix                      Maps nss source user rights to posix destination user rights.
         -n, --nss                        Maps nss source user rights to nss destination user rights.
         -k, --destination-ldap-container Specifies a container where all users and groups will be migrated.
         Inputfile                        Outputs file produced from the mls utility or from stdin.
         -h, --help                       Shows this help message.
         --usage                          Displays a brief usage message. 
   * migrights – Creates or moves the current user’s right to the destination server.
     Usage – migrights [-V] [-x] [-i] [-A|-t [-d]] [inputfile]
         -V, --destination-volume  Indicates the volume to copy to the destination server.
         -x, --destination-path    Indicates the destination volume path for copying nss, ncp, or posix to.
         -i, --verbose-information Prints migration information.
         -A, --audit               Audit the results of the file migration.
         -t, --test                Performs a trial run of the copy operation.
         -d, --destination         Indicates the destination server's IP address, required for --test option 
         inputfile                 Output file produced from the maprights utility or from stdin.
         -h, --help                Show this help message.
         --usage                   Display brief usage message. 
   * novell-migration-x-x.rpm – Installs the migration tools on the destination server.