![]() |
backup database problem - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=11) +--- Thread: backup database problem (/showthread.php?tid=69783) |
backup database problem - pippuccio76 - 01-17-2018 hi this is my controller : Code: public function backup_database(){ It work but the file made with this command have problem , if i set txt i have the document isn't a valid UTF-8 . If i set zip , the archive cannot open .... How can i solve ? RE: backup database problem - InsiteFX - 01-18-2018 Are you setting the backup preferences? RE: backup database problem - pippuccio76 - 01-18-2018 (01-18-2018, 04:47 AM)InsiteFX Wrote: Are you setting the backup preferences? From docs : Code: Usage Example Must i set the backup preferences ? i have the output file but i cannot open it .... RE: backup database problem - InsiteFX - 01-18-2018 PHP Code: $prefs = array( Look at the filename and format parameters. RE: backup database problem - pippuccio76 - 01-18-2018 (01-18-2018, 10:05 AM)InsiteFX Wrote: hi tanks, now work , this is my controller : Code: public function backup_database(){ |