How to Copy JetBackup Configuration to New Server


This article provides a guide for how to copy JetBackup configuration to new server. This can be a useful tool for server administrators.

How to Copy JetBackup Configuration to New Server

JetBackup includes a convenient export tool, which can be used to clone server configurations to new servers.

To copy JetBackup configuration to new server, follow the steps below: 

  1. Access the server you are migrating from through SSH as the "root" user. (Source Server)
  2. Use the JetBackup export tool to create a backup of the configuration by running the following command:
    /usr/bin/jetbackup5 --export

    Example output:

    Export Location: /usr/local/jetapps/usr/jetbackup5/exports/jetbackup5_export_1737046793.tar.gz
  3. Using SFTP or your favorite file management tool, you can download the file from the following path:
    /usr/local/jetapps/usr/jetbackup5/exports/
  4. 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
  5. Access the new server through SSH as the "root" user. (Target Server)
  6. 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
  7. Upon completion of import, the settings of the Target Server will match those of the Source Server.

Conclusion

You now know how to copy JetBackup configuration to new server.

  • jetbackup 5, jetbackup
  • 0 Kunder som kunne bruge dette svar
Hjalp dette svar dig?

Related Articles

Fix JetBackup License Error

This article provides a guide to resolve JetBackup license error in WHM and cPanel servers....

Install JetBackup on cPanel Server

This article provides a guide for installing JetBackup on a cPanel VPS or cPanel Dedicated...

Fix JetBackup Stuck on Loading Screen

This article provides a guide for how to fix JetBackup Stuck on Loading Screen. Error...

How to Uninstall JetBackup on cPanel Server

This article provides a guide for how to uninstall JetBackup on cPanel server. How to Uninstall...