个人工具
登录
查看“UbuntuHelp:OpenVZ/VZDump”的源代码 - Ubuntu中文
UbuntuHelp
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“UbuntuHelp:OpenVZ/VZDump”的源代码
来自Ubuntu中文
←
UbuntuHelp:OpenVZ/VZDump
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
{{From|https://help.ubuntu.com/community/OpenVZ/VZDump}} {{Languages|UbuntuHelp:OpenVZ/VZDump}} == Introduction == `VZDump` is a utility to make consistent snapshots of running [[UbuntuHelp:OpenVZ|OpenVZ]] containers. It basically creates a tar archive of the container's private area, which also includes the CT configuration files. === Download === VZDump can be obtained from [http://www.proxmox.com/cms_proxmox/en/technology/oss-software/openvz/ Proxmox website]. === Usage === `vzdump` can create backups in several ways. To get all available options, use: <pre><nowiki> # vzdump usage: /usr/sbin/vzdump OPTIONS [--all | VPSID] --exclude VPSID exclude VPSID (assumes --all) --exclude-path REGEX exclude certain files/directories --stdexcludes exclude temorary files and logs --compress compress dump file (gzip) --dumpdir DIR store resulting files in DIR --tmpdir DIR store temporary files in DIR --mailto EMAIL send notification mail to EMAIL. --quiet be quiet. --stop stop/start VPS if running --suspend suspend/resume VPS when running --snapshot use LVM snapshot when running --size MB LVM snapshot size --node CID only run on pve cluster node CID --lockwait MINUTES maximal time to wait for the global lock --stopwait MINUTES maximal time to wait until a VM is stopped --bwlimit KBPS limit I/O bandwidth; KBytes per second --restore FILENAME restore FILENAME </nowiki></pre> === Special notes on LVM based deployments === `vzdump` is able to backup the running containers with 0 downtime once using lvm snapshots capabilities. Use: `--suspend` option to enable the use of the lvm snapshots. (!) Warrning: to be able to use `--suspend` option, you should have the `--dumpdir` argument pointing to a location different from the current LVM VG. Also, you should leave at least 512Mb (1G will surely be fine) of free space inside the containers LVM VG. Otherwise you won't be able to get `--suspend` for backups. [[category:UbuntuHelp]]
该页面使用的模板:
模板:From
(
查看源代码
)
模板:Languages
(
查看源代码
)(受保护)
模板:Languages/Lang
(
查看源代码
)(受保护)
返回至
UbuntuHelp:OpenVZ/VZDump
。