when we execute core/install.php, we can choose : "Reinstall
In-Portal", and the text help on the right says :
"Reinstall In-Portal - cleans out your existing In-Portal database and
starts with a fresh installation. Note that this operation cannot be
undone and no backups are made! Use at your own risk."
1- why threaten user with such message :"cannot be undone and no
backups are made", is a dump isn't too complicated to achieve?
2- there's no confirmation message when we select this option : it
directly destroy all DB, without any confirmation, no security else
than this message, while we should help user, rather than letting him
going on a wrong action
I'd suggest here to have a warning prompt, and if user validate the
re-install, do a dump in backupdata/ folder before cleaning anything.
Phil.
Wordpress don't have any backup feature, RBS Change doesn't have too
(may you don't know this one), but SPIP have a built-in backup system.
As PMA can do the job, and is also written in PHP, and as we have DB
credentials, why can't we do the same? (maybe a dumb question)
2010/12/13 Alexander Obuhovich <aik....@gmail.com>:
I agree for a prompt with a nice warning text.
I'll talk about my personnal experience, dated this morning :)
For some reason, root password have been changed by an admin, and I
wasn't able to login. I"ve searched which option in "Maintenance mode"
would let me reset the password, and I tried "reinstall", forgetting
that the next clic immediatly empty all DB (and make me angry at the
same time ^-^).
In another hand, an In-Portal self-backup, ran by an Agent would be a
must ! The archive file would contain DB backup + system/ backup
(without cache/ and /.restricted subfolders). Is it a dream?
p.
PS: I'd kindly suggest to finish
http://tracker.in-portal.org/view.php?id=657 :-)
2010/12/13 Dmitry A. <dand...@gmail.com>:
let's move backup think on another discussion, not the main task, but
could be another good feature for SMB (Small and Medium Businesses) to
afford a good backup without having knowledge/option/command line
access to DB.
2010/12/13 Dmitry A. <dand...@gmail.com>:
- add another step before performing "Reinstall inportal"
- this step could be a pop-up window to prompt user he is sure, and we
should put here a very explicit text "We will completly delete your
actual database in order to reinstall In-portal. If you want to keep
any data (text, menus, configuration, custom fields...), you need to
BACKUP first. To reinstall now and empty database, click YES,
otherwise click NO"
Maybe this text sounds stupid for you guys, but the more we'll be
close to average users, the best it'll be for our audience ;-) Don't
forget a CMS is a tool to create a website without any particular web
knowledge.
p
2010/12/13 Dmitry A. <dand...@gmail.com>: