]> git.proxmox.com Git - pve-docs.git/blame - gen-vzdump.conf.5-opts.pl
pct.adoc: mention vzdump
[pve-docs.git] / gen-vzdump.conf.5-opts.pl
CommitLineData
d083d3d3
DM
1#!/usr/bin/perl
2
3use lib '.';
4use strict;
5use warnings;
6use PVE::RESTHandler;
7use PVE::VZDump;
8
9my $prop = PVE::VZDump::json_config_properties();
10my $skip = {
11 all => 1,
12 exclude => 1,
13 vmid => 1,
14 node => 1,
15 quiet => 1,
16 size => 1,
17 stop => 1,
18};
19
20my $filterFn = sub {
21 my ($k, $phash) = @_;
22
23 return $skip->{$k} || 0;
24};
25
26print PVE::RESTHandler::dump_properties($prop, 'asciidoc', 'config', $filterFn);