Difference between revisions of "How to Back Up"

From Phoenix Cart User Guide
 
(39 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span class="btn-grey" style="color:#0088dd;">'''&#171; [[SET UP SHOP]]'''</span>
+
<div class="btn btn-grey btn-back">{{#fas:arrow-left}} Back</div> <div class="btn btn-grey btn-download">{{#fas:download}} Download & Install</div>
 +
<hr>
 +
__FORCETOC__
 +
__TOC__
 +
Backing up your website and database is not an essential step to setting up your shop but it is important to make a frequent and regular backup of both your website and database, certainly every time before you make any changes, so now is a good time to start the habit.
  
<span class="btn-grey"><historylink type="back" /></span>
+
==='''Back up the Website.'''===
<hr>
+
 
<BIG>'''Important: Make a frequent and regular backup of both your website and database.'''</BIG>
+
Create and save a folder/directory on your computer - name it, for example, '''yourSite'''.
 +
 
 +
Open it and create and save another folder/directory in it - name it, for example,  '''yourSiteTodaysDate''' - maybe it's obvious but use the name of your website and the date you are making the backup :) - so e.g. '''yourSite-04-11-2023'''
 +
 
 +
Select all files on the server and transfer/download to '''yourSiteTodaysDate''' folder/directory.
 +
 
 +
This is simply just the reverse of what you did to install Phoenix Cart.
  
<BIG>'''Back up the Website.'''</BIG>
+
NOTE: Create a new '''yourSiteTodaysDate''' folder/directory every time a backup is made to keep regular snapshots of the website - the website can then be restored to any snapshot.
  
Create and save a folder/directory on your computer - name it '''''yoursite todays date''''' - maybe it's obvious but use the name of your website and the date you are making the backup :)
+
==='''Back up the Database.'''===
 +
*From admin go to [[File:adminnavbartools.png|link=]] '''Tools &rarr; Database Backup''' to open the Database Backup Manager page.
 +
*Click <span class="btn-grey">Backup</span> to see this:
 +
<div class="mainpage_box">
 +
[[File:toolsbackupmanager.png|link=|1500px]]
 +
</div>
 +
*'''No Compression (Pure SQL)''' is already selected - this can be left as is.
 +
*'''Download only (do not store server side)''' checkbox is unticked - leave unticked to save on the server - tick this box to save to the downloads folder on your computer - it is advisable to do both so a backup is stored on your local computer. It might also be advisable to move the download to your '''yourSite''' folder/directory so it can easily be found again!
 +
*Click <span class="btn-yellow">Backup</span> - the database SQL file will then show on the page when complete if it is saved on the server - it will be saved in the file path shown on the page.
  
Select all files on the server and transfer to '''''yoursite todays date''''' folder/directory.
+
If the database has been stored on the server, it can be restored from admin by going to '''Tools &rarr; Database Backup''', click the file and then click <span class="btn-grey">Restore</span>.
  
This is simply just the reverse of what you did to install Phoenix.
+
If the database has been downloaded and saved on your local computer, it must be restored by accessing your database on your server host account and importing the file. Many server hosts use '''phpMyAdmin''' as database software. Different software might be used on your server but they all work in a similar way - see <big>'''[[phpMyAdmin]]'''</big>
  
NOTE: Create a new '''''yoursite todays date''''' folder/directory every backup time to keep regular snapshots of the website - the website can then be restored to any snapshot.
+
Some users might prefer to backup the database directly from the database software.
<hr>
 
<BIG>'''Back up the Database.'''</BIG>
 
  
From the admin dashboard go to '''''Tools => Database Backup''''' to open the Database Backup Manager page.
+
==='''Keeping Records.'''===
 +
Making backups before any changes are made to your site also makes it advisable to keep records of any changes made in a '''Change Log''' file.
  
Click '''''Backup''''' - '''''No Compression (Pure SQL)''''' is already selected - this can be left as is - '''''Download only (do not store server side)''''' checkbox is unticked - this can be left as is to download and save on your computer or the box can be ticked to save on the server.
+
Keep it saved in your '''yourSite''' folder/directory.  
  
Click '''''Backup''''' - the database SQL file will then show on the page when complete - it will be saved in the file path shown on the page if it is saved on the server.
+
This could simply be a text document though a spreadsheet document can be easier to read.
  
If the database has been stored on the server, it can be restored by going to the the Database Backup Manager page, click the file and then click '''''Restore'''''.
 
  
If the database has been downloaded and saved on your computer, it must be restored by accessing your database on your host server account and importing the file.
 
 
<hr>
 
<hr>
<span class="btn-grey">[[How_to_Update|Go to Next Stage &#187;]]</span>
+
<span class="btn-grey">[[How_to_Secure|&#129032; Previous Step]]</span>
 
+
<span class="btn-grey">[[How to Update|Next Step &#129034;]]</span>
<br><historylink type="back" />
+
<hr>
 +
{{Forum}}
 +
{{Pro}}
 +
{{Contribute}}

Latest revision as of 10:37, 1 September 2024

Back
Download & Install

Backing up your website and database is not an essential step to setting up your shop but it is important to make a frequent and regular backup of both your website and database, certainly every time before you make any changes, so now is a good time to start the habit.

Back up the Website.

Create and save a folder/directory on your computer - name it, for example, yourSite.

Open it and create and save another folder/directory in it - name it, for example, yourSiteTodaysDate - maybe it's obvious but use the name of your website and the date you are making the backup :) - so e.g. yourSite-04-11-2023

Select all files on the server and transfer/download to yourSiteTodaysDate folder/directory.

This is simply just the reverse of what you did to install Phoenix Cart.

NOTE: Create a new yourSiteTodaysDate folder/directory every time a backup is made to keep regular snapshots of the website - the website can then be restored to any snapshot.

Back up the Database.

  • From admin go to Adminnavbartools.png Tools → Database Backup to open the Database Backup Manager page.
  • Click Backup to see this:

Toolsbackupmanager.png

  • No Compression (Pure SQL) is already selected - this can be left as is.
  • Download only (do not store server side) checkbox is unticked - leave unticked to save on the server - tick this box to save to the downloads folder on your computer - it is advisable to do both so a backup is stored on your local computer. It might also be advisable to move the download to your yourSite folder/directory so it can easily be found again!
  • Click Backup - the database SQL file will then show on the page when complete if it is saved on the server - it will be saved in the file path shown on the page.

If the database has been stored on the server, it can be restored from admin by going to Tools → Database Backup, click the file and then click Restore.

If the database has been downloaded and saved on your local computer, it must be restored by accessing your database on your server host account and importing the file. Many server hosts use phpMyAdmin as database software. Different software might be used on your server but they all work in a similar way - see phpMyAdmin

Some users might prefer to backup the database directly from the database software.

Keeping Records.

Making backups before any changes are made to your site also makes it advisable to keep records of any changes made in a Change Log file.

Keep it saved in your yourSite folder/directory.

This could simply be a text document though a spreadsheet document can be easier to read.



🠈 Previous Step Next Step 🠊


Many Addons and Extensions available in the CE Phoenix Cart Addons Library

If help is needed, support is available in the CE Phoenix Cart Support Forum

Phoenix Cart User Guide, like CE Phoenix Cart, is free to use but is maintained by unpaid volunteers.

Code references are licensed under a Commons Attribution-NonCommercial-ShareAlike 2.0 UK: England & Wales License.
All other content is the reserved Intellectual Property and Copyright of phoenixcart.org