I have created backups of AMIs for AWS in the past, but I have a medium instance that is causing me troubles.
When I run uname -m, I get -i686
When I run the full command with this value, I get an error:
Unsupported architecture [i686].
If I do uname -a, I see i386 at the end - should I be using i386 as the parameter then? Thanks.
if [ $(uname -m) = 'x86_64' ]; then arch='x86_64'; else arch='i386'; fi– AlanZ Aug 31 '11 at 2:12i386then. What happens if you backup to the wrong type? – skaz Aug 31 '11 at 3:01x86_64andi386parameters, and they both worked. Will both of these restore correctly? I figured this flag did something to the backup. – skaz Aug 31 '11 at 15:47