Previous page

Next page

Locate page in Contents

Print this page

vzdqdump and vzdqload

The vzdqdump and vzdqload utilities are used for dumping the Container user/group quota limits and grace times from the kernel or the quota file or for loading them to a quota file, respectively. vzdqdump displays the corresponding values on the console screen, and vzdqload gets the information from the standard input.

The syntax of the commands is the following:

vzdqdump [ general_options ] quota_id [-f] [-c quota_file ] –G|-U|-T

vzdqload [ general_options ] quota_id [-c quota_file ] –G|-U|-T

The general options are described in the table below:

-h

Usage info.

-V

vzquota version info.

-v

Verbose mode.

-q

Quiet mode.

The quota_id parameter corresponds to the ID of the Container for which you wish to dump/load the quotas. Other options are the following:

-f

Dump the user/group quota information from the kernel rather than from the quota file

-c quota_file

Specifies a quota file to process other than the default quota file ( var/vzquota/quota.< CT_ID > )

-G, --grace

Dump/load user/group grace times

-U, --limits

Dump/load user/group disk limits

-T, --exptimes

Dump/load user/group expiration times

Quotas must be turned off when the vzdqload utility is working. Mind that only 2nd-level disk quotas are handled by the utilities.