Download & Extend

Backup tar file is a tarbomb - not nice

Project:backup
Version:5.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:dmuth
Status:closed (fixed)

Issue Summary

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

#1

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

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

#3

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

Status:fixed» closed (fixed)
nobody click here