How to Install DREBS on OpenSUSE Latest
DREBS (Disaster REcovery Backup Solution) is a backup tool for AWS. In this tutorial, we will walk you through how to install DREBS on OpenSUSE Latest.
Prerequisites
Before starting, you will need the following:
- OpenSUSE Latest installed
- Root privileges
- Basic knowledge of the Linux command line
Installation Steps
- Update your system:
sudo zypper update
- Install pre-requisite packages:
sudo zypper install git duplicate acl python-pip python-devel python-virtualenv python-ldap python-augeas python-cffi python-cryptography python-paramiko python-idna python-passlib python-boto python-ecdsa python-pyasn1 python-xmltodict python-jmespath python-pycrypto
- Clone the DREBS repository using Git:
git clone https://github.com/dojo4/drebs.git
- Change the current directory to the cloned repository:
cd drebs
- Create a virtual environment and activate it:
virtualenv -p python2 venv
source venv/bin/activate
- Install required python packages:
pip install -r requirements.txt
- Install DREBS:
python setup.py install
- Configure DREBS:
Copy the sample DREBS configuration file:
cp config/drebs.yml.sample config/drebs.yml
Edit config/drebs.yml as per your needs.
- You are now ready to use DREBS. To run DREBS, type the following command:
drebs
Conclusion
Congratulations! You have successfully installed DREBS on OpenSUSE Latest. You can now use it to take backups of your AWS instances.