* [PVE-User] Backup of all Containers and KVM @ 2023-09-29 7:53 sebastian 2023-09-29 8:24 ` Lukas Wagner [not found] ` <mailman.298.1695976073.312.pve-user@lists.proxmox.com> 0 siblings, 2 replies; 6+ messages in thread From: sebastian @ 2023-09-29 7:53 UTC (permalink / raw) To: pve-user Hi, if i want to get a full backup - can i copy the 100,101... folders complete to the backup server to get the data for an emergency restore later? Or is it required to use the internal backup function to get Backup files from containers and KVM and copy the dump-directory to the backup server? tnx Sebastian ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PVE-User] Backup of all Containers and KVM 2023-09-29 7:53 [PVE-User] Backup of all Containers and KVM sebastian @ 2023-09-29 8:24 ` Lukas Wagner 2023-09-29 11:43 ` sebastian [not found] ` <mailman.298.1695976073.312.pve-user@lists.proxmox.com> 1 sibling, 1 reply; 6+ messages in thread From: Lukas Wagner @ 2023-09-29 8:24 UTC (permalink / raw) To: Proxmox VE user list, sebastian On 9/29/23 09:53, sebastian@debianfan.de wrote: > Hi, > > if i want to get a full backup - can i copy the 100,101... folders complete to the backup server to get the data for an emergency restore later? > > Or is it required to use the internal backup function to get Backup files from containers and KVM and copy the dump-directory to the backup server? > I'd recommend using PVE's backup function, it includes everything needed to fully restore the VM/CT. If you need to automate that from a script, you can use the `vzdump` command (check `man vzdump` or [1] for instructions). You can then copy the backup files from the dump directory. You could also add the backup server as a storage (NFS or SMB) [2], then you can backup to the server directly, without having to copy the backup archives. The '100, 101' folders - by which I think you mean the directories in /etc/pve/{qemu,lxc} only contain the configuration files for the VM/CT, but not the disk image. Of course, you can back them up manually and then dump the disk image as well, but like I said, unless you have a very good reason against PVE's native backup system (vzdump), I'd recommend using that. It might also be worth checking out Proxmox Backup Server, which has the additional benefit of offering deduplication, encryption, live-restore and much more. [1] https://pve.proxmox.com/pve-docs/vzdump.1.html [2] https://pve.proxmox.com/pve-docs/pve-admin-guide.html#chapter_storage -- - Lukas ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PVE-User] Backup of all Containers and KVM 2023-09-29 8:24 ` Lukas Wagner @ 2023-09-29 11:43 ` sebastian 2023-09-29 11:50 ` Lukas Wagner 2023-09-29 11:50 ` Gilberto Ferreira 0 siblings, 2 replies; 6+ messages in thread From: sebastian @ 2023-09-29 11:43 UTC (permalink / raw) To: Lukas Wagner, Proxmox VE user list Thx - i know how to use the vzdump-tool - but the last backup of an lxc-container (500 GB) runs about 10 hours by using vzdump :-( Am 29.09.2023 um 10:24 schrieb Lukas Wagner: > > > On 9/29/23 09:53, sebastian@debianfan.de wrote: >> Hi, >> >> if i want to get a full backup - can i copy the 100,101... folders >> complete to the backup server to get the data for an emergency >> restore later? >> >> Or is it required to use the internal backup function to get Backup >> files from containers and KVM and copy the dump-directory to the >> backup server? >> > > I'd recommend using PVE's backup function, it includes everything needed > to fully restore the VM/CT. If you need to automate that from a script, > you can use the `vzdump` command (check `man vzdump` or [1] for > instructions). > You can then copy the backup files from the dump directory. You could > also add the backup server as a storage (NFS or SMB) [2], then you can > backup to the server directly, without having to copy the backup > archives. > > The '100, 101' folders - by which I think you mean the directories in > /etc/pve/{qemu,lxc} only contain the configuration files for the VM/CT, > but not the disk image. Of course, you can back them up manually and > then dump the disk image as well, but like I said, unless you have a > very good reason against PVE's native backup system (vzdump), I'd > recommend using that. > > It might also be worth checking out Proxmox Backup Server, which has the > additional benefit of offering deduplication, encryption, live-restore > and much more. > > [1] https://pve.proxmox.com/pve-docs/vzdump.1.html > [2] https://pve.proxmox.com/pve-docs/pve-admin-guide.html#chapter_storage > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PVE-User] Backup of all Containers and KVM 2023-09-29 11:43 ` sebastian @ 2023-09-29 11:50 ` Lukas Wagner 2023-09-29 11:50 ` Gilberto Ferreira 1 sibling, 0 replies; 6+ messages in thread From: Lukas Wagner @ 2023-09-29 11:50 UTC (permalink / raw) To: sebastian, Proxmox VE user list On 9/29/23 13:43, sebastian@debianfan.de wrote: > Thx - i know how to use the vzdump-tool - but the last backup of an > lxc-container (500 GB) runs about 10 hours by using vzdump :-( > What kind of storage do you use? That sounds awfully long for 500GB. As a side note: This is also a point where Proxmox Backup Server comes in handy, at least for VMs: There we have something that is called a 'dirty bitmap' - essentially QEMU tracks which parts of the disks have been written to since the last backup. This significantly speeds up further backups. However, as mentioned, this is only available for VMs, not LXC containers. -- - Lukas ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PVE-User] Backup of all Containers and KVM 2023-09-29 11:43 ` sebastian 2023-09-29 11:50 ` Lukas Wagner @ 2023-09-29 11:50 ` Gilberto Ferreira 1 sibling, 0 replies; 6+ messages in thread From: Gilberto Ferreira @ 2023-09-29 11:50 UTC (permalink / raw) To: sebastian, Proxmox VE user list Yes. Vzdump is rather slow. You can try tweak /etc/vzdump.conf and set the tmp directory. But still, it's slow compared to PBS and there are no incremental backups. Not at all, since PBS use deduplication. --- Gilberto Nunes Ferreira (47) 99676-7530 - Whatsapp / Telegram Em sex., 29 de set. de 2023 às 08:44, sebastian@debianfan.de < sebastian@debianfan.de> escreveu: > Thx - i know how to use the vzdump-tool - but the last backup of an > lxc-container (500 GB) runs about 10 hours by using vzdump :-( > > > > Am 29.09.2023 um 10:24 schrieb Lukas Wagner: > > > > > > On 9/29/23 09:53, sebastian@debianfan.de wrote: > >> Hi, > >> > >> if i want to get a full backup - can i copy the 100,101... folders > >> complete to the backup server to get the data for an emergency > >> restore later? > >> > >> Or is it required to use the internal backup function to get Backup > >> files from containers and KVM and copy the dump-directory to the > >> backup server? > >> > > > > I'd recommend using PVE's backup function, it includes everything needed > > to fully restore the VM/CT. If you need to automate that from a script, > > you can use the `vzdump` command (check `man vzdump` or [1] for > > instructions). > > You can then copy the backup files from the dump directory. You could > > also add the backup server as a storage (NFS or SMB) [2], then you can > > backup to the server directly, without having to copy the backup > > archives. > > > > The '100, 101' folders - by which I think you mean the directories in > > /etc/pve/{qemu,lxc} only contain the configuration files for the VM/CT, > > but not the disk image. Of course, you can back them up manually and > > then dump the disk image as well, but like I said, unless you have a > > very good reason against PVE's native backup system (vzdump), I'd > > recommend using that. > > > > It might also be worth checking out Proxmox Backup Server, which has the > > additional benefit of offering deduplication, encryption, live-restore > > and much more. > > > > [1] https://pve.proxmox.com/pve-docs/vzdump.1.html > > [2] > https://pve.proxmox.com/pve-docs/pve-admin-guide.html#chapter_storage > > > > _______________________________________________ > pve-user mailing list > pve-user@lists.proxmox.com > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user > ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <mailman.298.1695976073.312.pve-user@lists.proxmox.com>]
* Re: [PVE-User] Backup of all Containers and KVM [not found] ` <mailman.298.1695976073.312.pve-user@lists.proxmox.com> @ 2023-09-29 11:30 ` Gilberto Ferreira 0 siblings, 0 replies; 6+ messages in thread From: Gilberto Ferreira @ 2023-09-29 11:30 UTC (permalink / raw) To: Proxmox VE user list Proxmox Backup Server +1 --- Gilberto Nunes Ferreira (47) 99676-7530 - Whatsapp / Telegram Em sex., 29 de set. de 2023 às 05:27, Eneko Lacunza via pve-user < pve-user@lists.proxmox.com> escreveu: > > > > ---------- Forwarded message ---------- > From: Eneko Lacunza <elacunza@binovo.es> > To: pve-user@lists.proxmox.com > Cc: > Bcc: > Date: Fri, 29 Sep 2023 10:27:12 +0200 > Subject: Re: [PVE-User] Backup of all Containers and KVM > Hi Sebastian, > > El 29/9/23 a las 9:53, sebastian@debianfan.de escribió: > > if i want to get a full backup - can i copy the 100,101... folders > complete to the backup server to get the data for an emergency restore > later? > > > > Or is it required to use the internal backup function to get Backup > files from containers and KVM and copy the dump-directory to the backup > server? > > > > Use the backup function, as it is foolproof. > > To make a backup manually, you must copy .conf files from > /etc/pve/qemu-server , and at least copy virtual disk files, that may be > in a directory or not depending on the storage type. There could be > other caveheats. > > The built-in backup resolves all that for you :) > > Cheers > > Eneko Lacunza > Zuzendari teknikoa | Director técnico > Binovo IT Human Project > > Tel. +34 943 569 206 | https://www.binovo.es > Astigarragako Bidea, 2 - 2º izda. Oficina 10-11, 20180 Oiartzun > > https://www.youtube.com/user/CANALBINOVO > https://www.linkedin.com/company/37269706/ > > > > > > ---------- Forwarded message ---------- > From: Eneko Lacunza via pve-user <pve-user@lists.proxmox.com> > To: pve-user@lists.proxmox.com > Cc: Eneko Lacunza <elacunza@binovo.es> > Bcc: > Date: Fri, 29 Sep 2023 10:27:12 +0200 > Subject: Re: [PVE-User] Backup of all Containers and KVM > _______________________________________________ > pve-user mailing list > pve-user@lists.proxmox.com > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user > ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-09-29 11:51 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2023-09-29 7:53 [PVE-User] Backup of all Containers and KVM sebastian 2023-09-29 8:24 ` Lukas Wagner 2023-09-29 11:43 ` sebastian 2023-09-29 11:50 ` Lukas Wagner 2023-09-29 11:50 ` Gilberto Ferreira [not found] ` <mailman.298.1695976073.312.pve-user@lists.proxmox.com> 2023-09-29 11:30 ` Gilberto Ferreira
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox