Update README.md

This commit is contained in:
Ssyleric
2025-07-28 13:11:30 +02:00
committed by GitHub
parent 7882cb9a3c
commit 565797a6de

196
README.md
View File

@@ -1,118 +1,126 @@
# 🧹 Suppression du job `yearly` invisible — Proxmox VE 8.4.5 (Bug GUI)
# Suppression dune tâche de backup planifiée impossible à supprimer via linterface Proxmox
📘 README — Suppression dune tâche de backup planifiée dans Proxmox VE
## 🎯 Objectif
🎯 Objectif
Supprimer une tâche de sauvegarde planifiée visible dans linterface Proxmox, mais impossible à supprimer via le bouton `Remove` (grisé ou inactif).
Supprimer proprement une tâche de backup planifiée qui apparaît dans linterface graphique Proxmox, mais dont le bouton **Remove** est inopérant ou grisé.
✅ Contexte utilisateur vérifié
- Version Proxmox VE : 8.4.5
- Nom du stockage utilisé : pbs-xxxxxxxx
- Tâches visibles dans linterface, mais aucune entrée dans :
- /etc/pve/vzdump.cron
- /etc/pve/jobs/
- /etc/pve/datacenter.cfg.d/
- Seule méthode fonctionnelle = interrogation via API `pvesh`.
---
🧪 Commandes exécutées
## 📌 Contexte vérifié
- Proxmox VE 8.4.5
- Aucun fichier dans :
- `/etc/pve/vzdump.cron`
- `/etc/pve/jobs/`
- `/etc/pve/datacenter.cfg.d/`
- Tâches de backup visibles uniquement via lAPI `pvesh`
---
## 🧪 Commandes exécutées
```bash
nano /etc/pve/vzdump.cron
ls -l /etc/pve/jobs/
# → ls: cannot access '/etc/pve/jobs/': No such file or directory
ls -l /etc/pve/datacenter.cfg.d/
# → ls: cannot access '/etc/pve/datacenter.cfg.d/': No such file or directory
```
🔍 Tâches détectées via lAPI
---
## 🔍 Détection des tâches via API
```bash
pvesh get /cluster/backup
┌──────────────────────┐
│ id │
╞══════════════════════╡
│ backup-141dd42e-8105 │
├──────────────────────┤
│ backup-5b65201d-f95c │
├──────────────────────┤
│ backup-e8198075-0fed │
└──────────────────────┘
```
📄 Contenu exact des 3 tâches
| Tâche ID |
| -------------------- |
| backup-141dd42e-8105 |
| backup-5b65201d-f95c |
| backup-e8198075-0fed |
pvesh get /cluster/backup/backup-141dd42e-8105
┌──────────────────┬───────────────────────────────────────────────┐
│ key │ value │
╞══════════════════╪═══════════════════════════════════════════════╡
│ enabled │ 1 │
│ fleecing │ {"enabled":"0"} │
│ id │ backup-141dd42e-8105 │
│ mailnotification │ always │
│ mailto │ XXXXXXXXXXXX@gmail.com │
│ mode │ snapshot │
│ node │ pve │
│ notes-template │ {{vmid}} {{guestname}}, {{node}}, {{cluster}} │
│ repeat-missed │ 1 │
│ schedule │ mon,thu 02:30 │
│ storage │ pbs-xxxxxxxx │
│ type │ vzdump │
│ vmid │ 103,101,102,104 │
└──────────────────┴───────────────────────────────────────────────┘
```
pvesh get /cluster/backup/backup-5b65201d-f95c
┌───────────────────┬────────────────────────┐
│ key │ value │
╞═══════════════════╪════════════════════════╡
│ enabled │ 1 │
│ fleecing │ {"enabled":"0"} │
│ id │ backup-5b65201d-f95c │
│ mailnotification │ always │
│ mailto │ XXXXXXXXXXXX@gmail.com │
│ mode │ stop │
│ notes-template │ {{guestname}} │
│ notification-mode │ legacy-sendmail │
│ schedule │ yearly │
│ storage │ pbs-xxxxxxxx │
│ type │ vzdump │
│ vmid │ 20232400,20308096 │
└───────────────────┴────────────────────────┘
---
pvesh get /cluster/backup/backup-e8198075-0fed
┌──────────────────┬───────────────────────────────────────────────┐
│ key │ value │
╞══════════════════╪═══════════════════════════════════════════════╡
│ enabled │ 1 │
│ fleecing │ {"enabled":"0"} │
│ id │ backup-e8198075-0fed │
│ mailnotification │ always │
│ mailto │ XXXXXXXXXXXX@gmail.com │
│ mode │ stop │
│ node │ pve │
│ notes-template │ {{vmid}} {{guestname}}, {{node}}, {{cluster}} │
│ repeat-missed │ 1 │
│ schedule │ mon,thu 04:00 │
│ storage │ pbs-xxxxxxxx │
│ type │ vzdump │
│ vmid │ 20308096,20009000,20232400,20401080,20508080 │
└──────────────────┴───────────────────────────────────────────────┘
## 📄 Détail de chaque tâche
🗑️ Suppression de la tâche `yearly`
### backup-141dd42e-8105
| Clé | Valeur |
|------------------|--------------------------------------------------|
| enabled | 1 |
| fleecing | {"enabled":"0"} |
| id | backup-141dd42e-8105 |
| mailnotification | always |
| mailto | XXXXXXXXXXXX@gmail.com |
| mode | snapshot |
| node | pve |
| notes-template | {{vmid}} {{guestname}}, {{node}}, {{cluster}} |
| repeat-missed | 1 |
| schedule | mon,thu 02:30 |
| storage | pbs-xxxxxxxx |
| type | vzdump |
| vmid | 103,101,102,104 |
---
### backup-5b65201d-f95c
| Clé | Valeur |
|-------------------|----------------------------|
| enabled | 1 |
| fleecing | {"enabled":"0"} |
| id | backup-5b65201d-f95c |
| mailnotification | always |
| mailto | XXXXXXXXXXXX@gmail.com |
| mode | stop |
| notes-template | {{guestname}} |
| notification-mode | legacy-sendmail |
| schedule | yearly |
| storage | pbs-xxxxxxxx |
| type | vzdump |
| vmid | 20232400,20308096 |
---
### backup-e8198075-0fed
| Clé | Valeur |
|------------------|--------------------------------------------------|
| enabled | 1 |
| fleecing | {"enabled":"0"} |
| id | backup-e8198075-0fed |
| mailnotification | always |
| mailto | XXXXXXXXXXXX@gmail.com |
| mode | stop |
| node | pve |
| notes-template | {{vmid}} {{guestname}}, {{node}}, {{cluster}} |
| repeat-missed | 1 |
| schedule | mon,thu 04:00 |
| storage | pbs-xxxxxxxx |
| type | vzdump |
| vmid | 20308096,20009000,20232400,20401080,20508080 |
---
## 🧹 Suppression de la tâche "yearly" (impossible via GUI)
```bash
pvesh delete /cluster/backup/backup-5b65201d-f95c
```
Vérification :
✅ Tâche supprimée avec succès :
```bash
pvesh get /cluster/backup
┌──────────────────────┐
│ id │
╞══════════════════════╡
│ backup-141dd42e-8105 │
├──────────────────────┤
│ backup-e8198075-0fed │
└──────────────────────┘
```
✅ La tâche backup-5b65201d-f95c a bien été supprimée avec effet immédiat.
| Tâche ID |
| -------------------- |
| backup-141dd42e-8105 |
| backup-e8198075-0fed |
📌 Résumé final
```
| ID | Schedule | Mode | VMIDs |
|--------------------------|---------------|----------|-------------------------------------|
| backup-141dd42e-8105 | Mon,Thu 02:30 | snapshot | 103,101,102,104 |
| backup-e8198075-0fed | Mon,Thu 04:00 | stop | 20308096,20009000,20232400,... |
```