Backup

Notlucas

New Member
Dec 30, 2025
5
0
1
Germany
Hallo ich habe mir vor kurzem pbs aufgesetzt und möchte nun auch pbs backupen da man dies allerdings ja nicht mit pbs selbst machen kann habe ich versucht einen normalen Backup Job welcher das ganze lokal speichert zu Erstellern.

Allerdings funktioniert dies nicht es bleibt immer bei der pbs vm hängen
 
Das sollte eigentlich funktionieren. Kannst du bitte den Backup Log sowie folgendes in einem Code Block (wie ich hier) teilen
Bash:
cat /etc/pve/storage.cfg
cat /etc/pve/jobs.cfg

# Falls VM
qm config PBSIDHIER

# Falls CT
pct config PBSIDHIER
 
Last edited:
INFO: starting new backup job: vzdump 20001 --mode snapshot --node pve --compress zstd --notification-mode notification-system --fleecing 0 --notes-template '{{guestname}}' --storage backup --all 0
INFO: Starting Backup of VM 20001 (lxc)
INFO: Backup started at 2025-12-30 17:43:35
INFO: status = running
INFO: CT Name: pbs-prod-1
INFO: including mount point rootfs ('/') in backup
INFO: including mount point mp0 ('/mnt/backup') in backup
INFO: mode failure - some volumes do not support snapshots
INFO: trying 'suspend' mode instead
INFO: backup mode: suspend
INFO: ionice priority: 7
INFO: CT Name: pbs-prod-1
INFO: including mount point rootfs ('/') in backup
INFO: including mount point mp0 ('/mnt/backup') in backup
INFO: starting first sync /proc/5732/root/ to /mnt/pve/backup/dump/vzdump-lxc-20001-2025_12_30-17_43_35.tmp
It’s just this and then nothing more is happening
 
Das sollte eigentlich funktionieren. Kannst du bitte den Backup Log sowie folgendes in einem Code Block (wie ich hier) teilen
Bash:
cat /etc/pve/storage.cfg
cat /etc/pve/jobs.cfg

# Falls VM
qm config PBSIDHIER

# Falls CT
pct config PBSIDHIER
Ich hoffe du meintest es so

Und ich habe meinen Backup Job nachts und es war noch genau so heute Früh
 
Das ist ein Zitat. Code Blöcke erstellt man hier1767113163624.png
Bitte teile auch die anderen Informationen.
 
root@pve:~# pct config 20001
arch: amd64
cores: 4
description: <div align='center'>%0A <a href='https%3A//Helper-Scripts.com' target='_blank' rel='noopener noreferrer'>%0A <img src='https%3A//raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/images/logo-81x112.png' alt='Logo' style='width%3A81px;height%3A112px;'/>%0A </a>%0A%0A <h2 style='font-size%3A 24px; margin%3A 20px 0;'>Proxmox-Backup-Server LXC</h2>%0A%0A <p style='margin%3A 16px 0;'>%0A <a href='https%3A//ko-fi.com/community_scripts' target='_blank' rel='noopener noreferrer'>%0A <img src='https%3A//img.shields.io/badge/&#x2615;-Buy us a coffee-blue' alt='spend Coffee' />%0A </a>%0A </p>%0A%0A <span style='margin%3A 0 10px;'>%0A <i class="fa fa-github fa-fw" style="color%3A #f5f5f5;"></i>%0A <a href='https%3A//github.com/community-scripts/ProxmoxVE' target='_blank' rel='noopener noreferrer' style='text-decoration%3A none; color%3A #00617f;'>GitHub</a>%0A </span>%0A <span style='margin%3A 0 10px;'>%0A <i class="fa fa-comments fa-fw" style="color%3A #f5f5f5;"></i>%0A <a href='https%3A//github.com/community-scripts/ProxmoxVE/discussions' target='_blank' rel='noopener noreferrer' style='text-decoration%3A none; color%3A #00617f;'>Discussions</a>%0A </span>%0A <span style='margin%3A 0 10px;'>%0A <i class="fa fa-exclamation-circle fa-fw" style="color%3A #f5f5f5;"></i>%0A <a href='https%3A//github.com/community-scripts/ProxmoxVE/issues' target='_blank' rel='noopener noreferrer' style='text-decoration%3A none; color%3A #00617f;'>Issues</a>%0A </span>%0A</div>%0A
features: nesting=1
hostname: pbs-prod-1
lock: backup
memory: 2048
mp0: backup:20001/vm-20001-disk-0.raw,mp=/mnt/backup,backup=1,size=1000G
net0: name=eth0,bridge=vmbr0,gw=10.1.1.1,hwaddr=BC:24:11:6A:0A:D1,ip=10.1.1.112/8,ip6=dhcp,type=veth
onboot: 1
ostype: debian
rootfs: data-pool:subvol-20001-disk-0,size=10G
swap: 512
tags: backup;community-script
timezone: Europe/Berlin
lxc.cgroup2.devices.allow: a
lxc.cap.drop:
lxc.cgroup2.devices.allow: c 188:* rwm
lxc.cgroup2.devices.allow: c 189:* rwm
lxc.mount.entry: /dev/serial/by-id dev/serial/by-id none bind,optional,create=dir
lxc.mount.entry: /dev/ttyUSB0 dev/ttyUSB0 none bind,optional,create=file
lxc.mount.entry: /dev/ttyUSB1 dev/ttyUSB1 none bind,optional,create=file
lxc.mount.entry: /dev/ttyACM0 dev/ttyACM0 none bind,optional,create=file
lxc.mount.entry: /dev/ttyACM1 dev/ttyACM1 none bind,optional,create=file
root@pve:~# cat /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content vztmpl,iso
shared 0

zfspool: local-zfs
disable
pool rpool/data
content rootdir,images
sparse 1

dir: backup
path /mnt/pve/backup
content backup,iso,rootdir,vztmpl,snippets,images
is_mountpoint 1
nodes pve

zfspool: data-pool
pool data-pool
content rootdir,images
mountpoint /data-pool
sparse 0

pbs: pbs-server
datastore backup
server 10.1.1.112
content backup
fingerprint d8:68:70:e0:0c:be:51:4e:5e:3e:14:3b:c2:49:a6:f3:fe:82:ab:eb:8d:4d:54:78:f4:4e:c8:a3:b0:c1:c9:55
prune-backups keep-all=1
username root@pam

root@pve:~# cat /etc/pve/jobs.cfg
vzdump: backup-c0df51cb-c565
schedule 00:00
all 1
compress zstd
enabled 1
exclude 203,202,201,20001
fleecing 0
mode snapshot
notes-template {{guestname}}
notification-mode notification-system
prune-backups keep-daily=10
storage pbs-server

vzdump: backup-6d675826-1e5d
schedule 21:00
compress zstd
enabled 1
fleecing 0
mode snapshot
notes-template {{guestname}}
notification-mode notification-system
prune-backups keep-daily=3,keep-last=10,keep-monthly=3,keep-weekly=3,keep-yearly=1
storage backup
vmid 102,101,105

vzdump: backup-f2af3c15-f14f
schedule yearly
compress zstd
enabled 1
fleecing 0
mode snapshot
notes-template {{guestname}}
notification-mode notification-system
repeat-missed 0
storage backup
vmid 20001

root@pve:~#
Das ist ein Zitat. Code Blöcke erstellt man hierView attachment 94460
Bitte teile auch die anderen Informationen.
Ich hoffe das passt so und das ich nichts geteilt habe was man nicht teilen sollte
 
Das ist erneut ein Zitat. Dort wird die Formatierung nicht behalten und dadurch liest sich obiges extrem anstrengend. Ich nehme mal and dass /mnt/backup ziemlich groß ist bzw. viele Dateien hat und das dadurch einfach etwas dauert. Bist du sicher, dass du das mit im Backup haben willst?
 
Das ist erneut ein Zitat. Dort wird die Formatierung nicht behalten und dadurch liest sich obiges extrem anstrengend. Ich nehme mal and dass /mnt/backup ziemlich groß ist bzw. viele Dateien hat und das dadurch einfach etwas dauert. Bist du sicher, dass du das mit im Backup haben willst?
Der pbs läuft wie gesagt in einer vm also wenn da was schiefläuft oder so oder wie sollte ich es am besten machen?
 
Laut dem was ich sehe ist dein PBS ein CT, keine VM. Die Idee ist, dass du das Backup für mp0 deaktivierst und schaust ob sich etwas ändert.