Cannot backup database outside the web server tree

Issue #199 resolved
Former user created an issue

Originally reported on Google Code with ID 199

What steps will reproduce the problem?
1.Set a database file name or database folder outside the web server tree.
2.Try to download the backup of the database.

What is the expected output? What do you see instead?
Database should be downloaded, but the server shows a file not found error.

What version of the product are you using? On what operating system?
I'm using 1.9.4.

Which
Database Extension (PDO/SQLiteDatabase/SQLiteDatabase3 - see Database
structure-tab in phpLiteAdmin)?
I'm using PDO.

Please provide any additional information below.
PLA delivers a direct link to the file but is not possible if this file is outside
the web server tree, so it should deliver the file using get_file_contents() and even
compress it.
Will be nice if optionally compress all files that generates PLA like CSV or SQL as
a option. Big exports will benefice about this.

Reported by is2cool4me on 2013-03-21 11:01:49

Comments (5)

  1. Christopher Kramer
    Right, thanks.
    In fact 2 issues, 1 defect and 1 enhancement.
    

    Reported by crazy4chrissi on 2013-03-21 13:18:01 - Status changed: Accepted

  2. dreadnaut
    I'm renaming this issue to focus on the 'defect' part and I've opened Issue 201 for
    the rest.
    

    Reported by dreadnaut on 2013-03-21 13:45:39

  3. Christopher Kramer
    Fixed in revision 8cc89391ca0620acf6dfab51a47a99132adce052 (no compression yet, so issue
    #201 is still open).
    

    Reported by crazy4chrissi on 2014-12-28 15:23:38 - Status changed: Fixed

  4. Log in to comment