VM backup exclude syntaxe on Windows

Lada

Member
Oct 23, 2019
13
0
21
43
Hello,

I searched the forum but I couldn't find an answer so I'm posting my question here.
I'm trying to exclude 'pagefile.sys' while making backup of my windows VM.

In the file /etc/cron.d/vzdump I added this --exclude-path .+/pagefile.sys at the end of the line of the VM.

But it doesn't seems to work. I mean the size of the backup file is the same with or without the exclude-path
I don't know how to look inside the file to verify the structure of the dump.

Is there a special syntaxe for windows's path?

Thank you.
 
Ok, interesting idea.

I quickly searched but didn't find the information.
The help says:
backup=<boolean>
Whether the drive should be included when making backups.


With backup=no the drive won't be created (empty) when I will restore the VM ?
 

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!