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

dmuth’s picture

Assigned: Unassigned » 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

jpsalter’s picture

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

dmuth’s picture

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

Anonymous’s picture

Status: Fixed » Closed (fixed)