#!/bin/bash # Load environment variables from .env file source .env # Export Borg passphrase export BORG_PASSPHRASE=$PASSPHRASE export BORG_RSH="ssh -i $SSH_KEY -p $SSH_PORT" sudo -E borg break-lock "$SERVER_USER@$SERVER_IP:$REPOSITORY"