Quote from: edipo at Mar 02, 2006, 03:09 PM
Hi, I have a stupid question: how I restore the modx backup and the sql database ?
Thanks to all
Nothing stupid about that edipo. Restoring is a little more complex.
File Strcuture:
With the zip file, you could upload the entire zip file to your webhosts web documents directory (ie public_html, www, etc) if it’s control panel has an extraction option (cpanel’s filemanager does), and just extract the zip file, this will create the necessary directories and files, and than you need to change permissions(CHMOD) of the assets dir and folders/files under it.
Note though, if the files/folders already exist on the webhost, I think cpanels filemanagers extract stops. So best to delete the old dirs beforehand.
Or unzip the archive on your local machine, and FTP the files through, however this can take HEAPS longer, (im on cable and its slow, having to upload every file one by one).
Database:
If you can use PHPmyadmin or similar database admin on the host, you can use this to upload the database sql file, this will create the database tables.
Look for SQL or Query option, and somewhere to upload a .sql file, than browse for your local database_backup.sql (you have to extract this from the .zip first)
Ok, when I have some time soon, I’ll do a more indepth explanation of the procedure.