The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Metabase::Archive::S3 - Metabase storage using Amazon S3

VERSION

version 1.000

SYNOPSIS

  require Metabase::Archive::S3;
  Metabase::Archive::S3->new(
    access_key_id => 'XXX',
    secret_access_key => 'XXX',
    bucket     => 'acme',
    prefix     => 'metabase/',
    compressed => 0,
  );

DESCRIPTION

This is an implementation of the Metabase::Archive role using Amazon S3

ATTRIBUTES

bucket (required)

S3 bucket name to use for storage

prefix (required)

S3 prefix (within the bucket) to use for storage. This should be unique for each Metabase installation.

compressed (deprecated)

Boolean flag indicating whether facts should be compressed prior to S3 storage. Once facts are stored compressed or not compressed, this should not be changed for any given Metabase archive.

The default is now true and this attribute deprecated. It remains to allow access to older, uncompressed archives.

USAGE

See Metabase::Backend::AWS for common constructor attributes and see below for constructor attributes specific to this class. See Metabase::Archive and Metabase::Librarian for details on usage.

AUTHOR

David Golden <dagolden@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2011 by David Golden.

This is free software, licensed under:

  The Apache License, Version 2.0, January 2004