Files
pve-Remove-button/README-delete-yearly.md
2025-07-25 14:53:10 +02:00

87 lines
2.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 🧹 Suppression du job `yearly` invisible — Proxmox VE 8.4.5 (Bug GUI)
## 🎯 Objectif
Supprimer un **job de sauvegarde `yearly`** encore affiché dans **Datacenter > Backup**, alors quil **napparaît pas dans `/etc/pve/vzdump.cron`**, ni ne répond pas au bouton **"Remove"** dans linterface Web Proxmox.
---
## 🐞 Problème identifié
- Le **job `yearly`** est visible dans longlet `Datacenter > Backup`
- Le **bouton "Remove" ne fonctionne pas** (aucune action, aucun log, aucun retour)
- Aucun job ne figure dans :
```bash
cat /etc/pve/vzdump.cron
```
- ❗ Bug reconnu dans **Proxmox VE 8.4.x** :
- [forum.proxmox.com - remove button not working](https://forum.proxmox.com/threads/remove-button-for-vm-operation-in-gui-not-working.162859)
- [forum.proxmox.com - vzdump job ghost](https://forum.proxmox.com/threads/backup-job-persist-after-removal.123376/)
- [bugzilla.proxmox.com issue #4883](https://bugzilla.proxmox.com/show_bug.cgi?id=4883)
---
## ✅ Procédure VSN utilisée
### 1. 🔍 Lister les jobs `vzdump` via l'API :
```bash
pvesh get /cluster/backup
```
**Retour exemple :**
```
backup-141dd42e-8105
backup-488a9abd-c43f ← 👈 celui avec "schedule": "yearly"
backup-e8198075-0fed
```
---
### 2. 📋 Vérifier les détails de chaque job :
```bash
pvesh get /cluster/backup/backup-488a9abd-c43f
```
**Sortie confirmée :**
- `"schedule": "yearly"`
- `"vmid": "102,20232400"`
- `"storage": "pbs-marechal"`
---
### 3. 💣 Supprimer le job via lAPI (VSN) :
```bash
pvesh delete /cluster/backup/backup-488a9abd-c43f
```
---
### 4. 🔁 Rafraîchissement :
- Recharger linterface Web avec **`CTRL+F5`**
- Le job `yearly` disparaît définitivement
---
## 🧼 État final
| Élément | Statut |
| --------------------- | --------------------------------- |
| `vzdump.cron` | ✅ Vide |
| `yearly` visible | ❌ Supprimé |
| Bouton Remove | ❌ Inopérant (bug GUI confirmé) |
| Suppr API (`pvesh`) | ✅ Fonctionnelle (VSN) |
---
## 🛡️ Statut : ✅ Nettoyage validé (VSN)
- Plus aucun job résiduel
- Pas d'impact sur les autres backups
- Utilisation API conforme aux bonnes pratiques Proxmox