DREBS (Disaster Recovery for Elastic Block Store) is a tool that automates backing up of an Amazon Web Services (AWS) Elastic Block Store (EBS) volume snapshot and deleting older snapshots. Here's a tutorial on how to install DREBS on Alpine Linux Latest.
apk update && apk upgrade
apk add python3 python3-dev py-pip gcc libffi-dev musl-dev openssl-dev make
git clone https://github.com/dojo4/drebs.git
cd drebs
pip3 install -r requirements.txt
cp drebs.conf.example drebs.conf
nano drebs.conf
Edit the configuration file with your AWS credentials and other preferences. You can find more details about the configuration file on the official DREBS documentation.
Save the configuration file and exit the nano editor by pressing Ctrl + X
, Y
, and Enter
.
Run DREBS:
./drebs.py
You have successfully installed DREBS on your Alpine Linux instance and are ready to automate your EBS snapshots.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!