Closed (fixed)
Project:
backup
Version:
master
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
21 Oct 2006 at 17:02 UTC
Updated:
22 Mar 2007 at 02:56 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| backup.patch | 5.5 KB | subspaceeddy |
Comments
Comment #1
subspaceeddy commentedlooks 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;
// }
Comment #2
dmuth commentedI'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