backup command line error after upgrade to 4.0 beta 2

vkhera

Member
Feb 24, 2015
192
15
18
Maryland, USA
I upgraded my 4.0 beta1 nodes to 4.0 beta2. Over night I received an error from the backup cron job:

Code:
[COLOR=#000000][FONT=Monaco]400 too many arguments[/FONT][/COLOR]
[COLOR=#000000][FONT=Monaco]vzdump {<vmid>} [OPTIONS][/FONT][/COLOR]

The crontab entry for vzdump is this:

Code:
vzdump 103 104 --mailto XXXX --storage filer --mailnotification failure --quiet 1 --mode snapshot

After going to the backup tab of the cluster and re-saving the backup configurations, it changed the list from "103 104" to "103,104". I assume this will work tonight :cool:
 
Hi vkhera,

Try updating the crontab jobs. In the crontab entry the command should then use a comma (,) to divide the VMs like this:

Code:
vzdump 103,104 --mailto XXXX --storage filer --mailnotification failure --quiet 1 --mode snapshot
 
Yes, the re-save of the backup config UI page updated the crontab entries for all back up jobs. I would suggest that any configuration files written into the system be re-generated from the configuration database upon upgrades.
 

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!