also `pvesm set` and `pvesm add` should behave the same with
respect to how configuration options are treated
Signed-off-by: Wolfgang Bumiller
---
PVE/CLI/pvesm.pm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/PVE/CLI/pvesm.pm b/PVE/CLI/pvesm.pm
index 4f934d6..f223c92 10
Signed-off-by: Wolfgang Bumiller
---
PVE/API2/Storage/Config.pm | 61 --
PVE/Storage/CIFSPlugin.pm | 6
PVE/Storage/PBSPlugin.pm | 6 ++--
3 files changed, 41 insertions(+), 32 deletions(-)
diff --git a/PVE/API2/Storage/Config.pm b/PVE/API2/Storage/C
(And deprecate it...)
Signed-off-by: Wolfgang Bumiller
---
PVE/Storage/PBSPlugin.pm | 126 +--
1 file changed, 109 insertions(+), 17 deletions(-)
diff --git a/PVE/Storage/PBSPlugin.pm b/PVE/Storage/PBSPlugin.pm
index 092d800..31af450 100644
--- a/PVE/Storage/
This will fix the behaviour when calling `vzdump --stop` to cause all
local guests to be backed up.
When refactoring this logic in commit be308647, the assumption was that
every call will have one of the following parameters set: pool, list of
VMIDs or all (intentional or when exclude is used).
T
On 09.07.20 13:21, Aaron Lauterer wrote:
> This will fix the behaviour when calling `vzdump --stop` to cause all
> local guests to be backed up.
>
> When refactoring this logic in commit be308647, the assumption was that
> every call will have one of the following parameters set: pool, list of
> V
On 09.07.20 10:25, Wolfgang Bumiller wrote:
> (And deprecate it...)
>
> Signed-off-by: Wolfgang Bumiller
> ---
> PVE/Storage/PBSPlugin.pm | 126 +--
> 1 file changed, 109 insertions(+), 17 deletions(-)
>
>
applied series, thanks! Renamed the "encryption_key"
On 08.07.20 11:57, Stefan Reiter wrote:
> Generic interface for future use, currently used for PBS and
> dirty-bitmap backup support.
>
> Signed-off-by: Stefan Reiter
> ---
>
> v2:
> * include 'pbs' feature
>
> pve-backup.c | 8
> qapi/block-core.json | 24 +++
On 02.07.20 14:49, Oguz Bektas wrote:
> optionally enabled.
>
> adds the 'timezone' option to config, which takes a valid timezone (i.e.
> Europe/Vienna) to set in the container.
>
> if nothing is selected, then it will show as 'container managed' in
> GUI, and nothing will be done.
>
> if set t
On 08.07.20 10:42, Fabian Möller wrote:
> Restricting the defaultFocus of the edit windows to only focusable fields
> ensures that windows like "PVE -> Virtual Machine -> Manage HA", which
> has a first field of xtype "displayfield", receive focus upon opening.
>
> This allows those windows to be
On 25.06.20 13:35, Stefan Reiter wrote:
> Use the new register_format(3) call to use a validator (instead of a
> parser) for 'pve-(vm-)?cpu-conf'. This way the $cpu_fmt hash can be used for
> generating the documentation, while still applying the same verification
> rules as before.
>
> Since the
The latter was removed and replaced with a validator.
Signed-off-by: Stefan Reiter
---
Too much Rust and static compilation...
PVE/QemuMigrate.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/QemuMigrate.pm b/PVE/QemuMigrate.pm
index 96de0db..b699b67 100644
--- a/PVE/
to avoid some code duplication.
Signed-off-by: Fabian Ebner
---
PVE/VZDump.pm | 23 +--
1 file changed, 13 insertions(+), 10 deletions(-)
diff --git a/PVE/VZDump.pm b/PVE/VZDump.pm
index 601cd56e..2f509555 100644
--- a/PVE/VZDump.pm
+++ b/PVE/VZDump.pm
@@ -631,10 +631,15 @@
allows to mount bindmounts recursively. useful for mounting ZFS datasets
in containers.
Signed-off-by: Oguz Bektas
---
@wobu is unsure about the security implications of this (bindmount +
symlink + recursion), so i'm sending this first version as RFC to get
reviewed.
src/PVE/LXC.pm| 1
For the pvesm call use a wrapper and a --dry-run option to redirect
to the correct API call.
Signed-off-by: Fabian Ebner
---
Changes from v3:
* allow filtering by type
* pvesm: redirect to correct API call according to --dry-run
PVE/API2/Storage/Makefile| 2 +-
PVE/API2/Stora
Implement it for generic storages supporting backups
(i.e. directory-based storages) and add a wrapper for PBS.
Signed-off-by: Fabian Ebner
---
Changes from v3:
* prune_mark: merge loops
* allow filtering by type
* more error handling
* allow passing along a log function
* ad
Signed-off-by: Fabian Ebner
---
Changes from v3:
* use property string validator
PVE/Storage/CIFSPlugin.pm | 1 +
PVE/Storage/CephFSPlugin.pm| 1 +
PVE/Storage/DirPlugin.pm | 5 +--
PVE/Storage/GlusterfsPlugin.pm | 5 +--
PVE/Storage/NFSPlugin.pm | 5 +--
PVE/Stora
and make the two options mutally exclusive as long
as they are specified on the same level (e.g. both
from the storage configuration). Otherwise prefer
option > storage config > default (only maxfiles has a default currently).
Defines the backup limit for prune-backups as the sum of all
keep-value
A new 'prune-backups' option is introduced for storages as well as for vzdump
Patches #1-#3 introduces prune-backups in the backend
Patch #4 introduces the new vzdump parameter
Patch #6 is the 'real' change needed for vzdump.
Patch #7 gets rid of 'maxfiles' internally, re-using 'prune-backups' ins
For the use case with '--dumpdir', it's not possible to call prune_backups
directly, so a little bit of special handling is required there.
Signed-off-by: Fabian Ebner
---
PVE/VZDump.pm | 42 --
1 file changed, 16 insertions(+), 26 deletions(-)
diff --git
Signed-off-by: Fabian Ebner
---
New in v4
PVE/VZDump/Common.pm | 4
1 file changed, 4 insertions(+)
diff --git a/PVE/VZDump/Common.pm b/PVE/VZDump/Common.pm
index 909e3af..2f3c16e 100644
--- a/PVE/VZDump/Common.pm
+++ b/PVE/VZDump/Common.pm
@@ -210,6 +210,10 @@ my $confdesc = {
mi
On 09.07.20 14:41, Stefan Reiter wrote:
> The latter was removed and replaced with a validator.
>
> Signed-off-by: Stefan Reiter
> ---
>
> Too much Rust and static compilation...
>
> PVE/QemuMigrate.pm | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>
applied, thanks!
___
Do not try to scan (and thus activate) storages which aren't
configured to support (or cannot support) "vdisks" anyway.
Avoids seemingly strange failures of VM migrations due to a backup storage
not being currently online - even if that storage isn't referenced in
the VM config anywhere..
Signed-
The stop-mode case only worked by luck as then $snapdir == $rootdir.
But for snapshots we rsync over a clean state to a separate
directory, so this has to be used as base for the backup (just like
tar does).
Signed-off-by: Thomas Lamprecht
---
src/PVE/VZDump/LXC.pm | 6 +++---
1 file changed, 3
On 07.07.20 11:48, Aaron Lauterer wrote:
> This series add a new detail view for backup jobs to show which volumes
> of a guest would be included.
>
> Additionally it adds a notification if there are any guests not covered
> by any backup job with a new window showing these guests. This is to fix
24 matches
Mail list logo