I did a copy and restore of the backend of s3ql on local storage and 
getting the following error:

# mount.s3ql local:///ntap4/restore/ /s3ql/restore/
Using 10 upload threads.
Autodetected 4034 file descriptors available for cache entries
Enter file system encryption passphrase: 
ERROR: Uncaught top-level exception:
Traceback (most recent call last):
  File "/usr/bin/mount.s3ql", line 9, in <module>
    load_entry_point('s3ql==2.18', 'console_scripts', 'mount.s3ql')()
  File "/usr/lib/s3ql/s3ql/mount.py", line 129, in main
    (param, db) = get_metadata(backend, cachepath)
  File "/usr/lib/s3ql/s3ql/mount.py", line 374, in get_metadata
    param = backend.lookup('s3ql_metadata')
  File "/usr/lib/s3ql/s3ql/backends/comprenc.py", line 77, in lookup
    return self._verify_meta(key, meta_raw)[1]
  File "/usr/lib/s3ql/s3ql/backends/comprenc.py", line 137, in _verify_meta
    raise CorruptedObjectError('HMAC mismatch')
s3ql.backends.common.CorruptedObjectError: HMAC mismatch



On Wednesday, June 29, 2016 at 11:53:06 AM UTC-7, Nikolaus Rath wrote:
>
> On Jun 29 2016, Peter Auyeung <[email protected] <javascript:>> 
> wrote: 
> > Is there a way to backup and restore metadata of s3ql? 
>
> You could copy/restore the s3ql_metadata object in your storage backend, 
> or the *.db file in your --cachedir. 
>
> > I wonder if it is possible to restore metadata of a particular path of 
> > s3ql 
>
> Not without writing code. 
>
>
> 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.« 
>

On Wednesday, June 29, 2016 at 11:53:06 AM UTC-7, Nikolaus Rath wrote:
>
> On Jun 29 2016, Peter Auyeung <[email protected] <javascript:>> 
> wrote: 
> > Is there a way to backup and restore metadata of s3ql? 
>
> You could copy/restore the s3ql_metadata object in your storage backend, 
> or the *.db file in your --cachedir. 
>
> > I wonder if it is possible to restore metadata of a particular path of 
> > s3ql 
>
> Not without writing code. 
>
>
> 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.« 
>

On Wednesday, June 29, 2016 at 11:53:06 AM UTC-7, Nikolaus Rath wrote:
>
> On Jun 29 2016, Peter Auyeung <[email protected] <javascript:>> 
> wrote: 
> > Is there a way to backup and restore metadata of s3ql? 
>
> You could copy/restore the s3ql_metadata object in your storage backend, 
> or the *.db file in your --cachedir. 
>
> > I wonder if it is possible to restore metadata of a particular path of 
> > s3ql 
>
> Not without writing code. 
>
>
> 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.

Reply via email to