Project:backup
Version:master
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

This patch enables Win32 server support on backup. In order to properly support win32, tar, and gzip need to be installed on the server and accessible through the 'Path' windows system variable. These can be obtained here: http://unxutils.sourceforge.net/.

Note: this is the first patch i've submitted, it was generated on win32 machine but hopefully i've stripped crlf properly. run the patch from the modules/backup directory.

Also note: as with the original module, backup will *not* work if drupal's temp folder is within the webroot.

AttachmentSize
backup.patch5.5 KB

Comments

#1

looks like i posted too early.. comment out the lines commented below. the code works on my local server but there are problems with the production server. i will look into this and post a new patch..
// slight hack to exclude drupal temp folder from inclusion in the tar. this will fail if the temp folder is within the website but not in the webroot, however. (i.e. /files/temp rather than /temp)
// actually, with the temp-folder-within-the-web detected and removed, tar still fails. gonna leave this line in for now tho.
// need to put in warning that temp folder should be outside web-root
// if ($line == $tmpdir) {
// continue;
// }

#2

Status:needs review» closed (fixed)

I'm going to mark this one as closed since I have released a Drupal 5 version of this module, and I'm doing things much differently now.

-- Doug

nobody click here