DREBS is an open-source backup and recovery tool for AWS instances. In this tutorial, we will learn how to install DREBS on FreeBSD latest. We will use the package manager 'pkg' to download and install the necessary dependencies.
sudo pkg update
sudo pkg install git-core py36-pip py36-setuptools
sudo git clone https://github.com/dojo4/drebs.git
cd drebs
sudo pip install -r requirements.txt
sudo cp config/drebs.ini.sample /usr/local/etc/drebs.ini
sudo cp config/config.yml.sample /usr/local/etc/drebs-config.yml
Modify the configuration files (/usr/local/etc/drebs.ini and /usr/local/etc/drebs-config.yml) to set the appropriate AWS credentials and backup and restore settings. You can edit these files using your preferred text editor.
Run the following command to start the DREBS server:
drebs server --config=/usr/local/etc/drebs-config.yml
Access the DREBS dashboard using a web browser using the URL http://Instance_IP_address:5100 where 'Instance_IP_address' is the IP address of the running FreeBSD instance.
Login using the default credentials - username: drebs and password: drebs.
Congratulations! You have successfully installed DREBS on FreeBSD Latest. You can now use DREBS to backup and restore your AWS instances.
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!