Restoring legacy blog
This commit is contained in:
parent
4e90ad8135
commit
fbf6854879
|
@ -223,6 +223,7 @@ function restore_local_htmly {
|
|||
if [ $HTMLY_DOMAIN_NAME ]; then
|
||||
echo $"Restoring htmly installation"
|
||||
temp_restore_dir=/root/temphtmly
|
||||
restore_directory_from_usb $temp_restore_dir blog
|
||||
restore_directory_from_usb $temp_restore_dir htmly
|
||||
rm -rf /var/www/${HTMLY_DOMAIN_NAME}/htdocs
|
||||
cp -r $temp_restore_dir/var/www/${HTMLY_DOMAIN_NAME}/htdocs /var/www/${HTMLY_DOMAIN_NAME}/
|
||||
|
|
Loading…
Reference in New Issue