2019-02-27 17:35:05 +00:00
|
|
|
Introduction
|
|
|
|
============
|
|
|
|
|
2020-10-15 09:58:42 +00:00
|
|
|
What is Proxmox Backup Server?
|
2020-10-27 11:07:53 +00:00
|
|
|
------------------------------
|
2019-02-27 17:35:05 +00:00
|
|
|
|
2020-07-17 14:25:04 +00:00
|
|
|
Proxmox Backup Server is an enterprise-class, client-server backup software
|
|
|
|
package that backs up :term:`virtual machine`\ s, :term:`container`\ s, and
|
|
|
|
physical hosts. It is specially optimized for the `Proxmox Virtual Environment`_
|
|
|
|
platform and allows you to back up your data securely, even between remote
|
|
|
|
sites, providing easy management with a web-based user interface.
|
2019-11-16 10:43:14 +00:00
|
|
|
|
2020-10-15 09:58:42 +00:00
|
|
|
It supports deduplication, compression, and authenticated
|
2020-07-17 14:25:04 +00:00
|
|
|
encryption (AE_). Using :term:`Rust` as the implementation language guarantees high
|
|
|
|
performance, low resource usage, and a safe, high-quality codebase.
|
2019-11-16 10:43:14 +00:00
|
|
|
|
2020-10-15 09:58:42 +00:00
|
|
|
Proxmox Backup uses state of the art cryptography for client communication and
|
|
|
|
backup content :ref:`encryption <encryption>`. Encryption is done on the
|
|
|
|
client side, making it safer to back up data to targets that are not fully
|
|
|
|
trusted.
|
2019-11-16 10:43:14 +00:00
|
|
|
|
2019-03-02 16:51:18 +00:00
|
|
|
|
2019-11-11 12:26:08 +00:00
|
|
|
Architecture
|
|
|
|
------------
|
|
|
|
|
2020-07-03 16:58:14 +00:00
|
|
|
Proxmox Backup Server uses a `client-server model`_. The server stores the
|
2020-09-08 09:07:07 +00:00
|
|
|
backup data and provides an API to create and manage datastores. With the
|
2020-07-29 10:20:48 +00:00
|
|
|
API, it's also possible to manage disks and other server-side resources.
|
2019-11-11 12:26:08 +00:00
|
|
|
|
2020-07-03 16:58:14 +00:00
|
|
|
The backup client uses this API to access the backed up data. With the command
|
|
|
|
line tool ``proxmox-backup-client`` you can create backups and restore data.
|
|
|
|
For QEMU_ with `Proxmox Virtual Environment`_ we deliver an integrated client.
|
2019-11-11 12:26:08 +00:00
|
|
|
|
2020-07-03 16:58:14 +00:00
|
|
|
A single backup is allowed to contain several archives. For example, when you
|
|
|
|
backup a :term:`virtual machine`, each disk is stored as a separate archive
|
|
|
|
inside that backup. The VM configuration itself is stored as an extra file.
|
2020-07-29 10:20:48 +00:00
|
|
|
This way, it's easy to access and restore only important parts of the backup,
|
2020-07-03 16:58:14 +00:00
|
|
|
without the need to scan the whole backup.
|
2019-11-17 07:47:22 +00:00
|
|
|
|
2019-03-02 16:51:18 +00:00
|
|
|
|
2020-04-14 15:12:47 +00:00
|
|
|
Main Features
|
2019-03-02 17:08:00 +00:00
|
|
|
-------------
|
2019-03-02 09:31:32 +00:00
|
|
|
|
2020-07-03 16:58:14 +00:00
|
|
|
:Support for Proxmox VE: The `Proxmox Virtual Environment`_ is fully
|
|
|
|
supported and you can easily backup :term:`virtual machine`\ s and
|
2019-03-02 09:31:32 +00:00
|
|
|
:term:`container`\ s.
|
|
|
|
|
2020-07-03 16:58:14 +00:00
|
|
|
:Performance: The whole software stack is written in :term:`Rust`,
|
2020-07-29 10:20:48 +00:00
|
|
|
in order to provide high speed and memory efficiency.
|
2019-03-02 09:31:32 +00:00
|
|
|
|
2020-07-03 16:58:14 +00:00
|
|
|
:Deduplication: Periodic backups produce large amounts of duplicate
|
2020-07-29 10:20:48 +00:00
|
|
|
data. The deduplication layer avoids redundancy and minimizes the storage
|
|
|
|
space used.
|
2020-07-03 16:58:14 +00:00
|
|
|
|
|
|
|
:Incremental backups: Changes between backups are typically low. Reading and
|
2020-07-29 10:20:48 +00:00
|
|
|
sending only the delta reduces the storage and network impact of backups.
|
2019-03-02 09:31:32 +00:00
|
|
|
|
2020-07-29 10:20:48 +00:00
|
|
|
:Data Integrity: The built-in `SHA-256`_ checksum algorithm ensures accuracy and
|
|
|
|
consistency in your backups.
|
2019-03-02 15:56:01 +00:00
|
|
|
|
2020-04-14 15:12:47 +00:00
|
|
|
:Remote Sync: It is possible to efficiently synchronize data to remote
|
|
|
|
sites. Only deltas containing new data are transferred.
|
2019-03-02 09:31:32 +00:00
|
|
|
|
2020-07-29 10:20:48 +00:00
|
|
|
:Compression: The ultra-fast Zstandard_ compression is able to compress
|
2019-03-02 15:56:01 +00:00
|
|
|
several gigabytes of data per second.
|
2019-03-02 09:31:32 +00:00
|
|
|
|
2020-07-29 10:20:48 +00:00
|
|
|
:Encryption: Backups can be encrypted on the client-side, using AES-256 in
|
2020-07-17 14:25:04 +00:00
|
|
|
Galois/Counter Mode (GCM_) mode. This authenticated encryption (AE_) mode
|
2020-07-07 11:23:17 +00:00
|
|
|
provides very high performance on modern hardware.
|
2019-11-11 18:07:03 +00:00
|
|
|
|
2020-07-29 10:20:48 +00:00
|
|
|
:Web interface: Manage the Proxmox Backup Server with the integrated, web-based
|
2020-07-07 11:23:17 +00:00
|
|
|
user interface.
|
2020-07-03 16:58:14 +00:00
|
|
|
|
|
|
|
:Open Source: No secrets. Proxmox Backup Server is free and open-source
|
2020-07-07 11:23:17 +00:00
|
|
|
software. The source code is licensed under AGPL, v3.
|
2019-03-02 17:23:48 +00:00
|
|
|
|
2020-07-07 11:23:17 +00:00
|
|
|
:Support: Enterprise support will be available from `Proxmox`_ once the beta
|
|
|
|
phase is over.
|
2019-03-02 17:23:48 +00:00
|
|
|
|
2019-11-11 18:07:03 +00:00
|
|
|
|
2020-07-03 16:58:14 +00:00
|
|
|
Reasons for Data Backup?
|
|
|
|
------------------------
|
2019-03-02 17:08:00 +00:00
|
|
|
|
2020-07-03 16:58:14 +00:00
|
|
|
The main purpose of a backup is to protect against data loss. Data loss can be
|
2020-07-29 10:20:48 +00:00
|
|
|
caused by both faulty hardware and human error.
|
2019-03-02 17:08:00 +00:00
|
|
|
|
2020-07-03 16:58:14 +00:00
|
|
|
A common mistake is to accidentally delete a file or folder which is still
|
2020-07-29 10:20:48 +00:00
|
|
|
required. Virtualization can even amplify this problem, as deleting a whole
|
|
|
|
virtual machine can be as easy as pressing a single button.
|
2019-03-02 17:08:00 +00:00
|
|
|
|
2020-07-03 16:58:14 +00:00
|
|
|
For administrators, backups can serve as a useful toolkit for temporarily
|
|
|
|
storing data. For example, it is common practice to perform full backups before
|
|
|
|
installing major software updates. If something goes wrong, you can easily
|
|
|
|
restore the previous state.
|
2019-03-02 17:08:00 +00:00
|
|
|
|
2020-07-03 16:58:14 +00:00
|
|
|
Another reason for backups are legal requirements. Some data, especially
|
|
|
|
business records, must be kept in a safe place for several years by law, so
|
|
|
|
that they can be accessed if required.
|
2019-03-02 17:08:00 +00:00
|
|
|
|
2020-07-03 16:58:14 +00:00
|
|
|
In general, data loss is very costly as it can severely damage your business.
|
|
|
|
Therefore, ensure that you perform regular backups and run restore tests.
|
2019-03-02 17:08:00 +00:00
|
|
|
|
|
|
|
|
2019-11-11 18:07:03 +00:00
|
|
|
Software Stack
|
|
|
|
--------------
|
|
|
|
|
2020-07-09 15:05:41 +00:00
|
|
|
Proxmox Backup Server consists of multiple components:
|
|
|
|
|
2020-10-07 12:03:48 +00:00
|
|
|
* A server-daemon providing, among other things, a RESTful API, super-fast
|
2020-07-09 15:05:41 +00:00
|
|
|
asynchronous tasks, lightweight usage statistic collection, scheduling
|
|
|
|
events, strict separation of privileged and unprivileged execution
|
2020-07-29 10:20:48 +00:00
|
|
|
environments
|
|
|
|
* A JavaScript management web interface
|
|
|
|
* A management CLI tool for the server (`proxmox-backup-manager`)
|
|
|
|
* A client CLI tool (`proxmox-backup-client`) to access the server easily from
|
|
|
|
any `Linux amd64` environment
|
2020-07-09 15:05:41 +00:00
|
|
|
|
2020-07-29 10:20:48 +00:00
|
|
|
Aside from the web interface, everything is written in the Rust programming
|
2020-07-09 15:05:41 +00:00
|
|
|
language.
|
|
|
|
|
|
|
|
"The Rust programming language helps you write faster, more reliable software.
|
|
|
|
High-level ergonomics and low-level control are often at odds in programming
|
|
|
|
language design; Rust challenges that conflict. Through balancing powerful
|
|
|
|
technical capacity and a great developer experience, Rust gives you the option
|
|
|
|
to control low-level details (such as memory usage) without all the hassle
|
|
|
|
traditionally associated with such control."
|
|
|
|
|
|
|
|
-- `The Rust Programming Language <https://doc.rust-lang.org/book/ch00-00-introduction.html>`_
|
|
|
|
|
2020-11-10 09:35:35 +00:00
|
|
|
.. _get_help:
|
2020-10-14 07:46:52 +00:00
|
|
|
|
2020-07-07 11:24:39 +00:00
|
|
|
Getting Help
|
|
|
|
------------
|
|
|
|
|
|
|
|
Community Support Forum
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
We always encourage our users to discuss and share their knowledge using the
|
|
|
|
`Proxmox Community Forum`_. The forum is moderated by the Proxmox support team.
|
|
|
|
The large user base is spread out all over the world. Needless to say that such
|
|
|
|
a large forum is a great place to get information.
|
|
|
|
|
|
|
|
Mailing Lists
|
|
|
|
~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
Proxmox Backup Server is fully open-source and contributions are welcome! Here
|
|
|
|
is the primary communication channel for developers:
|
2020-08-18 10:48:49 +00:00
|
|
|
|
2020-07-07 11:24:39 +00:00
|
|
|
:Mailing list for developers: `PBS Development List`_
|
|
|
|
|
|
|
|
Bug Tracker
|
|
|
|
~~~~~~~~~~~
|
|
|
|
|
|
|
|
Proxmox runs a public bug tracker at `<https://bugzilla.proxmox.com>`_. If an
|
|
|
|
issue appears, file your report there. An issue can be a bug as well as a
|
|
|
|
request for a new feature or enhancement. The bug tracker helps to keep track
|
|
|
|
of the issue and will send a notification once it has been solved.
|
|
|
|
|
2019-11-11 18:07:03 +00:00
|
|
|
License
|
|
|
|
-------
|
|
|
|
|
2020-07-04 15:57:47 +00:00
|
|
|
Copyright (C) 2019-2020 Proxmox Server Solutions GmbH
|
2019-11-11 18:21:27 +00:00
|
|
|
|
|
|
|
This software is written by Proxmox Server Solutions GmbH <support@proxmox.com>
|
|
|
|
|
2020-07-03 16:58:14 +00:00
|
|
|
Proxmox Backup Server is free and open source software: you can use it,
|
|
|
|
redistribute it, and/or modify it under the terms of the GNU Affero General
|
|
|
|
Public License as published by the Free Software Foundation, either version 3
|
|
|
|
of the License, or (at your option) any later version.
|
2019-11-11 18:21:27 +00:00
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful, but
|
|
|
|
``WITHOUT ANY WARRANTY``; without even the implied warranty of
|
|
|
|
``MERCHANTABILITY`` or ``FITNESS FOR A PARTICULAR PURPOSE``. See the GNU
|
|
|
|
Affero General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
|
|
along with this program. If not, see AGPL3_.
|
|
|
|
|
2019-03-02 17:08:00 +00:00
|
|
|
|
2019-02-27 17:35:05 +00:00
|
|
|
History
|
|
|
|
-------
|
|
|
|
|
2020-10-14 14:19:13 +00:00
|
|
|
Backup is, and always has been, a central aspect of IT administration.
|
|
|
|
The need to recover from data loss is fundamental and only increases with
|
2020-10-14 07:46:52 +00:00
|
|
|
virtualization.
|
|
|
|
|
2020-10-14 14:19:13 +00:00
|
|
|
For this reason, we've been shipping a backup tool with Proxmox VE, from the
|
|
|
|
beginning. This tool is called ``vzdump`` and is able to make
|
2020-10-14 07:46:52 +00:00
|
|
|
consistent snapshots of running LXC containers and KVM virtual
|
|
|
|
machines.
|
|
|
|
|
2020-10-14 14:19:13 +00:00
|
|
|
However, ``vzdump`` only allows for full backups. While this is fine
|
2020-10-14 07:46:52 +00:00
|
|
|
for small backups, it becomes a burden for users with large VMs. Both
|
2020-10-14 14:19:13 +00:00
|
|
|
backup duration and storage usage are too high for this case, especially
|
|
|
|
for users who want to keep many backups of the same VMs. To solve these
|
|
|
|
problems, we needed to offer deduplication and incremental backups.
|
2020-10-14 07:46:52 +00:00
|
|
|
|
2020-10-14 14:19:13 +00:00
|
|
|
Back in October 2018, development started. We investigated
|
2020-10-14 07:46:52 +00:00
|
|
|
several technologies and frameworks and finally decided to use
|
2020-10-14 14:19:13 +00:00
|
|
|
:term:`Rust` as the implementation language, in order to provide high speed and
|
|
|
|
memory efficiency. The 2018-edition of Rust seemed promising for our
|
|
|
|
requirements.
|
|
|
|
|
|
|
|
In July 2020, we released the first beta version of Proxmox Backup
|
|
|
|
Server, followed by the first stable version in November 2020. With support for
|
|
|
|
incremental, fully deduplicated backups, Proxmox Backup significantly reduces
|
|
|
|
network load and saves valuable storage space.
|