vzdump -maxfiles

achim22

Renowned Member
May 21, 2015
414
5
83
58
Dortmund
Hallo,
ich habe über das Webinterface ein Backup erstellt.
Code:
vzdump 100 102 --compress lzo --quiet 1 --mode snapshot --storage BackupServer --mailnotification always --mailto a.k@xx.de

Jetzt möchte ich das von den VMs nur jeweils 7 behalten werden.
Da finde ich keine Option diese ein zu stellen.
Also trage ich es "händisch" unter Cron in die vzdum ein, mit dem Wissen das es raus fliegt wenn ich das Backup mal ändere.

Reicht es wenn ich einfach nur -maxfiles 7 eintrage und gilt es dann für beide VMs ?

Gruß
Achim
 
Also das muss funktionieren. Haben wir auch bei all unseren Servern so. Einfach unter Storage abändern.
 
  • Like
Reactions: achim22
Es lag an mir.
Ich habe die Backups manuell ausgeführt, zum testen, und nach x mal kommt dann ein " Festplatte voll ".
Es liegt daran das beim manuellen Ausführen kein --remove 0 erfolgt.


Schöne Grüße
Achim
 
Es lag an mir.
Ich habe die Backups manuell ausgeführt, zum testen, und nach x mal kommt dann ein " Festplatte voll ".
Es liegt daran das beim manuellen Ausführen kein --remove 0 erfolgt.
Achim
Achso, ja das war schon immer so.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!