Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/sites/s/sitracker.org/public_html/w/includes/MagicWord.php on line 902

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/sites/s/sitracker.org/public_html/w/includes/MagicWord.php on line 902

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/sites/s/sitracker.org/public_html/w/includes/MagicWord.php on line 876

Warning: Invalid argument supplied for foreach() in /var/sites/s/sitracker.org/public_html/w/includes/MagicWord.php on line 877

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/sites/s/sitracker.org/public_html/w/includes/MagicWord.php on line 881

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /var/sites/s/sitracker.org/public_html/w/includes/MagicWord.php on line 876

Warning: Invalid argument supplied for foreach() in /var/sites/s/sitracker.org/public_html/w/includes/MagicWord.php on line 877

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /var/sites/s/sitracker.org/public_html/w/includes/MagicWord.php on line 881

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/sites/s/sitracker.org/public_html/w/includes/MagicWord.php on line 902

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/sites/s/sitracker.org/public_html/w/includes/MagicWord.php on line 902

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /var/sites/s/sitracker.org/public_html/w/includes/MagicWord.php on line 902
Difference between revisions of "VM" - Sit

Difference between revisions of "VM"

From Sit
Jump to: navigation, search
m (Recommended Prerequisites)
m (Copying your data to the VM)
Line 71: Line 71:
 
If you didn't change directoried on the remote computer, the backup is stored in the '''/home/sit''' folder on the VM
 
If you didn't change directoried on the remote computer, the backup is stored in the '''/home/sit''' folder on the VM
  
 +
===Restoring your data to the VM===
 +
* Copy the contents of your backed up webfolder into /var/www (you can use <code>mc</code> which is a Norton Commander clone), do this with root privileges <code><pre>sudo mc</pre></code> now you can copy from one window to the other, hint: you can select all files (files only) by pressing the ''*'' key on your numeric keypad, selecting files and folders otherwise, use the ''insert'' key
 +
* import the SQL database <code><pre>mysql -u sit -psit sit < yyyy-mm-dd-backup.sql</pre></code> replace yyyy-mm-dd-backup.sql with your sql database name. If you've changed the username and/or password for the sit database then replace those aswell.
  
{{draft}}
+
now you are ready to do some testing :-)
  
 
== [[Image:Download.png]] Download ==
 
== [[Image:Download.png]] Download ==

Revision as of 21:46, 11 March 2010

Personal tools
project