Restic

Install Restic 
 apt update
apt install restic 
 Configure 
 Create restic_env.sh with content: 
 export AWS_ACCESS_KEY_ID="access_key"
export AWS_SECRET_ACCESS_KEY="secret_key"

export RESTIC_REPOSITORY="s3:http://IP-OR-DNS:7070/bucket"

# Password for Restic-Encryption (DO NOT LOOSE! MANDATORY FOR RESTORE!)
export RESTIC_PASSWORD="good_password_that_you_never_forget" 
 Then init the repo 
 source restic_env.sh
restic init 
 Backup Script 
 Create restic_backup.sh with content: 
 export AWS_ACCESS_KEY_ID="access_key"
export AWS_SECRET_ACCESS_KEY="secret_key"
export RESTIC_REPOSITORY="s3:http://IP-OR-DNS:7070/bucket"
export RESTIC_PASSWORD="good_password_that_you_never_forget"

#Backups all listed paths to one restic snapshot
restic backup /etc /var/www /home/user/data 
  