#!/bin/bash # Backup script meant for backing up stuff that is not managed by $env # Requires root privileges # Set backup location here bak=/path/to/backup/location # Backup a sample directory rsync /path/to/source/ "$bak"