Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

SX cluster backup utility

Project description

Introduction

sxdump analyses SX Cluster’s structure and generates two shell scripts in the current directory: sx-backup.sh and sx-restore.sh. The first script will backup all data from the cluster, and the other contains information on how to recreate the structure, including all volumes, users and ACLs. WARNING: Encrypted volumes are not supported and will be ignored by sxdump.

sxdump uses sxclient library (https://pypi.python.org/pypi/sxclient) and requires Python 2.7.

Installation

Since sxdump is available on PyPI (https://pypi.python.org/pypi/sxdump), it can be installed with pip.

pip install sxdump

If you don’t want to use pip, download sxdump tarball from its PyPI site, unpack the archive, go to the unpacked directory and run

python setup.py install

Note that the latter installation method requires Python setuptools module, which can be installed either from the system package repository or by following the installation instructions on setuptools PyPI site.

Usage

sxdump --backup-dir DIR sx://[profile@]cluster

where DIR is a path to a directory which will store the cluster backup.

Project details


Release history Release notifications

Download files

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

Files for sxdump, version 2.0.1
Filename, size File type Python version Upload date Hashes
Filename, size sxdump-2.0.1-py2-none-any.whl (11.0 kB) File type Wheel Python version py2 Upload date Hashes View hashes
Filename, size sxdump-2.0.1.tar.gz (7.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

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