Monitoring Backups
Procédures vérification et monitoring infrastructure backup.
Vérifications Hebdomadaires
État PBS
# LXC 102 running
pct status 102
# Derniers backups
pct exec 102 -- proxmox-backup-manager task list --limit 10
# Espace datastore (<80%)
df -h /mnt/pve/pbs-datastore/datastore/
Google Drive
# Structure complète
pct exec 102 -- rclone lsd gdrive:backup/homeserver/
# Taille upload PBS
pct exec 102 -- rclone size gdrive:backup/homeserver/pbs/
# Derniers backups configs
pct exec 102 -- rclone ls gdrive:backup/homeserver/configs/ | head -5
Logs Scripts
# Host - dernières 50 lignes
tail -50 /var/log/backup-proxmox-host.log
# LXC 102 - logs backup
pct exec 102 -- tail -50 /var/log/pbs-sync-gdrive.log
pct exec 102 -- tail -50 /var/log/backup-docker-configs.log
pct exec 102 -- tail -50 /var/log/backup-documentation.log
Vérifications Mensuelles
Test Restauration
Drill mensuel : restaurer backup test pour valider procédure.
Voir ../recovery/testing.md.
Quota Google Drive
Review Rétention
Vérifier rétention PBS adéquate selon usage :
Alertes à Implémenter
- Email notification échec backup PBS
- Email notification échec sync Google Drive
- Alerte espace datastore PBS <20% libre
- Alerte quota Google Drive proche limite
Métriques
# Nombre backups par LXC
pct exec 102 -- proxmox-backup-manager task list | grep "backup.*100"
pct exec 102 -- proxmox-backup-manager task list | grep "backup.*101"
# Taille moyenne backups
du -sh /mnt/pve/pbs-datastore/datastore/ct/100/
du -sh /mnt/pve/pbs-datastore/datastore/ct/101/
Troubleshooting
Backup échoué
-
Consulter logs :
-
Vérifier espace :
-
Vérifier LXC source running :
Upload Google Drive échoué
-
Vérifier OAuth :
-
Renouveler token si nécessaire :
-
Vérifier quota :