Product:
Search Type:

[How To] How do I change the limit of number of backups which is done through the Virtuozzo Power Panel (VZPP)?

Article ID: 1314 
Last Review: Apr,28 2008
APPLIES TO:
  • Virtuozzo for Windows 3.5.1
  • Virtuozzo for Windows 3.5.1 SP1

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.

Additional information

See also how to change the limit of number of backups which is done through the Parallels Power Panel (PPP) in Prallels Virtuozzo Containers 4.0.
Keywords: backup limit number VZPP

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields