[SOLVED] Backup failed. Why It did not backed up?

Serhioromano

New Member
Jun 12, 2023
25
3
3
I have dozen of LXCs and a couple MVs in my setup. I configured daily backup for everything. See attachment. Most important for me is VM 102. This one is curtail for my business and others are not. I can lose anything there but MV 102. So I configured dayly backup.

2023-09-18_12-42-57.png

Today my server failed and I wanted to restore it from backup and foundout that all my VMs and LXCs where backuping but this server. You can see on screenshot that I have 18, 17, 16 dates on all backups nut not on server backup. I have 2 dayly backup configurations and both of then backup everything to 2 different drive and this happened to both of them. None of backups has latest server VM backups but have all other to the last day.

2023-09-18_12-47-00.png

What could be the reason of that?
 
Hi,
please provide the full backup task log of the backup job in order to see what might have gone wrong and why the backup . Also, please share your backup job configuration by running cat /etc/pve/jobs.cfg.

Also, do you have different retention settings for that VM which might have cleaned up these backups?
 
Code:
➜  ~ cat /etc/pve/jobs.cfg
vzdump: backup-93c80e7a-4b6f
        schedule 07:00
        all 1
        compress zstd
        enabled 1
        mailnotification always
        mode stop
        node pve
        notes-template {{vmid}} - {{guestname}}  - daily
        prune-backups keep-daily=3,keep-last=3,keep-monthly=2,keep-weekly=2
        storage backups

vzdump: backup-7ebddcd9-65ba
        comment Additional backup to another drive
        schedule 05:00
        all 1
        compress zstd
        enabled 1
        mailnotification always
        mode stop
        node pve
        notes-template {{guestname}}
        prune-backups keep-last=2,keep-monthly=1,keep-weekly=1
        storage SSD

keep-daily=3 is an addition I added today.
 
Last edited:
Looks like it is because I have Stop method. Since there are people connected through terminal there, it is not stopped. I need separate suspend or even snapshot method.
 

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!