EC2自动备份需要volumeid参数并已提供

时间:2013-12-06 19:14:50

标签: amazon-web-services ssh amazon-ec2 backup ec2-api-tools

我下载了这个EC2 automate backup tool并将其上传到ec2-user文件夹。我用SSH来执行它

/home/ec2-user/ec2-automate-backup/ec2-automate-backup.sh -v "vol-XXXXXXXX"

并返回:

The selection method "volumeid" (which is ec2-automate-backup.sh's default 
selection_method of operation or requested by using the -s volumeid parameter) 
requires a volumeid (-v volumeid) for operation. Correct usage is as follows: 
"-v vol-6d6a0527","-s volumeid -v vol-6d6a0527" or "-v "vol-6d6a0527 
vol-636a0112"" if multiple volumes are to be selected.

1 个答案:

答案 0 :(得分:0)

删除双引号,如果要选择多个卷,则只需要它们。