For example, if you originally installed the stack as the root user on Linux, make sure that the restored files are owned by root as well. IMPORTANT: When restoring, remember to maintain the original permissions for the files and folders. Start all servers: $ sudo /opt/bitnami/ctlscript.sh start
Uncompress the backup file with the application data files to the original directory $ sudo tar -pxzvf -C /Īdditionally, to restore a full backup, uncompress the backup file with the application binaries and runtime files to the original directory $ sudo tar -pxzvf -C / Move the current stack to a different location: $ sudo mv /opt/bitnami /tmp/bitnami-backup RestoreĬhange to the directory containing your backup: $ cd /your/directory
You should now download or transfer the and files to a safe location. Restart all servers: $ sudo /opt/bitnami/ctlscript.sh start Stop all servers: $ sudo /opt/bitnami/ctlscript.sh stopĬreate a compressed file with the directory containing application data files: $ sudo tar -pczvf /bitnamiĪdditionally, to make a full backup, create a compressed file with the directory containing application binaries and runtime files: $ sudo tar -pczvf /opt/bitnami NOTE: If you want to create only a database backup, refer to these instructions for MySQL/MariaDB.Ĭhange to the directory in which you wish to save your backup: $ cd /your/directory To do so in a safe manner, you will first need to stop all servers, so this method may not be appropriate if you have people accessing the application continuously. The simplest way for performing a full backup is to copy or compress both directories. The Redmine packaged by Bitnami application data files are installed in a different directory from the application’s runtime/binary files. Approach A: Bitnami installations using system packages Backup Refer to the FAQ for more information on these changes. The output of the command indicates which approach (A or B) is used by the installation, and will allow you to identify the paths, configuration and commands to use in this guide. To identify your Bitnami installation type and what approach to follow, run the command below: $ test ! -f "/opt/bitnami/common/bin/openssl" & echo "Approach A: Using system packages." || echo "Approach B: Self-contained installation." On account of these changes, the file paths stated in this guide may change depending on whether your Bitnami stack uses native Linux system packages (Approach A), or if it is a self-contained installation (Approach B). NOTE: We are in the process of modifying the file structure and configuration for many Bitnami stacks.