Welcome Guest, Not a member yet? Register   Sign In
Poll: Do you use the database backup feature?
You do not have permission to vote in this poll.
37 40.22%
55 59.78%
Total 92 vote(s) 100%
* You voted for this item. [Show Results]

How often do you use the backup() method of the database drivers?

The Mysql driver in CodeIgniter (I think that's the only one) has a backup feature. Do you ever use this feature? Thinking of dropping it from CI4.

Never used it, our hoster has his own backup plan / solution.
This is the one we use when we need it Smile

Never use it my hosting provider backs up my database every night for me.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

I think that dropping the backup feature is a good idea.

Never used it. I'm backing it up manually with mysqldump, phpmyadmin or using a automatic cron script.

(02-07-2019, 12:04 PM)jreklund Wrote: Never used it. I'm backing it up manually with mysqldump, phpmyadmin or using a automatic cron script.

I didn't know that this feature exist!!, but I think It may be very helpful, our app is hosted in private network with crazy security policy, always nothing installed on the server only wamp with phpmyadmin, no ftp, no software, no remote sql, I do phpmyadmin to do backup, and If CodeIgniter has already this feature, It may very helpful for us.


I used a cron script to call the backup from a CLI controller.. it would not be a big deal to write a better solution instead of being lazy.

I've used it.
It came in handy when a client of mine asked for the option to manually download the database.

If you are in an evironment where you can't modify php settings, you may have trouble with large backups, and end up calling this function multiple times for different tables.

Just saying there's room for improvement, maybe making it a class of its own or moving it to the database forge class.
I'm sorry I don't know if these exist in CI4.

never used it. i'm using hosting daily backup.

php exec + mysqldump + Dropbox API on a cron works for me.

Theme © iAndrew 2016 - Forum software by © MyBB