/
In-Portal Embedded Backup/Restore Tool Refactoring

In-Portal Embedded Backup/Restore Tool Refactoring

Imported From: http://groups.google.com/group/in-portal-dev/browse_thread/thread/91fc6b46b6586de4#

I've found this tool (used as a free extension for Joomla), it's the way I think about backup: http://www.akeebabackup.com/. They use an Ajax code, ran from Cron.

I propose the following as a project:

   - run upon Agent request and on-demand (toolbar button)

   - Agent activated after backup parameters are setup (to avoid missed backup while everything is setup)

   - ability to choose file format (zip/gzip)

   - 3 backup modes, each of them can be activated:

   - automatic (to be run on a daily basis)
      - DB without visitor logs and cache tables
         - /system folder without /.restricted, /cache and /tmp folders
         - active theme

   - full (to be run once a month)
      - whole DB
         - whole filesystem without /system/cache and /system/tmp
         - checkbox to optionally include a standalone php reinstall script

   - custom (for advanced users)
      - select tables to backup (maybe a list of tables, comma separated?)
         - select folders to backup (maybe a command line style?)

   - restore mode : reads automatically backup archives and restore on demand (checkboxes): DB, system files, theme

I'm awaiting your comments !