bak/server_to_archive.sh

15 lines
260 B
Bash
Executable File

#!/bin/sh
BAK="/Data/_server"
rsync -zrhP --links --size-only --verbose --delete \
"/Servers/infra/var/www/" \
"$BAK/infra-www"
rsync -zrhP --links --size-only --verbose --delete \
"/Servers/infra/var/lib/docker/volumes/" \
"$BAK/docker-volumes"