![]() |
[BackupTools] - Human readable archive - Printable Version +- LetoDMS Community Forum (https://community.letodms.com) +-- Forum: LetoDMS Support (https://community.letodms.com/forumdisplay.php?fid=4) +--- Forum: Bugs/Errors (https://community.letodms.com/forumdisplay.php?fid=11) +--- Thread: [BackupTools] - Human readable archive (/showthread.php?tid=196) |
[BackupTools] - Human readable archive - Doudoux - 10-26-2010 Hello There is a problem with "Human readable archive". TAR accept only filename with 100 characters. Then i'm modified code to create a ZIP file. This function can be used for classic backup (not tested) In the file "op.CreateFolderArchive.php" Add this function PHP Code: function createFolderZIP($folder, $zip) Change PHP Code: if ($human_readable)$ark_name = $settings->_contentDir.time()."_".$folderid."_HR.tar"; To PHP Code: if ($human_readable) BUG with caracters: PHP Code: function getFolderPathPlainAST($folder) { In the file "out.BackupTools.php" PHP Code: while ($e = readdir($handle)){ PHP Code: while ($e = readdir($handle)){ There is a problem, accented characters in the ZIP file Doudoux RE: [BackupTools] - Human readable archive - matteo lucarelli - 10-26-2010 Thank you for the fix. Do you know if zip archive creation will work on every system? Does it depends on some version-specific library? RE: [BackupTools] - Human readable archive - Doudoux - 10-27-2010 (10-26-2010, 09:37 PM)matteo lucarelli Wrote: Do you know if zip archive creation will work on every system?No, i use WAMP. I would try to do a test on linux. (10-26-2010, 09:37 PM)matteo lucarelli Wrote: Does it depends on some version-specific library?i use php_zip module RE: [BackupTools] - Human readable archive - matteo lucarelli - 10-29-2010 Well, what should be done to assure the wide compatibility of letoDMS with your patch? RE: [BackupTools] - Human readable archive - Doudoux - 11-05-2010 I'm testing on linux. It's OK with a simple test. My config : ubuntu 9.10 / apache 2 / Mysql 5.1 (see attachment file) RE: [BackupTools] - Human readable archive - Doudoux - 03-27-2011 Up for the next release ![]() |