Non-deterministic order of backup job arguments

Jul 3, 2020
23
1
8
47
Hi, while checking my backup emails I noticed that the issued command varies the order of arguments although no changes where done to the backup job:

vzdump 500 --mailnotification always --mailto <e-mail recipient> --mode snapshot --node appserver3 --storage backupserver1 --quiet 1 --compress zstd vzdump 500 --mailnotification always --node appserver3 --compress zstd --quiet 1 --mailto <e-mail recipient> --storage backupserver1 --mode snapshot vzdump 500 --mailnotification always --quiet 1 --storage backupserver1 --node appserver3 --compress zstd --mailto <e-mail recipient> --mode snapshot vzdump 500 --storage backupserver1 --mailto <e-mail recipient> --compress zstd --quiet 1 --mode snapshot --mailnotification always --node appserver3 vzdump 500 --mailto <e-mail recipient> --node appserver3 --storage backupserver1 --mailnotification always --mode snapshot --compress zstd --quiet 1 vzdump 500 --storage backupserver1 --mode snapshot --mailnotification always --quiet 1 --mailto <e-mail recipient> --node appserver3 --compress zstd

How come? I just ask because non-determinism in regard to backups is a little bit worrisome. I can imagine completely comprehensible reasons but it would be nice to get some affirmation. I guess determining arguments to vzdump is somehow parallized and the seemingly random ordering is caused by different execution times of the different threads.

Bests,
Masin
 
Yes, as expected the keys are not sorted. It's the sub command_line in /usr/share/perl5/PVE/VZDump/Common.pm.
 
  • Like
Reactions: MasinAD

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!