Poll: Do you use the database backup feature?
Yes
No
[Show Results]
 
Note: This is a public poll, other users will be able to see what you voted for.
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How often do you use the backup() method of the database drivers?

#1
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.
Support Development  • Practical CodeIgniter 3  • Vulcan - CLI Tools for CI4
Reply

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

#3
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 )
Reply

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

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

#6
(02-07-2019, 01: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.

Thanks.
Reply

#7
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.
Reply

#8
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.
Reply

#9
never used it. i'm using hosting daily backup.
Reply

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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
2 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.