mirror of
https://github.com/paradizelost/docker.git
synced 2024-11-25 02:44:45 -06:00
Adding data to push info to test env
This commit is contained in:
parent
f18d6c1079
commit
250a4011c4
13
rebuild-test.sh
Executable file
13
rebuild-test.sh
Executable file
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
cd /var/docker/config
|
||||||
|
rm -f dockerbackup.tar
|
||||||
|
find . -name "*.jar" -exec tar -rvf dockerbackup.tar {} \;
|
||||||
|
find . -name "*.properties" -exec tar -rvf dockerbackup.tar {} \;
|
||||||
|
find . -name "*.pem" -exec tar -rvf dockerbackup.tar {} \;
|
||||||
|
find . -name "*.cfg" -exec tar -rvf dockerbackup.tar {} \;
|
||||||
|
find . -name "*.json" -exec tar -rvf dockerbackup.tar {} \;
|
||||||
|
find . -name "passwd" -exec tar -rvf dockerbackup.tar {} \;
|
||||||
|
find . -name "shadow" -exec tar -rvf dockerbackup.tar {} \;
|
||||||
|
find . -name docker-compose.yml -exec tar -rvf dockerbackup.tar {} \;
|
||||||
|
scp dockerbackup.tar root@10.0.2.41:/var/docker/
|
||||||
|
ssh root@10.0.2.41 rebuild-env.sh
|
Loading…
Reference in New Issue
Block a user