Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions dynamodump.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,12 @@ def do_restore(conn, sleep_interval, source_table, destination_table, write_capa
sleep_interval = AWS_SLEEP_INTERVAL


# don't proceed if connection is not established
if not conn:
logging.info('Unable to establish connection with dynamodb')
sys.exit(1)


# set prefix separator
prefix_separator = DEFAULT_PREFIX_SEPARATOR
if args.prefixSeparator is not None:
Expand Down