Giter VIP home page Giter VIP logo

backupper's Introduction

MODX Backupper

MODX backup script to backup database and all the files in one click.

Inspired by the backup script of Oliver Haase-Lobinger (http://de.modx.com/blog/2014/03/modx-revolution-updates-vereinfachen) i just added a basic UI to make the backup more comfortable.

Backup MODX:

Place the backup.php file in the same directory as your root. Load it in your browser, select the elements you want to backup and name your backup directory. The script will create the folder if it does not exist. The script will not include that directory and itself in the backup.

You can just rightclick and download the files after your backup is done. Either MySQL, Files or both combined as one archive. After downloading you can click one of the "remove-buttons" to delete either the script or the script and the backup-folder of your server. I recommend last, to make shure that nobody can download the backupfiles with your config in it.

Extract Archiv:

If you move your backup (tar-file) to a new server, just place the tar-file and the script into the root and call backup.php in your browser. The script will find the tar-files and asks you to extract them.

Backup by crontab:

If you want to schedule your backup via crontab just call the script with the get values like: backup.php?mysql=1&files=1&folder=backup&cron=1

Environment:

I hope this script will be helpfull for you. It works on my webhosting environment, but may needs some changes on others. Let me know.

backupper's People

Contributors

jdaehne 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.