Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Command line tool to handle Postgresql WAL archiving on Rackspace's cloudfiles.

Project description

pg_raxarchive is a command line tool to handle Postgresql WAL archiving on Rackspace’s cloudfiles.

Quick help

Install using pip then:

  • Create a file /etc/pg_raxarchive.ini with rackspace credentials (see below).
  • Run pg_raxarchive upload {path_to_file} {basename} to upload archive a file.
  • Run pg_raxarchive download {basename} {path_to_file} to download an archived file.
  • Run pg_raxarchive cleanup {filename} to remove WAL files older than {filename}.

Rackspace credential file follows pyrax format:

[rackspace_cloud]
username = YUOR_USERNAME_HERE
api_key  = YOUR_API_KEY_HERE

You can customize the region and the container name using:

  • pg_raxarchive --container CONTAINE_RNAME ...
  • pg_raxarchive --region REGION_NAME ...

By default pg_raxarchive expects to be running inside rackspace network. If this is not your case or you want to be billed for some other reasons use pg_raxarchive --use-public.

More

Project details


Release history Release notifications

This version
History Node

1.1

History Node

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pg_raxarchive-1.1.tar.gz (3.8 kB) Copy SHA256 hash SHA256 Source None Jan 20, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page