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
|
if [ $HTMLY_DOMAIN_NAME ]; then
|
||||||
echo $"Restoring htmly installation"
|
echo $"Restoring htmly installation"
|
||||||
temp_restore_dir=/root/temphtmly
|
temp_restore_dir=/root/temphtmly
|
||||||
|
restore_directory_from_usb $temp_restore_dir blog
|
||||||
restore_directory_from_usb $temp_restore_dir htmly
|
restore_directory_from_usb $temp_restore_dir htmly
|
||||||
rm -rf /var/www/${HTMLY_DOMAIN_NAME}/htdocs
|
rm -rf /var/www/${HTMLY_DOMAIN_NAME}/htdocs
|
||||||
cp -r $temp_restore_dir/var/www/${HTMLY_DOMAIN_NAME}/htdocs /var/www/${HTMLY_DOMAIN_NAME}/
|
cp -r $temp_restore_dir/var/www/${HTMLY_DOMAIN_NAME}/htdocs /var/www/${HTMLY_DOMAIN_NAME}/
|
||||||
|
|
Loading…
Reference in New Issue