Hi Marcelo,
When replying to emails on this list, please do not put your reply
above the quoted text, and do not quote the entire message you're
answering to. This makes it unnecessarily hard for other readers to
understand the context of your email. Instead, please cut quoted parts
that are not relevant to your reply, and insert your responses right
after the points you're replying to (as I have done below). Thanks!
On Oct 22 2015, Marcelo Terres <
mhte...@gmail.com> wrote:
> On Wed, Oct 21, 2015 at 5:17 PM, Nikolaus Rath <
Niko...@rath.org> wrote:
>> On Oct 21 2015, Marcelo Terres <
mhte...@gmail.com> wrote:
>>> Hi.
>>>
>>> I was using my S3 bucket in standard region and I'm having a lot of
>>> problems with data.
>>>
>>> So, I created a new S3 bucket in Oregon region, and, to avoid send all data
>>> again, I used aws cli sync to "copy" data from one bucket to another.
>>>
>>> The problem now is that I can't mount this new s3 bucket in s3ql. Is there
>>> something that I can do to solve this problem?
>>>
>>> This is the output after trying to mount it:
>>>
>> [...]
>>> "/usr/local/lib/python3.4/dist-packages/s3ql-2.15-py3.4-linux-x86_64.egg/s3ql/backends/s3c.py",
>>> line 715, in _extractmeta
>>> raise CorruptedObjectError('Invalid metadata format: %s' % format_)
>>> s3ql.backends.common.CorruptedObjectError: Invalid metadata format:
>>> raw
>>
>> Sounds like you copied only the objects, but not the associated
>> metadata. You can check that using the aws management console.
>>
>
> I have thousands of files in the bucket.
A bucket doesn't contain files, it contains "storage objects". If you
think of them as files, you'll most likely make some incorrect
assumptions (like you do below).
> Metadata have an specific filename or extension, like .db?
Metadata is data associated with a storage object, it's not a separate
storage object. Open the AWS Management Console, and click on any one
storage object, then on the "Properties" button on the right, and then
expand the "Metadata" section. I bet that in the original bucket, it
will show some metadata, while in the new bucket there will be nothing.