https://github.com/exhuma/pickup
Modular backup script written in python
https://github.com/exhuma/pickup
Last synced: 9 months ago
JSON representation
Modular backup script written in python
- Host: GitHub
- URL: https://github.com/exhuma/pickup
- Owner: exhuma
- Created: 2010-11-07T14:27:51.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2011-07-15T14:46:25.000Z (almost 15 years ago)
- Last Synced: 2025-08-16T16:34:47.684Z (10 months ago)
- Language: Python
- Homepage:
- Size: 375 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
Modular backup script written in python
=======================================
INSTALLATION
------------
.. note:: I recommend using virtualenv, but nothing prevents you installing
it into the root system
Requirements
~~~~~~~~~~~~
When installing this package, it will build the MySQL and Postgres clients. So
you'll need the necessary headers, plus gcc on your machine.
For Ubuntu, run the following::
sudo apt-get install libmysqlclient-dev libpq-dev python-dev \
build-essential
Installation procedure
~~~~~~~~~~~~~~~~~~~~~~
- Download the latest package from http://www.github.com/exhuma/pickup I
recommend using the latest tagged version, but if you want bleeding edge, you
may also download the "master" branch.
- untar the package::
tar xzf exhuma-pickup-.tar.gz
- enter the folder::
cd exhuma-pickup-
When not using virtualenv, you may skip this section
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. note:: If you don't have virtualenv, run the following:
``sudo apt-get install python-setuptools && easy_install virtualenv``
- create a virtualenv::
virtualenv --no-site-packages /path/to/your/env
- activate the environment::
source /path/to/your/env/bin/activate
Without virtualenv
~~~~~~~~~~~~~~~~~~
- run the installer::
python setup.py install
Finished & Trying things out
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The script is now installed in you system's binary path as "pickup". When using
virtualenv, this will be /path/to/your/env/bin, otherwise it will most likely
be ``/usr/local/bin``
You may now deactivate the virtualenv by entering "deactivate". In the future
it will no longer be necessary to activate the environment manually. The
executable script will run automatically in the proper environment.
To see if everything worked as expected, you may run::
/path/to/your/env/pickup --help
or simply (if it's on your ``$PATH``)::
pickup --help
Please see the official docs at http://exhuma.github.com/pickup/ for more
information!