Helper to transfer data to CephFs and setup wikis

This commit is contained in:
Paul-Henri Froidmont 2019-09-01 03:41:21 +02:00
parent 80321d5ec9
commit d77f2ef548
10 changed files with 163 additions and 39 deletions

View file

@ -0,0 +1,7 @@
#!/bin/bash
set -e
DESTINATION_HOST=116.203.8.164
rsync -aAvh -e 'ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p 30522' --progress /var/lib/wiki/ root@${DESTINATION_HOST}:/data/wiki --delete