I did try the version 1.0 rc1 to bypass the “Err21 – is a directory” crash but even when it does not crash it does not work.

Either with sync or get it fails in some cases.

I did a s3cmd get s3://mybucket/files/backup/* /mnt/backup/ -v -d —force but even when it does not crash it does not download the files.

It normally works when I pull the files from 
an already live instance. But when the instance is starting up it sometimes retrieves the files and some times it doesn´t.

This is the debug output:

: ConfigParser: access_key->AK…17_chars…Q
DEBUG: ConfigParser: acl_public->False
DEBUG: ConfigParser: bucket_location->USsoc
DEBUG: ConfigParser: cloudfront_host->cloudfront.amazonaws.com
DEBUG: ConfigParser: cloudfront_resource->/2008-06-30/distribution
DEBUG: ConfigParser: default_mime_type->binary/octet-stream
DEBUG: ConfigParser: delete_removed->False
DEBUG: ConfigParser: dry_run->False
DEBUG: ConfigParser: encoding->UTF-8
DEBUG: ConfigParser: encrypt->False
DEBUG: ConfigParser: force->False
DEBUG: ConfigParser: get_continue->False
DEBUG: ConfigParser: gpg_command->/usr/bin/gpg
DEBUG: ConfigParser: gpg_decrypt->%(gpg_command)s -d —verbose —no-use-agent —batch —yes —passphrase-fd %(passphrase_fd)s -o %(output_file)s %(input_file)s
DEBUG: ConfigParser: gpg_encrypt->%(gpg_command)s -c —verbose —no-use-agent —batch —yes —passphrase-fd %(passphrase_fd)s -o %(output_file)s %(input_file)s
DEBUG: ConfigParser: gpg_passphrase->so…8_chars…4
DEBUG: ConfigParser: guess_mime_type->True
DEBUG: ConfigParser: host_base->s3.amazonaws.com
DEBUG: ConfigParser: host_bucket->%(bucket)s.s3.amazonaws.com
DEBUG: ConfigParser: human_readable_sizes->False
DEBUG: ConfigParser: list_md5->False
DEBUG: ConfigParser: preserve_attrs->True
DEBUG: ConfigParser: progress_meter->True
DEBUG: ConfigParser: proxy_host->
DEBUG: ConfigParser: proxy_port->0
DEBUG: ConfigParser: recursive->False
DEBUG: ConfigParser: recv_chunk->4096
DEBUG: ConfigParser: secret_key->CH…37_chars…d
DEBUG: ConfigParser: send_chunk->4096
DEBUG: ConfigParser: simpledb_host->sdb.amazonaws.com
DEBUG: ConfigParser: skip_existing->False
DEBUG: ConfigParser: urlencoding_mode->normal
DEBUG: ConfigParser: use_https->True
DEBUG: ConfigParser: verbosity->WARNING
DEBUG: Updating Config.Config encoding -> ANSI_X3.4-1968
DEBUG: Updating Config.Config follow_symlinks -> False
DEBUG: Updating Config.Config force -> True
DEBUG: Updating Config.Config verbosity -> 10
DEBUG: Unicodising ‘get’ using ANSI_X3.4-1968
DEBUG: Unicodising ‘s3://mybucket/files/backups/*’ using ANSI_X3.4-1968
DEBUG: Unicodising ‘/mnt/backups/’ using ANSI_X3.4-1968
DEBUG: Command: get
DEBUG: Unicodising ‘files/backups/’ using ANSI_X3.4-1968
DEBUG: Unicodising ‘files/backups/’ using ANSI_X3.4-1968
INFO: Retrieving list of remote files for s3://mybucket/files/backups/ …
DEBUG: String ‘files/backups/’ encoded to ‘files/backups/’
DEBUG: SignHeaders: ‘GET\n\n\n\nx-amz-date:Tue, 14 Dec 2010 01:04:55 +0000\n/mybucket/’
DEBUG: CreateRequest: resource[uri]=/
DEBUG: SignHeaders: ‘GET\n\n\n\nx-amz-date:Tue, 14 Dec 2010 01:04:55 +0000\n/mybucket/’
DEBUG: Processing request, please wait…
DEBUG: get_hostname(mybucket): mybucket.s3.amazonaws.com
DEBUG: format_uri(): /?prefix=files/backups/&delimiter=/
Generating public/private rsa key pair.
DEBUG: Response: {‘status’: 200, ‘headers’: {‘x-amz-id-2’: ‘s/vI0iRGQdk9/iM6xzui7rDxVlmRp/oR7NwH/we3GHxwa0vmEwL0jOMsmgI1BzFP’, ‘server’: ‘AmazonS3’, ‘transfer-encoding’: ‘chunked’, ‘x-amz-request-id’: ‘13551896900FB621’, ‘date’: ‘Tue, 14 Dec 2010 01:04:56 GMT’, ‘content-type’: ‘application/xml’}, ‘reason’: ‘OK’, ‘data’: ‘<?xml version=“1.0” encoding=“UTF-8”?>\n<ListBucketResult xmlns=“http://s3.amazonaws.com/doc/2006-03-01/”><Name>mybucket</Name><Prefix>files/backups/</Prefix><Marker></Marker><MaxKeys>1000</MaxKeys><Delimiter>/</Delimiter><IsTruncated>false</IsTruncated><Contents><Key>files/backups/restoreme.tar.gz</Key><LastModified>2010-12-13T17:57:50.000Z</LastModified><ETag>&quot;f078001e5cad26a44ebaef747023764c&quot;</ETag><Size>307093997</Size><Owner><ID>44277703242175099626d7bbec3a245495249670020aed236ce88b704b066100</ID><DisplayName>diegofbarajas</DisplayName></Owner><StorageClass>STANDARD</StorageClass></Contents></ListBucketResult>’}
INFO: Applying —exclude/—include
DEBUG: CHECK: restoreme.tar.gz
DEBUG: PASS: restoreme.tar.gz
INFO: Summary: 1 remote files to download
DEBUG: DeUnicodising u’/mnt/backups/’ using ANSI_X3.4-1968
DEBUG: Unicodising ‘/mnt/backups/’ using ANSI_X3.4-1968
ERROR: Skipping /mnt/backups/: Is a directory



--
Comparte tus recomendaciones y opiniones de negocios,
dilo en http://www.asipensamos.com