bak/server_to_archive.sh

15 lines
260 B
Bash
Raw Normal View History

2024-02-24 16:33:16 +01:00
#!/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"