Backup Fehler LXC Container im laufenden Betrieb

Guybrush

Active Member
Jul 23, 2019
54
4
28
45
Germany
Hi,

leider ist es nicht möglich bei einem LXC Container im laufenden Betrieb ein Backup zu machen.
Stoppe ich den Container, geht das Backup. Gehe ich richtig der Annahme das es ohen den LXC zu stoppen nicht möglich ist?

Code:
INFO: starting first sync /proc/30696/root// to /mnt/pve/Backups/dump/vzdump-lxc-102-2019_11_25-00_25_15.tmp
INFO: rsync: chown "/mnt/pve/Backups/dump/vzdump-lxc-102-2019_11_25-00_25_15.tmp/." failed: Operation not permitted (1)
INFO: rsync: chown "/mnt/pve/Backups/dump/vzdump-lxc-102-2019_11_25-00_25_15.tmp/bin" failed: Operation not permitted (1)
INFO: rsync: chown "/mnt/pve/Backups/dump/vzdump-lxc-102-2019_11_25-00_25_15.tmp/bin/bzcmp" failed: Operation not permitted (1)
INFO: rsync: chown "/mnt/pve/Backups/dump/vzdump-lxc-102-2019_11_25-00_25_15.tmp/bin/bzegrep" failed: Operation not permitted (1)
INFO: rsync: chown "/mnt/pve/Backups/dump/vzdump-lxc-102-2019_11_25-00_25_15.tmp/bin/bzfgrep" failed: Operation not permitted (1)
INFO: rsync: chown "/mnt/pve/Backups/dump/vzdump-lxc-102-2019_11_25-00_25_15.tmp/bin/bzless" failed: Operation not permitted (1)
INFO: rsync: chown "/mnt/pve/Backups/dump/vzdump-lxc-102-2019_11_25-00_25_15.tmp/bin/dnsdomainname" failed: Operation not permitted (1)
INFO: rsync: chown "/mnt/pve/Backups/dump/vzdump-lxc-102-2019_11_25-00_25_15.tmp/bin/domainname" failed: Operation not permitted (1)
INFO: rsync: chown "/mnt/pve/Backups/dump/vzdump-lxc-102-2019_11_25-00_25_15.tmp/bin/lessfile" failed: Operation not permitted (1)
INFO: rsync: chown "/mnt/pve/Backups/dump/vzdump-lxc-102-2019_11_25-00_25_15.tmp/bin/lsmod" failed: Operation not permitted (1)
INFO: rsync: chown "/mnt/pve/Backups/dump/vzdump-lxc-102-2019_11_25-00_25_15.tmp/bin/mt" failed: Operation not permitted (1)
INFO: rsync: chown "/mnt/pve/Backups/dump/vzdump-lxc-102-2019_11_25-00_25_15.tmp/bin/nc" failed: Operation not permitted (1)
INFO: rsync: chown "/mnt/pve/Backups/dump/vzdump-lxc-102-2019_11_25-00_25_15.tmp/bin/netcat" failed: Operation not permitted (1)
INFO: rsync: chown "/mnt/pve/Backups/dump/vzdump-lxc-102-2019_11_25-00_25_15.tmp/bin/nisdomainname" failed: Operation not permitted (1)
INFO: rsync: chown "/mnt/pve/Backups/dump/vzdump-lxc-102-2019_11_25-00_25_15.tmp/bin/pidof" failed: Operation not permitted (1)
INFO: rsync: chown "/mnt/pve/Backups/dump/vzdump-lxc-102-2019_11_25-00_25_15.tmp/bin/ping4" failed: Operation not permitted (1)
INFO: rsync: chown "/mnt/pve/Backups/dump/vzdump-lxc-102-2019_11_25-00_25_15.tmp/bin/ping6" failed: Operation not permitted (1)
INFO: rsync: chown "/mnt/pve/Backups/dump/vzdump-lxc-102-2019_11_25-00_25_15.tmp/bin/rbash" failed: Operation not permitted (1)
INFO: rsync: chown "/mnt/pve/Backups/dump/vzdump-lxc-102-2019_11_25-00_25_15.tmp/bin/rnano" failed: Operation not permitted (1)
INFO: rsync: chown "/mnt/pve/Backups/dump/vzdump-lxc-102-2019_11_25-00_25_15.tmp/bin/sh" failed: Operation not permitted (1)
INFO: rsync: chown "/mnt/pve/Backups/dump/vzdump-lxc-102-2019_11_25-00_25_15.tmp/bin/static-sh" failed: Operation not permitted (1)
INFO: rsync: chown "/mnt/pve/Backups/dump/vzdump-lxc-102-2019_11_25-00_25_15.tmp/bin/systemd" failed: Operation not permitted (1)
INFO: rsync: chown "/mnt/pve/Backups/dump/vzdump-lxc-102-2019_11_25-00_25_15.tmp/bin/ypdomainname" failed: Operation not permitted (1)
 
hi,

is Backups an NFS server?

you might have to add no_root_squash option on your NFS server
 
Möchte mich hier mal anhängen zu der Frage mit dem Backup von LXC Container. Bei mir liegen sie nicht in einem NFS sondern auf dem Storage wo auch Proxmox als Raid1 installiert ist. Muss man dann die LXC Container herunterfahren für das Backup?
 
Muss man dann die LXC Container herunterfahren für das Backup?
nein, muss man nicht

Bei mir liegen sie nicht in einem NFS sondern auf dem Storage wo auch Proxmox als Raid1 installiert ist.

ich hab den storage Backup gemeint. was für ein storage ist dies?

außerdem, probier mal in /etc/vzdump.conf die tmpdir option zu setzen. das könnte den fehler beheben.
 
Ok Danke für die Antwort! Vielleicht habe ich mich jetzt ein wenig falsch ausgedrückt, ich meinte mein System ist Proxmox 5.4 mit 2 x 2TB HDD wo Proxmox in einem Raid1 LVM installiert ist und auch dort alles unter local liegt auch VZDump backup