Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Proxmox Cookbook

You're reading from   Proxmox Cookbook Over 60 hands-on recipes to perform server virtualization and manage virtualized server solutions with Proxmox

Arrow left icon
Product type Paperback
Published in Aug 2015
Publisher
ISBN-13 9781783980901
Length 318 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Wasim Ahmed Wasim Ahmed
Author Profile Icon Wasim Ahmed
Wasim Ahmed
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Installing Proxmox FREE CHAPTER 2. Getting to Know the Proxmox GUI 3. Cluster and VM Management 4. Network Configurations 5. Firewall Configurations 6. Storage Configurations 7. Backup and Restore 8. Updating and Upgrading Proxmox 9. Monitoring Proxmox 10. Advanced Configurations for VMs 11. The CLI Command Reference Index

Backing up through the command line


VZdump is used to backup both KVM-based virtual machines and OpenVZ containers. In Proxmox, a backup can also be performed through the command line.

How to do it...

Data can be backed up in Proxmox using the following command:

# vzdump <vmid> [options] [options] ..

VZdump has a wide range of options that can be used to perform a backup task. Here are just some of the most commonly used options:

Option

Function

-all

This option will backup all VMs in a Proxmox node. The default is set as 0.

-bwlimit

This is to adjust the backup bandwidth in KBPS.

-mailto

This is the e-mail address to send backup logs to.

-maxfiles

This value is to set the maximum number of backup files to keep.

-mode

This is set as the backup mode. Available options are snapshot, stop, and suspend. The default is stop.

-compress

This is a set compression method. Available options are LZO and Gzip.

-remove

This is to remove older backups if more than the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime