« Proxmox backup config » : différence entre les versions
| Ligne 83 : | Ligne 83 : | ||
Tu peux faire une sauvegarde SQL : | Tu peux faire une sauvegarde SQL : | ||
<syntaxhighlight lang="bash" copy>sudo sqlite3 /var/lib/pve-cluster/config.db .dump > / | <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" copy>sudo tar czf / | <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]] | ||