mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Helper to transfer data to CephFs and setup wikis
This commit is contained in:
parent
80321d5ec9
commit
d77f2ef548
10 changed files with 163 additions and 39 deletions
7
roles/scripts/files/syncDataToK8s.sh
Normal file
7
roles/scripts/files/syncDataToK8s.sh
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue