« Proxmox backup config » : différence entre les versions

 
(2 versions intermédiaires par le même utilisateur non affichées)
Ligne 83 : Ligne 83 :
Tu peux faire une sauvegarde SQL :
Tu peux faire une sauvegarde SQL :


<syntaxhighlight lang="bash">sudo sqlite3 /var/lib/pve-cluster/config.db .dump > /root/pve-config-db-$(date +%F).sql</syntaxhighlight>
<syntaxhighlight lang="bash" copy>sudo sqlite3 /var/lib/pve-cluster/config.db .dump > /mnt/ssd-sata/backups/proxmox/pve-config-db-$(date +%F).sql</syntaxhighlight>
Très utile en dernier recours. ([Proxmox Support Forum][3])
Très utile en dernier recours. ([Proxmox Support Forum][3])


Ligne 96 : Ligne 96 :
Exemple avant update :
Exemple avant update :


<syntaxhighlight lang="bash">sudo tar czf /root/pre-upgrade-pve-$(date +%F-%H%M).tar.gz /etc/pve /etc/network</syntaxhighlight>
<syntaxhighlight lang="bash" copy>sudo tar czf /mnt/ssd-sata/backups/proxmox/pre-upgrade-pve-$(date +%F-%H%M).tar.gz /etc/pve /etc/network</syntaxhighlight>


-----
-----
[[Catégorie:Proxmox]]
[[Catégorie:Proxmox]]