Jump to content

Backup Feature in IPS 4.1.x


BomAle

Recommended Posts

Hi, i would sugest to reintroduding some features in IPS4 like IPB3

in order, backup complete database (a function that checks whether shell_exec() and system() are available on the host to backup with mysqldump otherwise use the default engine like ipb3)

and option for export single table and manage DB's  (with checkbox) in SQL Toolbox (this app that have present in IPS4)

you think is such a thing possible?

below i has upload many screenshot the features of which I speak

 

IMG_BACKUP_PDA.thumb.png.9a9e36bca416a5d

IMG_OPTIONS_SQL.thumb.png.c2b60da7b24b18

IMG_TOOLBOX.thumb.png.64dcac925d6c562440

Link to comment
Share on other sites

Hello,

The very warning portrayed(and summarily ignored) in your first screenshot should provide a hint. However, for clarity, making backups(and the other options listed there) is not something that should be handled at the web script level, as large databases/tables will time out attempting such operations through a web interface.

Link to comment
Share on other sites

2 hours ago, Marcher Technologies said:

as large databases/tables will time out attempting such operations through a web interface.

As soon as there is a function which interrupts the process and starts it again from that point it shouldn't be a problem.

 

Link to comment
Share on other sites

Theoretical you're right, but the script doesn't know when it will be killed. The only great method to create backups is to export them on the SQL console or use specialised software like the MySQLDumper (wouldn't be customized for PHP 7 - development has been stopped end of Jan.).

Link to comment
Share on other sites

  • Management

As Jacboy said - it's best to use proper CLI tools (preferably) or a dedicated web utility such as MySQLDumper (less ideal) to obtain backups. The amount of resources to replicate that sort of thing in something like IPS4 makes such functionality a losing proposition for us. The backup in v3 on all but average and small tables was atrocious. 

Stick with utilities intended to do what you're looking for... let us do what we were meant to do. :D

Link to comment
Share on other sites

For example, I am using SequelPro on my Mac for accessing the database (a few months ago I've wrote an customer area system for my clients and it has no admin panel - managed everything with SQLPro), you could probably do backups with this, too (didn't tested it).

Note: Access from outside to the SQL server is needed, could be a security issue in some networks. Please consider your adminstrator.

Link to comment
Share on other sites

The safest method I have found is accessing the cpanel - phpmyadmin - database - export to my backup file on my machine. Done.

For those who do not have access may consider having the host admin take care of this. If not then it is time to either jump on the IPS Cloud or get a different host.

Current Database backups are extremely important in case of a failure.

Link to comment
Share on other sites

The best way to backup databases is on the server level, i.e. bash script or similar.

If you don't have ssh access but phpmyadmin then that is the way to go and if you don't have access to any of these then it's your hosters job to keep up2date backups (ask them if they do, if they don't consider changing hosts).
Personally, I either use VPS' or dedicated servers with root access so I can manage everything on my own with no restrictions on any level.

Link to comment
Share on other sites

IPS staff in one topic or another mentioned a neat utility called Adminer.  It's more or less like phpMyAdmin except it's a single file and feels somewhat easier to use to me.  Certainly easier to install :)  and usable without cPanel or similar access. I use it now even on sites where I do have panel access. 

Link to comment
Share on other sites

  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...