Question
How do you transfer a JetBackup configuration to a new server?
Answer
JetBackup has a configuration export tool that you can use to manually copy the configuration to a new server:
- Access the server you are migrating from through SSH as the "root" user.
- Use the JetBackup export tool to create a backup of the configuration:
/usr/bin/jetbackup5 --export
- Using SFTP or your favorite file management tool, you can download the file from the following path:
/usr/local/jetapps/usr/jetbackup5/exports/
- Once downloaded, you can use SFTP or your favorite file management tool to upload the configuration archive to your new server in a path that you can remember. In this article, we will use the following path, where $backupfile is the name of the configuration archive:
/home/$backupfile
- Access the new server through SSH as the "root" user.
- Use the JetBackup import tool to read the uploaded configuration:
/usr/bin/jetbackup5 --import {PATH/TO/EXPORT_FILE}
To continue with our example, you can use this command, where $backupfile is the name of the configuration archive:/usr/bin/jetbackup5 --import /home/$backupfile
- When the import completes, the settings on the new server should match those on the old server.
Comments
0 comments
Article is closed for comments.