CodeIgniter Forums
How often do you use the backup() method of the database drivers? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Development (https://forum.codeigniter.com/forumdisplay.php?fid=27)
+--- Thread: How often do you use the backup() method of the database drivers? (/showthread.php?tid=72750)

Pages: 1 2 3 4


RE: How often do you use the backup() method of the database drivers? - pureexe - 02-08-2019

i have cronjob that executes mysqldump and upload to google drive every night


RE: How often do you use the backup() method of the database drivers? - donpwinston - 02-08-2019

Shouldn't have to write code to backup your database.


RE: How often do you use the backup() method of the database drivers? - Halim - 02-08-2019

(02-08-2019, 08:22 PM)skunkbad Wrote: php exec + mysqldump + Dropbox API on a cron works for me.

I think it is a plus and nice to have if you host your application where there is not much tools or support.
I don't know why the others framework does not have this option? so keep it to make CI Special and Unique some what.


RE: How often do you use the backup() method of the database drivers? - dave friend - 02-10-2019

Do not and never have used it. Would not miss it if not implemented.


RE: How often do you use the backup() method of the database drivers? - ubayedtanvir - 02-10-2019

Please don't remove the feature and we will very much appreciate if the feature exists in upcoming version. Lot of developer may not use the feature, but some developers do. We are developing a web application where we are dumping clients website data using this feature. It helped us a lot minimizing workload.  Thanks.


RE: How often do you use the backup() method of the database drivers? - jmclement - 02-11-2019

Please keep it in, can be usefull, thanks Wink


RE: How often do you use the backup() method of the database drivers? - Poetawd - 02-11-2019

I use it !

The backup feature of hosting plans costs money !

This FREE feature allow us to save a few bucks every month !


RE: How often do you use the backup() method of the database drivers? - qury - 02-13-2019

Drop it!

I've looked at the code and basically it just generates and bunch of insert statements for each table.
I think if somebody needs this feature and does not have access to run cron jobs and mysqldump, then they can just as easily have adminer uploaded to the server and use that to manage the database.


RE: How often do you use the backup() method of the database drivers? - fmertins - 02-15-2019

I'm on the team of devs that use mysqldump :-)


RE: How often do you use the backup() method of the database drivers? - datamweb - 02-16-2019

Hello.My hosting provider backs up my database every 7 days for me.