You recommend that the snapshot files be saved outside the web site's document root.

How does one do that. I have a dedicated server and access outside the document root, but I don't know how to set it up in the demo module.

Thanks,

Shai

Comments

sun’s picture

Status: Active » Fixed

In 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.

Shai’s picture

Status: Fixed » Needs work

Hi 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

sun’s picture

Status: Needs work » Postponed
sun’s picture

Status: Postponed » Postponed (maintainer needs more info)

Does this work in the meantime?

sivaji_ganesh_jojodae’s picture

I 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 path

sun’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

That custom dump path problem should not exist in D7.

Overall, this sounds like a duplicate of #901954: file_directory_path() removed to me.