Fix blbackup after migration
This commit is contained in:
parent
0e6d1ef4ba
commit
5f1b2960aa
@ -1,7 +1,7 @@
|
||||
#/bin/sh
|
||||
|
||||
name=$(ssh www-data@cemophora 'cd dbmanager && ./bin/console db:backup bluelinked' | awk -F'-|\\.def' '{split($1,a," ")}$0=a[4]')
|
||||
scp -C www-data@cemophora:/var/www/dbmanager/${name} ~/projects/dbmanager
|
||||
cd ~/projects/dbmanager && ./bin/console db:purge bluelinked && ./bin/console db:restore bluelinked ${name}
|
||||
name=$(ssh www-data@simalia 'cd dbmanager && ./bin/console db:backup bles' | awk -F'-|\\.def' '{split($1,a," ")}$0=a[4]')
|
||||
scp -C www-data@simalia:/var/www/dbmanager/${name} ~/projects/dbmanager
|
||||
cd ~/projects/dbmanager && ./bin/console db:purge bles && ./bin/console db:restore bles ${name}
|
||||
|
||||
scp -Cr www-data@cemophora:/var/www/bluelinked.loken.nl/shared/public/uploads/images/ ~/projects/bluelinked/public/uploads/
|
||||
scp -Cr www-data@simalia:/var/www/bles.bluelinked.nl/shared/public/uploads/images/ ~/projects/bles/public/uploads/
|
||||
|
@ -27,7 +27,7 @@ server {
|
||||
# Add index.php to the list if you are using PHP
|
||||
index index.html index.htm index.php;
|
||||
|
||||
server_name "~^(?<sub>.+)\.basic.local\.loken\.nl$";
|
||||
server_name "~^(?<sub>.+)\.basic\.local\.loken\.nl$";
|
||||
|
||||
location / {
|
||||
# First attempt to serve request as file, then
|
||||
|
Loading…
Reference in New Issue
Block a user