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? - Erdogan - 02-28-2019

I have 6-7 projects with CI and only one of them uses backup feature.


RE: How often do you use the backup() method of the database drivers? - jasonzig - 03-03-2019

I use PostgreSQL.


RE: How often do you use the backup() method of the database drivers? - Renkman - 03-06-2019

Use it on a regular basis, most of my scripts offer CRON JOB with Backup Feature... saved my life when clients are doing things they should not do...


RE: How often do you use the backup() method of the database drivers? - kilishan - 03-06-2019

(02-25-2019, 10:16 AM)tigerblue77 Wrote: Hi everyone,

I think you should not remove this feature from CodeIgniter because it is already codded so... Why ? What's the purpose ?
I plan to use it but I think you should call "mysqldump" through CodeIgniter to make your backup as this is a very powerful tool

Thanks,
Tigerblue77

Well - it only exists for Mysql and one other driver I don't recall at the moment. In order to be included it should exist across all of them... which is why I was asking. But I'm tempted to do it and make it a wrapper around whatever backup tools already exist for each engine.


RE: How often do you use the backup() method of the database drivers? - amirodz - 06-14-2021

As a programmer, don't think of yourself

Think about the people you code for

They need it


RE: How often do you use the backup() method of the database drivers? - najdanovicivan - 06-16-2021

Backup from CodeIgnter can create issues when you have virtual columns as those will get exported as data. One you try importing such backup the import will fail. I'd suppose adding an export/import feature base on shell exec with official database tools.


RE: How often do you use the backup() method of the database drivers? - crazcodernp - 07-15-2021

(03-03-2019, 04:06 PM)jasonzig Wrote: I use PostgreSQL.

HI i cannot use $model->insert() method in codeigniter 4. It returns bool(false) when var_dump() why?


RE: How often do you use the backup() method of the database drivers? - includebeer - 07-15-2021

(07-15-2021, 04:15 AM)crazcodernp Wrote:
(03-03-2019, 04:06 PM)jasonzig Wrote: I use PostgreSQL.

HI i cannot use $model->insert() method in codeigniter 4. It returns bool(false) when var_dump() why?
This has nothing to do with this poll. Create a new thread for you question...


RE: How often do you use the backup() method of the database drivers? - paliz - 07-15-2021

Cron job is don the rest for me


RE: How often do you use the backup() method of the database drivers? - [email protected] - 12-12-2022

(06-16-2021, 03:40 PM)najdanovicivan Wrote: Backup from CodeIgnter can create issues when you have virtual columns as those will get exported as data. One you try importing such backup the import will fail. I'd suppose adding an export/import feature base on shell exec with official database tools.
It would be great feature if this issue is addresed.