Start by signing in at storj.io and creating a new bucket. Make sure you registered a account in region that is nearest your location (EU1, US1, etc.).
Make sure you written down your encryption secret, without it you wouldn’t be able to access your data. Go to Access tab and create new S3 credentials.
Next log in into PVE dashboard and run Shell. Install goofys
apt update apt install fuse wget wget https://github.com/kahing/goofys/releases/latest/download/goofys mv goofys /usr/bin/goofys chmod +x /usr/bin/goofys
Configure S3 credentials, add your key and secret into
mkdir .aws cat .aws/credentials [storj] aws_access_key_id=<Access Key> aws_secret_access_key=<Secret Key>
Create directory where we will mount our bucket -
Add our S3 bucket to fstab -
nano /etc/fstab. (replace #pve-backup-test with your bucket name)
# Storj bucket S3 mount goofys#pve-backup-test /mnt/storj fuse _netdev,allow_other,--stat-cache-ttl=0,--type-cache-ttl=0,--endpoint=https://gateway.storjshare.io,--profile=storj 0 0
and mount all fstab entries -
mount -a, now go to our directory
cd /mnt/storj and try to create a file
Now in Proxmox dashboard open Datacenter -> Storage -> Add -> Directory and fill the fields.
Go to Datacenter -> Backup and set up a backup cron, you can run it by pressing “Run now” button above task list.
you can verify that files have been uploaded