Backup tar file is a tarbomb - not nice

jpsalter - May 25, 2007 - 17:36
Project:backup
Version:5.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:dmuth
Status:closed
Description

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

#1

dmuth - May 26, 2007 - 20:41
Assigned to:Anonymous» dmuth

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

#2

jpsalter - May 26, 2007 - 21:30

That would be a good compromise. From my post - you can guess what I'd prefer the default to be :).

#3

dmuth - June 12, 2007 - 02:21
Status:active» fixed

It 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

#4

Anonymous - June 26, 2007 - 02:49
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.