Closed (duplicate)
Project:
Demonstration site (Sandbox / Snapshot)
Version:
7.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Jan 2010 at 15:57 UTC
Updated:
9 Jan 2011 at 03:18 UTC
Comments
Comment #1
sunIn Drupal 7, there are currently two ways to do this:
1) Setup your global _private_ filesystem path to be outside of the document root.
2) Change only Demo's snapshot path configuration. This option, however, I think will vanish very soon.
Comment #2
Shai commentedHi sun,
Thanks for the response...
So I created a directory at home/duser/demosnaps/
(FYI, the Drupal install is at home/duser/public_html.)
Then in the D7 files admin I told it to make the the home for private files.
Then I took a snapshot... No error thrown, and with the following drupal message: Successfully created snapshot home/duser/demosnaps/demo/default/first-snap-in-new-directory.sql.
Since the "demo" and "default" directories didn't exist, despite the message, I created them. I took another snapshot... Nothing!
With both SSH and ftp I can't see the files.
Do you have a clue where they are?
Shai
Comment #3
sunProbably related or even caused by #874326: Invalid scheme fails to halt processing of a stream request
Comment #4
sunDoes this work in the meantime?
Comment #5
sivaji_ganesh_jojodae commentedI had problem when i tried to use non default path (other than
sites/default/files/demo) see #733724: dump path settings throws error for custom pathComment #6
sunThat custom dump path problem should not exist in D7.
Overall, this sounds like a duplicate of #901954: file_directory_path() removed to me.