Backup and Restore Proxmox with Veeam Backup and Replication 12.2

1. Prerequisites:

  • A Proxmox VE cluster or standalone Proxmox server running.
  • Veeam Backup & Replication 12.2 installed on a Windows server.
  • Ensure Proxmox has the Veeam Agent for Linux installed if you’re doing an agent-based backup.

2. Backup Process:

A. Adding the Proxmox Host to Veeam:

  1. Open the Veeam Backup & Replication console.
  2. Go to “Inventory” > “Managed Servers.”
  3. Right-click and select “Add Server.”
  4. Choose “Linux,” as Proxmox is based on Debian.
  5. Enter the IP address or hostname of the Proxmox server and provide the SSH credentials (root or a user with appropriate permissions).
  6. Verify the connection, and Veeam will add Proxmox to its managed inventory.

B. Creating Backup Jobs:

  1. Go to the “Home” tab and select “Backup Job.”
  2. Choose “Virtual Machine” as the backup type.
  3. Select the Proxmox VMs you want to back up.
  4. Choose your backup repository (storage location for backups).
  5. Configure the backup schedule, retention policies, and any advanced options like encryption or compression.
  6. Save and start the backup job.

C. Monitoring Backups:

  • You can monitor backup jobs in the “History” or “Home” tab to ensure backups run successfully.

3. Restore Process:

A. Full VM Restore:

  1. In the Veeam console, go to the “Home” tab and select “Restore.”
  2. Choose “Entire VM” and select the Proxmox VM from your backup repository.
  3. Choose the restore point you want to use and follow the wizard to select the destination Proxmox server.
  4. Confirm and start the restore process.

B. File-Level Restore:

  1. Go to “Home” > “Restore” and select “Guest files (Linux).”
  2. Choose the backup point and select the VM you want to restore files from.
  3. Browse the file system and restore specific files or directories.

C. Instant Recovery:

  1. Select “Instant Recovery” to start the VM directly from the backup storage.
  2. This allows for minimal downtime while restoring the actual VM in the background.

4. Key Features of Veeam with Proxmox:

  • Incremental Backups: Efficient use of storage by backing up only changes after the initial backup.
  • Compression and Deduplication: Reduces backup size and storage requirements.
  • Instant VM Recovery: Allows quick recovery of critical VMs with minimal downtime.
  • Application-Aware Backups: Ensures consistency for applications like databases.

Step-by-Step Proxmox and Ceph High Availability Setup Guide | Free High Availability Storage

Step 1: Prepare Proxmox Nodes

  1. Update and Upgrade Proxmox VE on all nodes:

apt update && apt full-upgrade -y

2. Ensure that all nodes have the same version of Proxmox VE:

pveversion

Step 2: Set Up the Proxmox Cluster

  1. Create a new cluster on the first node:
    • pvecm create my-cluster
  2. Add the other nodes to the cluster:
    • pvecm add <IP_of_first_node>
  3. Verify the cluster status:
    • pvecm status

Step 3: Install Ceph on Proxmox Nodes

  1. Install Ceph packages on all nodes:

install ceph ceph-mgr -y

Step 4: Create the Ceph Cluster

  1. Initialize the Ceph cluster on the first node:
    • pveceph init --network <cluster_network>
  2. Create the manager daemon on the first node:
    • pveceph createmgr

Step 5: Add OSDs (Object Storage Daemons)

  1. Prepare disks on each node for Ceph OSDs:
    • pveceph createosd /dev/sdX
  2. Repeat the process for each node and disk.

Step 6: Create Ceph Pools

  1. Create a Ceph pool for VM storage:
    • pveceph pool create mypool 128

Step 7: Configure Proxmox to Use Ceph Storage

  1. Add the Ceph storage to Proxmox:
    • Navigate to Datacenter > Storage > Add > RBD.
    • Enter the required details like ID, Pool, and Monitor hosts.
    • Save the configuration.

Step 8: Enable HA (High Availability)

  1. Configure HA on Proxmox:
    • Navigate to Datacenter > HA.
    • Add resources (VMs or containers) to the HA manager.
    • Configure the HA policy and set desired node priorities.

Step 9: Testing High Availability

  1. Simulate node failure: Power off one of the nodes and observe how the VMs or containers are automatically migrated to other nodes.

Step 10: Monitoring and Maintenance

  1. Use the Proxmox and Ceph dashboards to monitor the health of your cluster.
  2. Regularly update all nodes to ensure stability and security.

Optional: Additional Ceph Configuration

  1. Add Ceph Monitors for redundancy:bashKodu kopyalapveceph createmon
  2. Add more Ceph MDS (Metadata Servers) if using CephFS:bashKodu kopyalapveceph createmds
  3. Tune Ceph settings for performance and reliability based on your specific needs.

By following these steps, you will have a robust Proxmox VE and Ceph high availability setup, ensuring that your VMs and containers remain highly available even in the event of hardware failures.

Replace expensive VMware to Proxmox, Free Virtualization Platform | How to Install Proxmox

  1. Download Proxmox VE ISO:
  2. Create a Bootable USB Drive:
  3. Boot from USB Drive:
    • Insert the bootable USB drive into the server where you want to install Proxmox VE.
    • Power on or restart the server and boot from the USB drive. You may need to change the boot order in the BIOS settings to boot from USB.
  4. Proxmox VE Installer:
    • Once the server boots from the USB drive, you’ll see the Proxmox VE installer menu.
    • Select “Install Proxmox VE” and press Enter.
  5. Select Installation Target:
    • Select the target disk where you want to install Proxmox VE. This will typically be the server’s local disk.
    • You can choose to use the entire disk for Proxmox VE or manually partition the disk.
  6. Set Root Password:
    • Set a password for the root user of the Proxmox VE system.
  7. Configure Network:
    • Configure the network settings for Proxmox VE. This includes setting the IP address, netmask, gateway, and DNS servers.
  8. Begin Installation:
    • Review the installation summary and confirm to begin the installation process.
  9. Installation Progress:
    • The installer will copy the necessary files and install Proxmox VE on the selected disk. This may take some time depending on your hardware.
  10. Installation Complete:
    • Once the installation is complete, remove the USB drive and reboot the server.
  11. Access Proxmox VE Web Interface:
    • Open a web browser on a computer connected to the same network as the Proxmox VE server.
    • Enter the IP address of the Proxmox VE server in the address bar.
    • Log in to the Proxmox VE web interface using the root user and the password you set during installation.
  12. Configure Proxmox VE:
    • From the web interface, you can configure additional settings such as storage, networks, and backups.
  13. Create VMs and Containers:
    • Use the web interface to create virtual machines (VMs) and containers to run your applications and services.

Install Windows On EVE-NG

  1. Prepare the Windows ISO: Obtain a Windows installation ISO file. You can download these from the Microsoft website or use an existing ISO file you have.
  2. Upload the ISO to EVE-NG: Log in to the EVE-NG web interface. In the top menu, go to “Images” and then click on “Browse” to select the Windows ISO file from your local machine. Click on “Upload” to upload the ISO file to EVE-NG.
  3. Create a QEMU VM: In the EVE-NG web interface, go to the “Node” section and click on “Add Node.” Select the type as “QEMU” and configure the settings for the VM. You can specify the number of CPUs, amount of RAM, and the size of the hard disk.
  4. Map the Windows ISO: In the QEMU VM settings, go to the “Console” tab. Under the “CD/DVD” section, select the Windows ISO file you uploaded earlier as the CD/DVD image.
  5. Start the VM: After configuring the VM settings, click on “Add Node” to create the QEMU VM. Start the VM by clicking on the play button in the EVE-NG interface.
  6. Install Windows: Access the VM console by right-clicking on the VM in the EVE-NG interface and selecting “Console.” The VM will boot from the Windows ISO. Follow the on-screen instructions to install Windows. You may need to format the virtual hard disk and select the installation partition during the process.
  7. Complete the Installation: After Windows is installed, the VM will restart. You can then log in to Windows and configure it as needed.
  8. Optional: Install VirtIO Drivers: For better performance, you can install VirtIO drivers in Windows. These drivers are included in the EVE-NG installation and can be found in the /opt/unetlab/addons/qemu/virtio-win directory. To install the drivers, mount the VirtIO ISO in Windows and run the installer.
  9. Access Windows from EVE-NG: Once Windows is installed and running, you can access it from EVE-NG by right-clicking on the VM in the EVE-NG interface and selecting “Console.”
  10. Activate Windows: After installation, you’ll need to activate Windows using a valid product key. You can do this by going to “Settings” > “Update & Security” > “Activation” in Windows.

Remember to comply with Microsoft’s licensing terms and ensure that you have a valid license for Windows when using it on EVE-NG or any other virtualization platform.