Upgrading to a newer Version, Creating Backup Tutorial?
Posted: Mon Dec 31, 2007 8:19 pm
Hi
I was just curious whether or not it would be possible to just replace certain files when updating to a newer Version...?
I suppose if the Database structure changes that might be a problem!!
When I updated to 7.1 I just created a new Installation rather then Upgraded...., this unfortunately forced me to enter some new data in the new installation.......
I read through your Readme. and I was a little confused so maybe I'll try and step through this this time!!!
I've copied part of your Readme file and will insert my comments as I go along
UPGRADING FROM PREVIOUS VERSIONS
Before upgrading you should make a backup of the database
with the php-residence backup system and save backup.php,
otherwise you could LOSE ALL DATA!
Step 1 clik "Configure and Customize"
Step 2 clik "Backup System"
Step 3 clik "Create backup file"
this will create a backup, backup.php and place it in the dati folder and you should see a note saying 'file created 'with a button "Go back"
Step 4 clik "Go back"
Here you will see a number of Options one of which is 'View the file'
Step 5 clik "View the file"
This will retrieve the file (backup.php), in my case from a Remote Server.
Extract the file and Save it somewhere, on your computer, as you may require it later...
Step 6 Delete all the files and folders for PHP Residence, except the dati folder and it's contents.
Step 7 Copy all the files and folders of the new Version except the Dati folder and its, contents.... I use WS_FTP95.
Step 8 Access the Main Menu, ***/*****/****/inizio.php, as administrator , if activated and Clik on 'Update'
This will take a bit as the database is updated an that should be it ..
Thanks Walter
Also check that the new
required software is compatible with your current one.
Leave in the folder where php-residence is installed only the
folder dati (with write permission for the web server) deleting
all the rest. After that, copy the files of the new version
(except the folder dati naturally) and BEFORE ANYTHIG (Spelling, anything) ELSE
access the main menu (as administrator user if the login is
activated) and press the "update" button waiting until it ends
to load the page. If add-on modules or themes are used remember
to copy them too with the new version files.
It's possible to chage from a postgresql database to a mysql one
or vice versa using the backup system.[/b]
I was just curious whether or not it would be possible to just replace certain files when updating to a newer Version...?
I suppose if the Database structure changes that might be a problem!!
When I updated to 7.1 I just created a new Installation rather then Upgraded...., this unfortunately forced me to enter some new data in the new installation.......
I read through your Readme. and I was a little confused so maybe I'll try and step through this this time!!!
I've copied part of your Readme file and will insert my comments as I go along
UPGRADING FROM PREVIOUS VERSIONS
Before upgrading you should make a backup of the database
with the php-residence backup system and save backup.php,
otherwise you could LOSE ALL DATA!
Step 1 clik "Configure and Customize"
Step 2 clik "Backup System"
Step 3 clik "Create backup file"
this will create a backup, backup.php and place it in the dati folder and you should see a note saying 'file created 'with a button "Go back"
Step 4 clik "Go back"
Here you will see a number of Options one of which is 'View the file'
Step 5 clik "View the file"
This will retrieve the file (backup.php), in my case from a Remote Server.
Extract the file and Save it somewhere, on your computer, as you may require it later...
Step 6 Delete all the files and folders for PHP Residence, except the dati folder and it's contents.
Step 7 Copy all the files and folders of the new Version except the Dati folder and its, contents.... I use WS_FTP95.
Step 8 Access the Main Menu, ***/*****/****/inizio.php, as administrator , if activated and Clik on 'Update'
This will take a bit as the database is updated an that should be it ..
Thanks Walter
Also check that the new
required software is compatible with your current one.
Leave in the folder where php-residence is installed only the
folder dati (with write permission for the web server) deleting
all the rest. After that, copy the files of the new version
(except the folder dati naturally) and BEFORE ANYTHIG (Spelling, anything) ELSE
access the main menu (as administrator user if the login is
activated) and press the "update" button waiting until it ends
to load the page. If add-on modules or themes are used remember
to copy them too with the new version files.
It's possible to chage from a postgresql database to a mysql one
or vice versa using the backup system.[/b]