nativeInstaller

Backup or restore a stack

Backup

Bitnami stacks are self-contained and the simplest option for performing a backup is to copy or compress the Bitnami stack installation directory. To do so in a safe manner, you will need to stop all servers, so this method may not be appropriate if you have people accessing the application continuously.

Follow these steps:

  • Stop all servers using the shortcuts in the Start Menu or the graphical manager tool.

  • Create a compressed file with the stack contents. You can use a graphical tool like 7-Zip or WinZip or just right-click the folder, click “Send to”, and select the “Compressed (zipped) folder” option.

  • Download or transfer the application-backup.zip file to a safe location.

  • Start all servers using the shortcuts in the Start Menu or the graphical manager tool.

Restore

Follow these steps:

  • Stop all servers using the shortcuts in the Start Menu or the graphical manager tool.

  • Uninstall the previous services by executing the following command:

    $ serviceinstall.bat
    
  • Create a safe folder named Backups in the desktop and move the current stack to it. Remember to replace PATH with the right location of your folder:

    $ move installdir \PATH\Backups
    
  • Uncompress the backup file using a tool like 7-Zip or Winzip or just double-click the .zip file to uncompress it, and move it to the original directory.

  • Install services by running the following commands from an elevated command prompt:

    $ cd installdir
    $ serviceinstall.bat INSTALL
    
  • Start servers using the graphical manager tool.

Last modification September 6, 2018