Backup dauert extrem lange

Jul 12, 2022
33
0
6
Guten Tag zusammen,

ich habe eine VM, von der ich täglich um 23 Uhr ein Backup auf eine StorageBox bei Hetzner mache.
Ich habe nun festgestellt, dass das Backup mehr als 9 Stunden dauert.
Kann mir jemand erklären, warum das Backup so lange dauert? Hat jemand ähnliche Erfahrungen gemacht oder Ideen, wie ich die Dauer des Backups verkürzen kann?

Danke im Voraus!

Weitere Infos:
Größe des Backups: 107 GB
Format: vma.zst
Log:
NFO: 100% (332.0 GiB of 332.0 GiB) in 9h 53m 40s, read: 12.6 MiB/s, write: 7.9 MiB/s
INFO: backup is sparse: 150.13 GiB (45%) total zero data
INFO: transferred 332.00 GiB in 35620 seconds (9.5 MiB/s)
INFO: archive file size: 100.25GB
INFO: adding notes to backup
INFO: Finished Backup of VM 1100 (09:55:47)
INFO: Backup finished at 2024-03-27 06:55:50
INFO: Backup job finished successfully
TASK OK

proxmox-backup-client benchmark:
SHA256 speed: 603.85 MB/s
Compression speed: 658.13 MB/s
Decompress speed: 949.16 MB/s
AES256/GCM speed: 2167.78 MB/s
Verify speed: 367.84 MB/s
 
Über welches Protokoll hast du die SB angebunden? Einige Protokolle laufen nur auf Single Core und limitieren schon mal, außerdem ist die SB auch nicht superschnell, vor allem zu den Zeiten wo alle Leute ihre Backups uploaden.
 
Ich hoffe du hast die Verbindung auf SMB3 encrypted limitiert. Eigentlich sollte das vernünftig laufen, hast du mal einen Upload einer großen Datei, wie z.B. ein iso vom PVE zur SB getestet?
Kann ich die Verbindung auf SMB3 über die GUI begrenzen? Ich erinnere mich nicht, eine solche Option gesehen zu haben. Ich versuche mal, ein Backup auf der Festplatte zu erstellen. Vielleicht liegt das Problem nicht beim Upload, sondern beim Erstellen des Backups.
 
Lokal funktioniert der Backup nicht:

INFO: starting new backup job: vzdump 1100 --quiet 1 --notes-template '{{guestname}}' --compress zstd --storage local --mailnotification always --node Px93 --mode snapshot
INFO: Starting Backup of VM 1100 (qemu)
INFO: Backup started at 2024-03-27 21:00:02
INFO: status = running
INFO: VM Name: Vm_Machine
INFO: include disk 'scsi0' 'local-zfs:vm-1100-disk-0' 332G
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: creating vzdump archive '/var/lib/vz/dump/vzdump-qemu-1100-2024_03_27-21_00_02.vma.zst'
INFO: issuing guest-agent 'fs-freeze' command
INFO: issuing guest-agent 'fs-thaw' command
INFO: started backup task 'a8635aba-cb3a-4791-bd14-164c5633d673'
INFO: resuming VM again
INFO: 0% (2.0 GiB of 332.0 GiB) in 3s, read: 688.8 MiB/s, write: 185.6 MiB/s
INFO: 1% (4.6 GiB of 332.0 GiB) in 6s, read: 864.8 MiB/s, write: 143.4 MiB/s
INFO: 3% (12.8 GiB of 332.0 GiB) in 9s, read: 2.8 GiB/s, write: 70.4 MiB/s
INFO: 6% (20.3 GiB of 332.0 GiB) in 12s, read: 2.5 GiB/s, write: 64.0 MiB/s
INFO: 8% (29.7 GiB of 332.0 GiB) in 15s, read: 3.1 GiB/s, write: 77.2 MiB/s
INFO: 10% (35.8 GiB of 332.0 GiB) in 18s, read: 2.1 GiB/s, write: 77.3 MiB/s
INFO: 11% (36.6 GiB of 332.0 GiB) in 21s, read: 258.5 MiB/s, write: 179.0 MiB/s
INFO: 12% (39.9 GiB of 332.0 GiB) in 27s, read: 562.9 MiB/s, write: 212.0 MiB/s
INFO: 13% (43.3 GiB of 332.0 GiB) in 38s, read: 314.2 MiB/s, write: 186.5 MiB/s
INFO: 14% (46.6 GiB of 332.0 GiB) in 52s, read: 246.2 MiB/s, write: 137.8 MiB/s
INFO: 15% (49.9 GiB of 332.0 GiB) in 1m 7s, read: 226.6 MiB/s, write: 170.9 MiB/s
INFO: 16% (53.2 GiB of 332.0 GiB) in 1m 24s, read: 197.7 MiB/s, write: 139.0 MiB/s
INFO: 17% (56.6 GiB of 332.0 GiB) in 1m 42s, read: 189.8 MiB/s, write: 131.9 MiB/s
ERROR: VM 1100 not running
INFO: aborting backup job
ERROR: VM 1100 not running
INFO: resuming VM again
ERROR: Backup of VM 1100 failed - VM 1100 not running
INFO: Failed at 2024-03-27 21:01:57
INFO: Backup job finished with errors
TASK ERROR: job errors
 
Na dann schau mal hier: "include disk 'scsi0' 'local-zfs:vm-1100-disk-0' 332G"
Was soll im Root 332 GByte belegen?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!