hey there,

Demonstration site is a great devel module. I personally think it should go into core - but who am I to speak? ;)

anyway, there's an odd behaviour in the way Demonstration Site saves its backups.

I mean, saving backups in sites/default/files/demo/default/file_name.sql doesn't make much sense.

even if you *do* run a mutisite installation, it looks weird:

- sites/default/files/demo/default/file_name.sql

- sites/foo.com/files/demo/foo.com/file_name.sql

- sites/bar.com/files/demo/bar.com/file_name.sql

see what I mean? what I propose is either removing the duplicate site name, so that the path looks like:

sites/default/files/demo/demo_file_name.sql

OR

adding a config option enabling users to save wherever they want to ;)

either way I think this is a quick fix, isn't it?

cheers,
Luciano

Comments

sun’s picture

Status: Active » Closed (duplicate)

Marking as duplicate of #256714: Do not store dumps for default site in a sub-directory. Please search existing issues before creating a new one.