Loader

Command Prompt Postgres

To back up the Panorama PON EMS Postgres database on Windows, perform the following:

  1. Log on to the server using a userid that has administrative privileges.
  2. From the Windows Desktop, right-click on the Start  Icon and left-click on Terminal (Admin).


     
  3. The User Account Control dialog is displayed.


     
  4. Click on the Yes button.
  5. The Administrator: Command Prompt screen is displayed.
    Information Note: Do not close the Administrator: Command prompt window until explicitly instructed to do so or when instructed to perform a reboot or restart of the server.

     
  6. Log on as an administrative user and open a command prompt.
  7. In the Administrator: Window, enter the following command to navigate to the Panorama PON EMS server folder.
    C:Tellabs>  cd  C:TellabsPanoramaPONbbmgrserver
  1. Type the backupems command with the required syntax and parameters (for detailed information, see Backupems Parameter Table). The system creates the backup and the output appears, as shown in step 9:
  2. Type the following command for an Example Command and Output for Postgres.
    C:TellabsPanoramaPONbbmgrserver>backupems -i -u postgres -p tellabs -s EMS
  3. This command produces output similar to the following:
    Checking Platform:MSWin32
    Detecting Windows Operating System.
    Postgres Home Is c:postgres
    Ems Home Is C:TellabsPanoramaPONbbmgr
    Folder C:TellabsPanoramaPONbbmgrserverbackupfiles Is Writable.
    Postgres Home Is c:postgres
    Ems Home Is C:TellabsPanoramaPONbbmgr
    Removing Old Backup File
    Removing: C:TellabsPanoramaPONbbmgrserverbackupfiles/201504281353.dmp
    Executing: c:postgres/bin/pg_dumpall.exe -l EMS -U postgres -fC:TellabsPanoramaPONbbmgrserverback-upfiles201505131132.dmp
    
    Postgres Backup Successful.
    Backing up 11XX data...
    Backing up 11XX anchors...
    C:TellabsPanoramaPONbbmgr/httpfile/certificates...

  


Previous  
  

Send feedback on this topic to Tellabs.
FEEDBACK: Are you happy with this material?