Closed (fixed)
Project:
backup
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
25 May 2007 at 17:36 UTC
Updated:
26 Jun 2007 at 02:49 UTC
I've untarred my backup and all the files were placed into the working directory (aka tarbomb).
http://www.bellevuelinux.org/tarbomb.html
Is is possible to build the tar file to include the Drupal install's directory?
Thanks,
Jason
Comments
Comment #1
dmuth commentedHmm. I had originally considered tarring from the parent directory so as to avoid a tarbomb as you described, but I had two concerns with that:
1) Users trying to restore an installation might not be geeks, and could get confused if they were to extract the tarball and NOT have the files appear in the local directory.
2) The webserver running under a chrooted environment and being unable to go to the parent directory.
How would you feel if I built an option into the module to create the functionality that asked for? Then users could build either type of tarball. Please let me know if you're interested in that. Thanks.
-- Doug
Comment #2
jpsalter commentedThat would be a good compromise. From my post - you can guess what I'd prefer the default to be :).
Comment #3
dmuth commentedIt took awhile to implement this, but it has been done and will be in the next release of backup. Full details are available at: http://drupal.org/node/151077
-- Doug
Comment #4
(not verified) commented