diff --git a/bin/bin/blbackup b/bin/bin/blbackup index eed47d0..8823c0c 100755 --- a/bin/bin/blbackup +++ b/bin/bin/blbackup @@ -3,3 +3,5 @@ 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} + +scp -Cr www-data@cemophora:/var/www/bluelinked.loken.nl/shared/public/uploads/images/ ~/projects/bluelinked/public/uploads/