Backing Up Data66 Netscape Certificate Management System Command-Line Tools Guide • February 2003• You are logged in as a user with permission to run cmsbackup, to run db2bakfor the LDAP servers, and to write to the output directory; you may need tobecome superuser on a UNIX system or Administrator on a Windows NTsystem.• There is plenty of disk space in the output directory; the size of the backuparchive will vary with the amount of data in your system, so you will learnfrom experience how much space you require.The configuration that you back up, of course, will use all of your currentpasswords. You will need to remember the current passwords if you restore thisdata after you change some passwords.To run cmsbackup:1. Log in to the machine where your CMS instance is running and open acommand shell.2. Change to the CMS server instance directory in the server root. For example, ifyour server root is /usr/netscape/servers and the instance ID of the serveryou want to back up is cmsinstance:# cd /usr/netscape/servers/cert-cmsinstance3. Execute the backup script: either cmsbackup on UNIX or cmsbackup.bat onWindows NT systems. For example,# ./cmsbackupThe script will run. Control returns to the command prompt when the script hasfinished.After You Finish a BackupImmediately after running the backup tool, you should check the log file to makesure that all systems were archived successfully. The log file is/cert-/logs/cmsbackup.logIf the any part of the backup was not successful, there will be a message labeledWARNING or ERROR that tells you why. Most of the time, the problems are the resultof directories or files that are missing or inaccessible to the user runningcmsbackup. If necessary, change the permissions on the required files, delete thezip archive in the output directory, and run cmsbackup again.