RESOLUTION
Both Service VE and VE Administrators are be able to back up their Virtual Private Servers
by means of the VZCC and VZPP, respectively. These virtual backups are stored on the Hardware Node and may take up a vast amount of disk space. To limit the amount of disk space taken by these backups, the Hardware Node administrator may wish to limit the number of backups taken.
This number can be customized by editing the vzagent configuration file on the Hardware Node.
C:\Program Files\SWSoft\VZAgent\etc\vzagent.conf
After opening this file for editing, you will search for the following part of the code:
<backm>
<configuration>
a number of lines...
<pe_backups_limit>1</pe_backups_limit>
a number of lines...
</configuration>
</backm>
The value of the <pe_backups_limit> element denotes the umber of backups (1 is the default value). As needed, edit this value and save the file.
After you have appropriately edited both files, you will need to restart the vzagent by executing the following command on the Hardware Node:
C:\Documents and Settings\Administrator>vzctl exec 1 sc stop vzcpd...
Command 'exec' is successfully finished
C:\Documents and Settings\Administrator>vzctl exec 1 sc start vzcpd
...
Command 'exec' is successfully finished
Alternately, the vzagent configuration can be modified via the VZMC:
1. Right-click the Hardware Node name in the VZMC left pane and select Tasks > Manage VZAgent Configuration on the context menu.
2. In the VZAgent Configuration window, expand the backm key and select the configuration subkey.
3. Double-click the pe_backups_limit parameter in the right pane.
4. In the Edit Parameter window, enter the value you want in the Parameter value field.
5. Press OK.
In VZMC, you need to edit the value only once and do not restart the vzagent. The change will take effect immediately.
Note: The limits set on the number of VE backups by editing the vzagent configuration files concern only VE administrators and Service VE users. There are no restrictions for a Hardware Node administrator, ( i.e. for the vzagent0 user), who is allowed to create as many VE backups as s/he wants.