ts3-server-updater/backup

4 lines
82 B
Bash
Executable File

#!/bin/bash
sudo mkdir -p /BACKUP/
cp -rp /opt/ /BACKUP/opt-$(date +"%d-%m-%Y")/