A backup done by Virtual Appliance, All-in-One appliance, an agent on a Windows machine with Acronis Management Server installed, or an agent on a Linux machine with Acronis Management Server installed is failing with an error that not enough memory is available ("Not enough memory" or similar messages).
The system information collected from such an agent might be corrupted/incomplete, or cannot be collected at all.
Cause
Provided that the target drive has enough space, the issue can have one of these root causes:
1. Insufficient RAM. This is especially the case if you notice that backup fails on some machines while it works on the others.
2. Excessive logs occupy free space.
Solution
1. Check the archive size and increase RAM, if need be. As described in the user guide, it is generally 1 GB for 1 TB of archive size.
2. If it does not help (RAM is not being used up during the backup, and/or the backup itself is small), remove old logs.
From Acronis Backup Appliance (All-in-One Appliance)
Open the console of the appliance: <ip of appliance>:9090
or the VM's web console in vSphere (it also has a terminal)
Navigate to the log storage of Acronis: cd /var/lib/Acronis
Run the following to display the biggest folder inside: du -hs * | sort -hr
Go to that folder: cd /var/lib/Acronis/<biggest folder's name>
List the directories sorting by size as you did earlier: du -hs * | sort -hr
Open the biggest directory in WinSCP, sort the files by modification date and delete the oldest ones, keeping a week of logs or so. For cleaning up AtpDatabaseMirror folder, we created a script:
Wait several minutes and run step 6 again to list the folders.
Repeat the steps for all of the biggest folders.
Repeat steps 3 – 9 for /var/log/Acronis.
Restart the appliance and try to run the backup again.
From Windows
On Windows, the logs and mirrors are all saved under C:\ProgramData\Acronis\<servicename>
Check which folder is the biggest one by using the TreeSize free tool.
Stop the corresponding services on the AMS machine. (!) Do not forget to stop Active Protection service! If it is not stopped under Services.msc, stop it in Task Manager (right-click the Task bar and select Task Manager – select Active Protection service under Details – right-click the process and select End process tree).
Remove old logs. For cleaning up AtpDatabaseMirror folder, we created a script:
Start Acronis services and run the backup again.
From Linux
On Linux, the logs are saved in Linux paths: /var/lib/Acronis/<servicename>
Navigate to the log storage: cd /var/lib/Acronis
Run the following to display the biggest folder inside: du -hs * | sort -hr
Go to that folder: cd /var/lib/Acronis/<biggest folder's name>
List the directories sorting by size as you did earlier: du -hs * | sort -hr
Open the biggest directory, sort the files by modification date and delete the oldest ones, keeping a week of logs or so. For cleaning up AtpDatabaseMirror folder, we created a script:
Repeat the steps for /var/log/Acronis.
More information
If it does not help as well, collect
Screenshots of the aforementioned steps.
System information.
Full error messages in case the system information is incomplete again (select activity -> Show details -> Details - Download the log or copy the full text to the email).