pruning not working

flexyz

Well-Known Member
Sep 22, 2016
154
9
58
54
Hi

I have this pruning parameters:

2020-10-28T00:00:00+01:00: retention options: --keep-daily 7 --keep-weekly 2 --keep-monthly 1 --keep-yearly 1

But it seems to prune file backups from the day before:

2020-10-28T00:00:00+01:00: Starting prune on store "backup-office" group "host/mother"
2020-10-28T00:00:00+01:00: remove host/mother/2020-10-27T13:54:15Z
2020-10-28T00:00:00+01:00: remove host/mother/2020-10-27T14:58:23Z

2020-10-28T00:00:00+01:00: keep host/mother/2020-10-27T17:30:42Z

version:

Backup Server 0.9-0 BETA

Does it not look wrong?

Thanks
Felix
 
Ahh maybe I can see now why there is more than one on a single day. So if I have more than one folder to backup, I would add the, as an array instead of multiple "proxmox-backup-client backup xxxx" jobs?

Or can I append something to "host/mother/XXXX"?

Thanks
Felix
 
Hi,
yes you can either:
  1. specify multiple directories at the same time:
    Code:
    proxmox-backup-client backup first.pxar:/path/to/first second.pxar:/path/to/second --repository <repo>
  2. specify different backup-ids for the different jobs:
    Code:
    proxmox-backup-client backup first.pxar:/path/to/first --repository <repo> --backup-id first
    Code:
    proxmox-backup-client backup second.pxar:/path/to/second --repository <repo> --backup-id second
Note that the directory name, the .pxar name and the ID don't have to be the same, I just did that in the example.
 

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!