On 09/18/2014 01:02 PM, Nick Carboni wrote:
> I am trying to move data from a local s3ql file system to the Amazon
> cloud such that I could then mount the destination storage URL using
> s3ql and see the same data in the cloud as I did in the local file system.
>
> Every time I run clone_fs.py I get the following output:
>
> Enter backend login:
> Enter backend password:
> Copied 2 objects so far...Uncaught top-level exception:
> Traceback (most recent call last):
> File "./clone_fs.py", line 103, in <module>
> main(sys.argv[1:])
> File "./clone_fs.py", line 77, in main
> metadata = src_backend.lookup(key)
> File "/home/phd/s3ql-1.19/src/s3ql/backends/local.py", line 70, in
> lookup
> raise ChecksumError('Invalid metadata')
> ChecksumError: Invalid metadata
>
> I'm not sure if I'm using the incorrect local storage URL or if it is
> something to do with the destination, but no matter what combination
> of parameters I use I always get the same result.
Could you copy&paste the complete sequence of commands that you are
using? I just tested it, and it seems to work fine:
$ wget https://bitbucket.org/nikratio/s3ql/downloads/s3ql-1.19.tar.bz2
[...]
$ tar xjf s3ql-1.19.tar.bz2
$ cd s3ql-1.19
$ ./setup.py build_ext --inplace
[..]
$ bin/mkfs.s3ql --version
S3QL 1.19
$ md bucket
$ bin/mkfs.s3ql local://bucket
Before using S3QL, make sure to read the user's guide, especially
the 'Important Rules to Avoid Loosing Data' section.
Enter encryption password:
Confirm encryption password:
Generating random encryption key...
Creating metadata tables...
Dumping metadata...
..objects..
..blocks..
..inodes..
..inode_blocks..
..symlink_targets..
..names..
..contents..
..ext_attributes..
Compressing and uploading metadata...
Wrote 0.00 MiB of compressed metadata.
$ md mnt
$ bin/mount.s3ql local://bucket mnt
Using 10 upload threads.
Enter file system encryption passphrase:
Using cached metadata.
Mounting filesystem...
$ cp * mnt/
cp: omitting directory ‘bin’
cp: omitting directory ‘bucket’
cp: omitting directory ‘build’
cp: omitting directory ‘contrib’
cp: omitting directory ‘doc’
cp: omitting directory ‘mnt’
cp: omitting directory ‘rst’
cp: omitting directory ‘src’
cp: omitting directory ‘tests’
cp: omitting directory ‘util’
$ bin/umount.s3ql mnt
$ contrib/clone_fs.py local://bucket s3://nikratio-test/fs-copy
Copied 11 objects so far...
Best,
-Nikolaus
--
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F
»Time flies like an arrow, fruit flies like a Banana.«
--
You received this message because you are subscribed to the Google Groups
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.