Closed (fixed)
Project:
Drush
Component:
Core Commands
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Dec 2011 at 10:15 UTC
Updated:
30 Dec 2011 at 14:40 UTC
Jump to comment: Most recent file
Sometimes it is really useful to preserve symbolic links inside Drupal root directory while making backup with archive-dump command.
I propose to add --preserve-symlinks option to the archive-dump command.
I have a ready code and will submit a patch.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | preserve-symlnks-1366910-0.patch | 2.05 KB | danylevskyi |
Comments
Comment #1
danylevskyiHi all!
Here is a patch.
How to use:
Regards!
Comment #2
danylevskyiForgot to set new status...
Comment #3
moshe weitzman commentedseems like a good idea. anyone object?
Comment #4
helmo commentedCould be useful in case where you have a large data directory which should not end up in regular dumps.
Comment #5
danylevskyiAbsolutely true!
Comment #6
danylevskyiAlso --preserve-symlinks feature will be useful for testing your features or .install files.
Imagine you are developing a module which doing some changes with the database during installation process. Sometimes it is very painful to debug it...
The best way to test it:
Now you can relax and test your .install file or feature as much times as you want. All you need is to restore site with drush-restore command.
Comment #7
moshe weitzman commentedCommitted to master and 4.x. Thanks.