PHP Car RentalUser Manual Visit PHP Car Rental →
Customizing & Technical

Backup and moving to another server

A complete backup consists of the database and a few folders. The same files are all you need to move the site.

What to back up

ItemContains
MySQL databaseCars, bookings, users, settings, pages, translations, payments. Export it with phpMyAdmin (format SQL).
uploaded_images/ and thumbnails/Car photos, logo, favicon and hero image.
config.phpDatabase access and settings.
languages/, templates/Only if you changed them.

Move to a new server

  1. Export the database from the old server.
  2. Create a database and a user on the new server and import the SQL file.
  3. Upload all files (including the upload folders) to the new hosting.
  4. Edit config.php with the new database data (and $DOMAIN_NAME if the address changed).
  5. Check the folder permissions of uploaded_images and thumbnails.
  6. Open the website, the admin panel, and test a booking and an e-mail.
  7. Update the Stripe webhook address and the PayPal settings if the domain is new (Payment settings).

Do not run the installer again on an existing database; the import above is all that is needed.

Last updated