Update of /cvsroot/stack/stack-1-0/scripts/install
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13860/scripts/install
Modified Files:
stackBackup.php
Log Message:
Index: stackBackup.php
===================================================================
RCS file: /cvsroot/stack/stack-1-0/scripts/install/stackBackup.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** stackBackup.php 27 Oct 2005 14:39:22 -0000 1.2
--- stackBackup.php 27 Oct 2005 14:54:12 -0000 1.3
***************
*** 104,107 ****
--- 104,117 ----
?>
+ <h2>Combine all these xml files as one zip'd tar file.</h2>
+
+ <?php
+
+ $name = 'backup_'.time().'.tgz';
+ $directory = "{$stack_root}/{$stack_tmpdir}/"
+ $cmd = 'tar -c -z $directory*.xml > $directory'.$name;
+ //$handle = popen($cmd, "r");
+ echo echo "<p>Please download the file <a href='{$stack_web_url}tmp/{$name}'>$name</a>.</p>";
+ ?>
</body>
</html>
|