#!/bin/bash
source "${AGENT_PATH}/_common.sh"
_check_required_env_vars "LOCAL_DATA_FOLDER"

# Nginx Example Backup Script
# hot backup is fine for nginx website content.

autobackup "path=${LOCAL_DATA_FOLDER}" $1 $2 || _die "Failed to create backup"

echo "Backup complete"
