unable to get (default) repository when running prune in the CLI

andrema2

Member
Dec 7, 2020
28
5
8
53
Hi

I'm trying to prune running
proxmox-backup-client prune vm/105 --keep-hourly 25 --keep-daily 8 --keep-weekly 2 --keep-monthly 1

and this is the error I'm getting
Error: unable to get (default) repository

My backup per the GUI runs at 01:45 am, but I have a local job at the VE host that runs the backup job at the top of the hour every hour.

My prune keep is exactly what you see in the CLI above. I believe it should keep in total per VM 36 bkp. I have more than 50. I what to run it in the CLI and see what happens. The simulator was not helpful because of the hourly run.

Any help is most welcome
 

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!