HEX
Server: Apache
System: Linux msm5694.mjhst.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: camjab_ssh (1000)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: /home/httpd/html/transhot.com/wpbackup-mojo/201309230818/restore.sh
#!/bin/bash
###################################################################################################
#  auto generated restore script
#  this script will restore the wp backup in this directory
#  It will overwrite any files from wpbackup-mojo/201309230818/wp-backup.tar.gz
#    into /home/httpd/html/transhot.com
# and re-import the db backup.
#
#   !!!!there is no turning back. The current live WP is not backed up when you restore!!!!
#
###################################################################################################
cd /home/httpd/html/transhot.com
tar xzf wpbackup-mojo/201309230818/wp-backup.tar.gz -C /home/httpd/html/transhot.com
mysql -utranshotwpuser -ph4epDTxZvNjC -hlocalhost transhot_wp << wpbackup-mojo/201309230818/db.sql