Giter Club home page Giter Club logo

opencart-tools's Introduction

OpenCart Transfer Script

This script, created by Sonoratek LLC, is designed for efficient migration and backup of OpenCart-powered websites. It can create a full backup of your site, including or excluding product data, and assist in migrating an OpenCart site to a new server.

Features

  • Full Backup: Create a complete backup of your OpenCart site, including the database and all files.
  • Partial Backup: Create a backup excluding product images, which is useful for creating a lighter copy of large websites for development purposes.
  • Automated Restoration: Facilitates the restoration of an OpenCart site on a new server using a previously created backup file.

Prerequisites

  • The script should be run on the server where the OpenCart site is hosted.
  • Ensure that mysqldump is available for database backup.
  • wget should be installed for downloading backups in the restoration process.
  • MySQL root or equivalent privileges for creating and importing databases during restoration.

Usage

Backup

  1. Place the script in the root directory of your OpenCart website.

  2. Run the script:

    ./opencart-transfer.sh
  3. Follow the on-screen prompts to select the backup option:

    • '1' for a full backup.
    • '2' for a backup excluding product data.
  4. The script will process the database and files, then provide a backup filename like domain43ba53.tar.gz.

Restoration

  1. Place the script in the root directory of the destination server for your OpenCart site.
  2. Run the script and choose the option to download and restore the backup.
  3. Provide the site domain name and backup filename when prompted.

The script will handle the rest, including database creation and data import.

Notes

  • Backup filenames are generated with the domain name and a random hex value for uniqueness and security.
  • Ensure that the MySQL user has sufficient privileges to perform all database operations.

License

This project is licensed under the MIT License - see the LICENSE file for details.

opencart-tools's People

Contributors

connectplatform avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.