How to Backup VP Server Repository

tomcat-thumbVP Server is a server application which included the Teamwork Server, Floating License Server and Update Server. To protect you from losing your valuable works, it is recommended to backup the server from time-to-time. This article will show you how to get it done by using the built-in backup script.

 

Perform backup to VP Server

Backup the server is pretty simple and can be done in few steps. To backup the server:

  1. Shutdown the running VP Server. If you have installed the server as system service, you can then stop the service of your running server. For Microsoft Windows you can go to Control Panel > Administrative Tool > Service, then locate the VP Server service to stop it. Note that you may need administrator permission on your Window in order to access to the Window system service.

    Stop Windows system service.

    Stop Windows system service.

  2. Open Command Prompt (or Terminal for other platforms) and navigate to the scripts folder of the VP Server (using CD command).

    Open command prompt and navigate to scripts folder of VP Server

    Open command prompt and navigate to scripts folder of VP Server

  3. Execute the backup script. You may optionally specify the -output parameter to specify the location for outputting the backup file.

    Backup VP Server using backup command

    Backup VP Server using the backup command

  4. Once the process completes the backup will be generated to location you specified. If no output location was specified then it will generated next to the backup script.

    Backup being generated to the specified location

    Backup being generated to the specified location

  5. Now you can restart the server and resume the service. If your server is installed as system service you can then launch it by locate the VP Server service under Control Panel > Administrative Tools > Service. Again, you may need to have administrator permission for access the Windows system service.

    Start VP Server service.

    Start VP Server service.

Restore VP Server from backup

You can restore the backup to a brand new VP Server in the following way:

  1. Copy the VPServerExport folder to VPServer/webserver/webapps/ROOT/WEB-INF folder of the new VP Server.

    Copy to VPServerExport package to WEB-INF folder of the new VP Server

    Copy to VPServerExport package to WEB-INF folder of the new VP Server

  2. Open the Command Prompt and execute the startup script inside the scripts folder of VP Server.

    Startup VP Server

    Startup VP Server

  3. Open the browser and connect to your server. You should be prompted the server found the backup package. Press Next button to proceed.

    Backup package is being detected.

    Backup package is being detected.

  4. You may take this chance to change the database of your server. Otherwise simply press Next button to go through the entire procedure.

    Install new VP Server wtih your backup package.

    Install new VP Server wtih your backup package.

  5. Once the setup is done you can then login to your server for a review, and you should see all the settings and data a preserved.

    All the data and setting are restored to the new server.

    All the data and setting are restored to the new server.

  • Server backup is supported starting from version 10.2.
  • Specify output location for generate backup supported starting from version 14.0 build 20170101. Server upgraded from older version will require to replace the backup script. Please contact Visual Paradigm Support Team for the latest backup script.

 

Related Know-how

Related Links

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply