Tue Jun 28 16:25:43 2005
Ticket #1212 (Closed: invalid)
Backup/restore instance scripts broken?
Priority: | normal | Reporter: | john |
---|---|---|---|
Severity: | minor | Assigned to: | anonymous |
Component: | Install Scripts | Status: | closed |
Version: | 2.4.0 | Resolution: | invalid |
Milestone: | 2.4.0 | Keywords: |
Description by john:
I found that the indices on the 'argv' array in the various xxxx_instance.php files were wrong. Also, the method used to locate the configuration settings was a bit incomplete such that a simple 'create_instance --db_password xxxx' didn't work. ADDITIONAL INFORMATION: See the patch file at http://pye.dyndns.org/campsite/ (temporary link, try opening the unzipped 'patch' file with 'kompare' under KDE)
Changelog
Tue Jul 19 16:02:14 2005: Modified by mugur
- status changed from new to assigned
Wed Jul 20 00:24:21 2005: Modified by john
I see now that I made changes to the BASH script (adding '--etc-dir' before $"$ETCDIR") which then required my changes to the PHP script. The changes which I used are available in that patch file I mentioned. Screenshots of the backup_instance script are shown. Will these scripts be used once the C++ parse is removed? I guess they will. Perhaps a format like that used by MySQL would result in simplified code, eg campsiteadmin create name campsiteadmin backup name If I get a chance I'll take another look at them and submit a more complete patch. Cheers JP
Fri Aug 5 10:39:14 2005: Modified by mugur
- milestone changed from 2.2.2 to 2.4.0
Mon Oct 10 12:34:35 2005: Modified by mugur
- description changed.
- resolution set to invalid
- status changed from assigned to closed
The bug description doesn't match the reality anymore.