Symptoms
Container backup fails with Acronis Error: Module=0, Error=0, Tag=0:
[root@mypvcserver log]# vzabackup localhost
Starting backup operation for node 'mypvcserver.mydomain.com'...
* Operation with the Container(s) srv.mydomain.com,#101,ns1.mydomain.com is started
* Backing up environment srv.mydomain.com locally
* Checking parameters
* Dumping quota
* Creating backup 8a33d65b-98f5-1643-bb3f-6e0ec6b6e260/20120414064310
* Adjusting backup type (full)
* Backup storage: receiving backup file
* Preparing for backup operation
* Operation with the Container(s) srv.mydomain.com,#101,ns1.mydomain.com is finished with errors: Failed to perform the file backup
Acronis Error: Module=0 Code=0, Tag=0,.
Backup operation for node 'mypvcserver.mydomain.com' failed: Failed to perform the file backup
Acronis Error: Module=0 Code=0, Tag=0,
Backup failed
Cause
Parallels Virtual Automation backup tools use the /tmp
partition for storing B-tree data for the file system of the container being backed up. If the container is rather big, the temporary file may require more free space in /tmp
.
Resolution
There are two ways to resolve the issue:
Bind-mount the /tmp partition onto a larger partition:
# mkdir /vz/temp # mount --bind /vz/temp /tmp
In order to preserve such behavior after a server reboot, add the corresponding record to /etc/fstab, e.g.:
# echo "/vz/temp /tmp none bind 0 0" >> /etc/fstab
Change temporary storage location in PVA Agent backup plugin configuration (as of PVA 4.6.4 update 4 or 6.0):
- Edit
/opt/pva/agent/plugins/VZABackupLibClient/VZABackupLibClient.voc
Append parameter/load/params section for
vzlin_backup_serializer11
withenvp
variables so the resulting section will look in a following way:<!-- vzlpl stuff --> <parameter> <id>vzlin_backup_serializer11</id> <category>plugins</category> <short>Virtuozzo Backup plugin</short> <load> <params xsi:type="plugin_params_externType"> <type>extern</type> <path>vzlpl</path> <arguments> <argv>VZABackupLibClient/VZABackupLibClient.so</argv> <argv>vzlin_backup_serializer11</argv> </arguments> <!-- Environment variables--> <envp> <item> <name>ACRONIS_TMP_PATH</name> <value>/vz/tmp</value> </item> </envp> </params> </load>
- Restart PVA Agent
- Edit
Related KB articles:
8133 How to increase PVA Agent timeouts for backup operations
113790 PVA Backup: Servers, roles, and processes
113801 Unable to back up a container with old layout: Acronis Error: Module=0 Code=0, Tag=0
113794 Unable to back up containers on LVM over iSCSI