Outils pour utilisateurs

Outils du site


proxmox:pbs

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
proxmox:pbs [2021/07/25 12:49] – [Installation] rootproxmox:pbs [2023/03/31 14:32] (Version actuelle) root
Ligne 1: Ligne 1:
 ====== Proxmox Backup Server ====== ====== Proxmox Backup Server ======
 ===== Server ===== ===== Server =====
 +A compléter - rien de spécifique pour l'instant
 ===== Client ===== ===== Client =====
 ==== Installation ==== ==== Installation ====
Ligne 10: Ligne 11:
 echo deb http://download.proxmox.com/debian/pbs-client buster main > /etc/apt/sources.list.d/proxmox-pbs.list echo deb http://download.proxmox.com/debian/pbs-client buster main > /etc/apt/sources.list.d/proxmox-pbs.list
 apt update apt update
-apt install proxmox-backup-server+apt install proxmox-backup-client
 </code> </code>
  
-=== Ubuntu 20.04 20.10 21.04 ===+=== Debian 11 / Ubuntu 20.04 20.10 21.04 ===
  
 <code bash>wget http://download.proxmox.com/debian/proxmox-release-bullseye.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg <code bash>wget http://download.proxmox.com/debian/proxmox-release-bullseye.gpg -O /etc/apt/trusted.gpg.d/proxmox-release-bullseye.gpg
Ligne 19: Ligne 20:
 echo deb http://download.proxmox.com/debian/pbs-client bullseye main > /etc/apt/sources.list.d/proxmox-pbs.list echo deb http://download.proxmox.com/debian/pbs-client bullseye main > /etc/apt/sources.list.d/proxmox-pbs.list
 apt update apt update
-apt install proxmox-backup-server+apt install proxmox-backup-client
 </code> </code>
 ==== Utilisation==== ==== Utilisation====
 <code bash> <code bash>
-#exporte le mot de passe de l'utilisateur ou le  +#exporte le mot de passe de l'utilisateur ou le token 
-export PBS_PASSWORD=6a4faca3-cbb6-4310-b024-64c2b4214538+export PBS_PASSWORD=6abcded-cbbc-4321-b123-643215431 
 +#exporte la clé d'encryption 
 +export PBS_ENCRYPTION_PASSWORD=JFDKJFKSDJFKLSKLSDJFKSDKLFJ= 
 + 
 + 
 +#sauvegarde simple du dossier etc vers le serveur pbs-srv dans le datastore dstor
 proxmox-backup-client backup test.pxar:/etc --repository test@pbs@pbs-srv:dstor proxmox-backup-client backup test.pxar:/etc --repository test@pbs@pbs-srv:dstor
 +
 +#sauvegarde simple du dossier /var/log vers le serveur pbs-srv dans le datastore dstor avec l'id 102 et un type container (le choix peut être vm / host ou ct
 proxmox-backup-client backup test.pxar:/var/log  --repository test@pbs@pbs-srv:dstor --backup-id 102 --backup-type ct proxmox-backup-client backup test.pxar:/var/log  --repository test@pbs@pbs-srv:dstor --backup-id 102 --backup-type ct
 +
 +#sauvegarde simple du dossier /var/log vers le serveur pbs-srv dans le datastore dstor avec l'id 102 et un type container (le choix peut être vm / host ou ct avec un token-api
 +proxmox-backup-client backup test.pxar:/var/log  --repository 
 +test@pbs!token@host:store@pbs-srv:dstor --backup-id 102 --backup-type ct
 +
 </code> </code>
 +
 +=== Encryption: ===
 +  - Soit copier la clé dans ~/.config/proxmox-backup/encryption-key.json
 +  - Soit ajouter l'argument " --keyfile /root/pwd.txt" dans l'exécution de la commande
  
 ===== Sources ===== ===== Sources =====
   * https://forum.proxmox.com/threads/how-to-install-proxmox-backup-client-under-ubuntu.81371/   * https://forum.proxmox.com/threads/how-to-install-proxmox-backup-client-under-ubuntu.81371/
 +  * https://pbs.proxmox.com/docs/package-repositories.html#apt-based-proxmox-backup-client-repository
proxmox/pbs.1627217398.txt.gz · Dernière modification : (modification externe)