Migrate from Sophos Anti-Virus for Linux
Sophos Anti-Virus for Linux is not supported after July 20 2023. We recommend that you migrate your Linux devices to Sophos Protection for Linux.
How to migrate
To migrate, you need to download the Sophos Protection for Linux installer in Sophos Central. You can then use this to migrate your devices.
Download the installer
To download the installer, do as follows:
- In Sophos Central, go to Protect Devices.
- Click Download Linux Server Installer.
Migrate your Linux device
To migrate your Linux device, do as follows:
- Locate the installer on the Linux device.
-
Change the file permissions to include “execute”.
chmod +x SophosSetup.sh
-
Run the installer.
./SophosSetup.sh --uninstall-sav
If you're not signed in as root, run the installer with the
sudo
command.sudo ./SophosSetup.sh --uninstall-sav
Tip
During installation, you can use the
--group
option to add your device to a specific group in Sophos Central. See Installer command-line options for Linux. -
When the installation is complete, in Sophos Central, go to Server Protection > Servers and check that the device is protected.
You see two entries for your device. Delete the entry that has "Sophos Anti-Virus for Linux" in the Protection column.
We recommend you uninstall Sophos Anti-Virus for Linux using the --uninstall-sav
option with the Sophos Protection for Linux installer. This reduces the amount of time your Linux device is unprotected during migration. If you want to uninstall Sophos Anti-Virus for Linux before you migrate, do as follows:
- Go to
/opt/sophos-av
. - Run
uninstall.sh
. - Download and run the installer when you want to migrate.
After migration
After you've migrated to Sophos Protection for Linux, do as follows:
- Check that all your migrated Linux devices are in the correct server groups.
- Run an on-demand scan. See Scans.
- Check your server protection policies. Make sure you've turned on Enable scan for Server Protection for Linux Agent.
- Test detection features. See How to test Sophos Protection for Linux detection features.
More resources
This video explains how to migrate your devices.