I just installed your EBS backup program. I set the Tag to be $DOW-$TIME-$VOLID, but it doesn’t show up in the description or name of the snapshot.
Am I doing something wrong?
Thanks,
Carlton
EBS snapshot tagging
Re: EBS snapshot tagging
If you want to set the name of a snapshot please use:
Name=$DOW-$TIME-$VOLID
Tag keys and values are case-sensitive. You can find more Information here:
http://www.automaticloud.net/backup-ec2-instance/
Stephan
Name=$DOW-$TIME-$VOLID
Tag keys and values are case-sensitive. You can find more Information here:
http://www.automaticloud.net/backup-ec2-instance/
Stephan
Re: EBS snapshot tagging
I used the exact syntax you suggested, but now I'm getting the following error:
Exception: Couldn't store job: Unable to store Job: 'AWSJob.AWSCopySnapshotJob201606270916167638', because one already exists with this identification.
Job Type: Copy EC2 Snapshot
Job Name:
Job ID: AWSCopySnapshotJob201606270915165957
Host: CLOUDDC
Timestamp: 6/27/2016 9:16:16 AM
Exception: Couldn't store job: Unable to store Job: 'AWSJob.AWSCopySnapshotJob201606270916167638', because one already exists with this identification.
Job Type: Copy EC2 Snapshot
Job Name:
Job ID: AWSCopySnapshotJob201606270915165957
Host: CLOUDDC
Timestamp: 6/27/2016 9:16:16 AM
Re: EBS snapshot tagging
The error message is generated during the copy of the snapshot to another region. Please deactivate this option first and check if the snapshot has been created and tagged correctly.
Then activate the copy-to-region option again and send the logfile of the background service by mail. You can find it in the help menu.
Stephan
Then activate the copy-to-region option again and send the logfile of the background service by mail. You can find it in the help menu.
Stephan
Re: EBS snapshot tagging
Stephan,
The snapshots are created, but the tag for Name isn't getting created for the snapshop. The Name field is blank.
The snapshots are created, but the tag for Name isn't getting created for the snapshop. The Name field is blank.
Re: EBS snapshot tagging
My original post was incorrect. The correct tag string is "Name=$DOW-$TIME-$VOLID"
Stephan
Stephan
Re: EBS snapshot tagging
You were correct. I didn't notice that I had NAME in all caps. Once I changed it the backup started to work.
How that I have the Name field getting populated I'd like to set the Description field so it has the instance name..
I tried using Name=$VOLID;Description=$INSTANCE
but it didn't work. I check here http://www.automaticloud.net/backup-ec2-instance/ but didn't see a way to set Description.
Can you send me the correct syntax?
How that I have the Name field getting populated I'd like to set the Description field so it has the instance name..
I tried using Name=$VOLID;Description=$INSTANCE
but it didn't work. I check here http://www.automaticloud.net/backup-ec2-instance/ but didn't see a way to set Description.
Can you send me the correct syntax?
Re: EBS snapshot tagging
The description field is not a tag like the others. It can not be set.
Stephan
Stephan
Re: EBS snapshot tagging
So far so good. You're program works.
Sure would be nice if we could add a tag so I knew the instance name for each volume snapshot and a way to add info to the description field.
Sure would be nice if we could add a tag so I knew the instance name for each volume snapshot and a way to add info to the description field.
Re: EBS snapshot tagging
In your case the job is backing up only one host and you can put the host name as a fixed string in the tag:
Name=MyHostName: $DOW-$TIME-$VOLID
You don't need a macro in this case.
I will put your request to set the description on the to-do-list.
Stephan
Name=MyHostName: $DOW-$TIME-$VOLID
You don't need a macro in this case.
I will put your request to set the description on the to-do-list.
Stephan