我下载了这个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.
答案 0 :(得分:0)
删除双引号,如果要选择多个卷,则只需要它们。