Ticket #942 (new defect)

Opened 11 years ago

Last modified 11 years ago

Backup Manager (New Core Gadget)

Reported by: afz Assigned to: jaws-bugs@lists.jaws-project.com
Priority: normal Milestone: 0.9.0
Component: Other / Other bugs Version: SVN
Severity: normal Keywords:
Cc:

Description

some idea for this gadget:
1. can load and run in admin area and outside of jaws(in outside for authenticate admin privilege use some thinge like install key.txt idea)
2.backup/restore 3. backup list
4. auto backup
5. backup dir path
6. can restore any backup
7. backup title/descrition/date/time
8. can work with any php time execution limit(my idea for this feature use AJAX for backup/restore each part of database)
9. prevent direct download backup file(use apache htaccess)
10. can download backup file in this tools/gadget

Attachments

Change History

07/02/07 16:35:30 changed by pablo

I have an idea about creating gadget backups. Each gadget should (if they want to use the backup feature) have a 'Backup' hook (hooks/Backup.php) that should return the contents the gadget backup contain, a possible 'array structure' can be:

$structure = array('struct'  => $file|$content,
                   'content' => $file|$content,
                   'files'   => array(JAWS_DATA . 'xml/gadget',
                                      JAWS_DATA . 'cache/gadgets/gadget');

  • struct: Has the table(s) structure. Can be the content of the file or the full path of the table structure.
  • content: Has the table(s) contents. Can be the content of the file or the full path of the file that has the table contents.
  • files: If gadget wants to include files in the backup, this 'sub-array' should be used.

Add/Change #942 (Backup Manager (New Core Gadget))




Change Properties
Action