The first step of my major wholesome migration to decentralized object storage has been to host on Cubbit DS3 the backups of Xplosion Server generated by YunoHost.
TL;DR: I am using s3fs to mount Cubbit S3 storage as an external storage device, and I use a little script that performs a YunoHost backup every night, saving it there.
Process
I am not getting into basic things such as creating a bucket on Cubbit and configuring it.
s3fs
- Install s3fs:
apt install s3fs
- Save Cubbit DS3 credentials in
nvim /etc/passwd-s3fs
- Create the directory that would be mounted as an external device:
mkdir /mnt/backup
- Run s3fs to link the bucket and the local directory
s3fs /mnt/backup -o url=https://s3.cubbit.eu -o endpoint=eu-west-1 -o use_path_request_style -o bucket=backup.tommi.space -o allow_other
Comments