Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Proxmox High Availability
  • Table Of Contents Toc
  • Feedback & Rating feedback
Proxmox High Availability

Proxmox High Availability

By : CHENG MAN
4.3 (4)
close
close
Proxmox High Availability

Proxmox High Availability

4.3 (4)
By: CHENG MAN

Overview of this book

If you want to know the secrets of virtualization and how to implement high availability on your services, this is the book for you. For those of you who are already using Proxmox, this book offers you the chance to build a high availability cluster with a distributed filesystem to further protect your system from failure.
Table of Contents (10 chapters)
close
close
9
Index

Backup process for VMs in Proxmox


From the previous chapters, we know that a VM is controlled by two different components: the configuration file and the data inside the VM (the virtual disk in a KVM and the workspace in an OpenVZ environment). In the upcoming sections, we will go through the process of backing up these two components.

Backing up the configuration files of a Proxmox cluster

In Chapter 2, Getting Started with a High Availability (HA) Environment, we mentioned where the configuration files are located.

  • For OpenVZ, the files are located at /etc/pve/nodes/${Proxmox_hostname}/openvz

  • For KVM, the files are located at /etc/pve/nodes/${Proxmox_hostname}/qemu-server

As the configuration files are only stored in plain text format, we can simply pack them up with the TAR command. For example, we issue the following commands under the Proxmox server (vmsrv01) and change their directory to /etc/pve/nodes/vmsrv01:

root@vmsrv01:/etc/pve/nodes/vmsrv01# tar –czf openvz-backup.tgz openvz
root...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY