This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Configuration | |
RCLONE_REMOTE="dropbox:/" # Adjust this if you don't want the full Dropbox | |
BACKUP_DIR="/path/to/backups" # Adjust to your local backup directory | |
SNAPSHOT_LIMIT=500000 # Max usage in MB (500 GB) | |
# Create backup directory if it doesn't exist | |
mkdir -p "$BACKUP_DIR" |
OlderNewer