README.md in sdbport-0.3.0 vs README.md in sdbport-0.4.0

- old
+ new

@@ -4,11 +4,13 @@ Sdbport exports & imports data from AWS SimpleDB domains. It can be used as a class or stand alone CLI. ## Installation +``` gem install sdbport +``` ## Getting Started Set your AWS credentials: @@ -18,16 +20,23 @@ ``` Export SimpleDB domain from us-west-1: ``` -sdbport export -a $AWS_ACCESS_KEY_ID -s $AWS_SECRET_ACCESS_KEY -r us-west-1 -n data -o /tmp/test-domain-dump +sdbport export -k $AWS_ACCESS_KEY_ID -s $AWS_SECRET_ACCESS_KEY -r us-west-1 -n data -o /tmp/test-domain-dump ``` +To export larger SimpleDB domains, add -w. This writes each chunk to file as it is received rather than storing in memory: + +``` +sdbport export -k $AWS_ACCESS_KEY_ID -s $AWS_SECRET_ACCESS_KEY -r us-west-1 -n data -o /tmp/test-domain-dump -w +``` + Import into domain in us-east-1 ``` -sdbport import -a $AWS_ACCESS_KEY_ID -s $AWS_SECRET_ACCESS_KEY -r us-west-1 -n data -i /tmp/test-domain-dump +sdbport import -k $AWS_ACCESS_KEY_ID -s $AWS_SECRET_ACCESS_KEY -r us-west-1 -n data -i /tmp/test-domain-dump +``` ## Exporting and importing from multiple accounts. You can specify your credentials on the command line, however it is best to add them to a configuration file.