How to backup full disk to image?

akong

Well-Known Member
Oct 15, 2018
87
1
48
46
Hello,
I want to backup full disk to image.Have any solution to do it?
I has tested clonezilla to backup it.But it's will failed when final ready to backup it.It's will show lvm directory not exits.
 
Filezilla was working fine here. In case you already got a PBS, the proxmox-backup-client can be used for that too.
 
Hello,
Filezilla is ftp client.I mean clonezilla.It's backup linux tools.
I want backup full diskto image.Because two reason.
1. If proxmox ve system disk break.I can restore to new hard disk.
2. I want migration old disk to new disk.
I know proxmox backup client.I also use it to backup vm.But I need backup proxmox system.
 
Hello,
Filezilla is ftp client.I mean clonezilla.It's backup linux tools.
Sorry, clonezilla not filezilla.
I know proxmox backup client.I also use it to backup vm.But I need backup proxmox system.
The proxmox-backup-client can backup any file/folder or block device. So you can use it to backup any disk on block level and store it on a PBS. Just make sure to run it from a booted Debian usb stick so the PVE system disk isn't in use when you back it up.
 
Last edited:
so the PVE system disk isn't in use when you back it up.
Just to be sure: This implies offline time. You cannot backup a running OS from within without any type of snapshotting. This heavily depends on the guest OS and is therefore not a problem of the backup solution, but from the guest itself.
 
Just to be sure: This implies offline time. You cannot backup a running OS from within without any type of snapshotting. This heavily depends on the guest OS and is therefore not a problem of the backup solution, but from the guest itself.
Jup, thats why you boot the server from the Debian USB stick. Its annoying to reboot the server each time you want to back it up but still worth it. Saves alot of work and time if you really need to restore your PVE because the ZFS mirror failed or a PVE major upgrade itsn't working with the hardware anymore (and you can't downgrade PVE). So I don't do the full systemdisk backups that often (only after a big hardware/software change) but in addition to that I also use the proxmox-backup-client on a daily basis while PVE is running to backup the important system folders like "/etc".
So I could first restore the possibly old system disk image and then restore the latest config files after that.
 
Because I need migration from old PVE HDD to new HDD or full backup PVE system to image.I must have any solution.
 
Clonezilla has difficulties in handling the partitions of vm created, say it it confusesd by the vg created by a ubuntu vm.
i don't know why it is the case, what I image is clonezilla just do the byte-to-byte cloning but seems its not. It will try to copy the GPT/MBR first, then copy partitions one by one. But in my case it has errors.