Skip to content

Commit 5f166eb

Browse files
Merge pull request #6 from russellmacshane/dev
Dev into Master
2 parents c8de747 + 928be16 commit 5f166eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

restore.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ sudo rm -rf /var/www/html/*
2121

2222
echo "***************************** Restore Files ******************************"
2323
sudo mv /tmp/wp-bkup/var/www/html/* /var/www/html/
24+
sudo chown -R www-data: /var/www/html/
2425

2526
echo "***************************** Restore Database ***************************"
2627
sudo mysql $wp_db < /tmp/wp-bkup/datadump.sql

0 commit comments

Comments
 (0)