Added restore custom code
This commit is contained in:
parent
f65134151e
commit
7e2a64061b
2 changed files with 2 additions and 0 deletions
|
@ -1428,6 +1428,8 @@ docker_restore() {
|
|||
tar -xf /var/${CP_DOMAIN}/config.tar && \
|
||||
tar --exclude=themes/default/views/desktop \
|
||||
-xf /var/${CP_DOMAIN}/themes.tar
|
||||
mkdir -p /home/${CP_DOMAIN}/config/custom
|
||||
cp -rf /home/${CP_DOMAIN}/config/custom/* /home/${CP_DOMAIN}/
|
||||
docker_start
|
||||
}
|
||||
docker_backup() {
|
||||
|
|
0
config/custom/.gitkeep
Normal file
0
config/custom/.gitkeep
Normal file
Loading…
Reference in a new issue