---
Note: this should not affect many people..

 src/PVE/LXC/Create.pm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/PVE/LXC/Create.pm b/src/PVE/LXC/Create.pm
index 60470b1..ec6d2e5 100644
--- a/src/PVE/LXC/Create.pm
+++ b/src/PVE/LXC/Create.pm
@@ -122,6 +122,13 @@ sub recover_config {
            if ($mountpoint->{type} eq 'volume') {
                $mp_param->{$ms} = $conf->{$ms};
            } else {
+               my $type = $mountpoint->{type};
+               if ($mountpoint->{backup}) {
+                   warn "WARNING - unsupported configuration!\n";
+                   warn "backup was enabled for $type mountpoint $ms 
('$mountpoint->{mp}')\n";
+                   warn "mountpoint configuration will be restored after 
archive extraction!\n";
+                   warn "contained files will be restored to wrong 
directory!\n";
+               }
                $delayed_mp_param->{$ms} = $conf->{$ms};
            }
        });
-- 
2.1.4


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to