]>
Commit | Line | Data |
---|---|---|
04e24b14 DW |
1 | .. _pve-integration: |
2 | ||
3 | `Proxmox VE`_ Integration | |
4 | ------------------------- | |
5 | ||
6 | You need to define a new storage with type 'pbs' on your `Proxmox VE`_ | |
7 | node. The following example uses ``store2`` as storage name, and | |
8 | assumes the server address is ``localhost``, and you want to connect | |
9 | as ``user1@pbs``. | |
10 | ||
11 | .. code-block:: console | |
12 | ||
13 | # pvesm add pbs store2 --server localhost --datastore store2 | |
14 | # pvesm set store2 --username user1@pbs --password <secret> | |
15 | ||
16 | .. note:: If you would rather not pass your password as plain text, you can pass | |
17 | the ``--password`` parameter, without any arguments. This will cause the | |
18 | program to prompt you for a password upon entering the command. | |
19 | ||
20 | If your backup server uses a self signed certificate, you need to add | |
21 | the certificate fingerprint to the configuration. You can get the | |
22 | fingerprint by running the following command on the backup server: | |
23 | ||
24 | .. code-block:: console | |
25 | ||
26 | # proxmox-backup-manager cert info | grep Fingerprint | |
27 | Fingerprint (sha256): 64:d3:ff:3a:50:38:53:5a:9b:f7:50:...:ab:fe | |
28 | ||
29 | Please add that fingerprint to your configuration to establish a trust | |
30 | relationship: | |
31 | ||
32 | .. code-block:: console | |
33 | ||
34 | # pvesm set store2 --fingerprint 64:d3:ff:3a:50:38:53:5a:9b:f7:50:...:ab:fe | |
35 | ||
36 | After that you should be able to see storage status with: | |
37 | ||
38 | .. code-block:: console | |
39 | ||
40 | # pvesm status --storage store2 | |
41 | Name Type Status Total Used Available % | |
42 | store2 pbs active 3905109820 1336687816 2568422004 34.23% | |
43 | ||
44 | Having added the PBS datastore to `Proxmox VE`_, you can backup VMs and | |
45 | containers in the same way you would for any other storage device within the | |
46 | environment (see `PVE Admin Guide: Backup and Restore | |
47 | <https://pve.proxmox.com/pve-docs/pve-admin-guide.html#chapter_vzdump>`_. | |
48 | ||
49 |