---
title: "Upgrade the DataSync Agent"
canonical: "https://docs.perspectium.com/space/helium/2112337/Upgrade%20the%20DataSync%20Agent"
format: markdown
---
If you have not previously installed the  DataSync Agent , refer to these steps to  Install the DataSync Agent . Prerequisites  First, you will need to  stop the DataSync Agent .  Next,  make sure that you have backed up your local agent files, namely the files in the  conf  directory in your Perspectium Replicator Agent directory.   You will also need to request the latest  Agent Installer  from  Perspectium Support . Procedure To start upgrading your DataSync Agent, choose from below: Upgrade the Agent through command line Upgrade the Agent through Agent installer Upgrading the Agent through the command line  If you generated an automatic installation script with your previous installation, you can run the installer from the command line and pass the automatic installation file as a parameter. Doing so will cause the installer to run and use all the settings you specified in the previous installation. You will not be prompted for this information. To run the installer with an auto installation script, open a command window and change to the directory where the new installer jar file resides. Next you should locate the auto installation script from your previous install. It is usually in the top directory of the agent installation and if you accepted the default name will be called  auto-install.xml . Once you know the location, copy and paste the  auto-intall.xml  into the same folder or directory as the  perspectium-datasync-installer.jar . The following is for Linux only. Now you can run the following command making sure to use the correct name of the installer jar file: java -jar perspectium-replicator-installer.jar auto-install.xml Upgrading the Agent through the Agent Installer  Next steps Start or stop the DataSync Agent