lathama: branch 2.0 r5140 - /branches/2.0/config/js/backup.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Fri Jan 14 11:32:21 CST 2011


Author: lathama
Date: Fri Jan 14 11:32:16 2011
New Revision: 5140

URL: http://svnview.digium.com/svn/asterisk-gui?view=rev&rev=5140
Log:
GUI Backups with Symlinks

GUI Backups with Symlinks
Add TAR option -h, --dereference = follow symlinks

(closes issue #18577)
Reported by: rjch_au
Patches:
      asterisk-gui_backup_fix_for_symlinked_asterisk_directories.patch uploaded by rjch au (license 1191)
Tested by: lathama, rjch_au

Modified:
    branches/2.0/config/js/backup.js

Modified: branches/2.0/config/js/backup.js
URL: http://svnview.digium.com/svn/asterisk-gui/branches/2.0/config/js/backup.js?view=diff&rev=5140&r1=5139&r2=5140
==============================================================================
--- branches/2.0/config/js/backup.js (original)
+++ branches/2.0/config/js/backup.js Fri Jan 14 11:32:16 2011
@@ -283,7 +283,7 @@
 		}) ;
 		return ;
 	}else{
-		parent.ASTGUI.systemCmd( "tar -cf " + bkpPath + bkpfile + ' ' +  ' /etc/asterisk', function(){
+		parent.ASTGUI.systemCmd( "tar -chf " + bkpPath + bkpfile + ' ' +  ' /etc/asterisk', function(){
 			ASTGUI.feedback( { msg:'Backup Successful', showfor:2 });
 			parent.ASTGUI.dialog.waitWhile('Reloading List of backup Files');
 			setTimeout( function(){ parent.ASTGUI.dialog.hide(); window.location.reload(); } , 2000 );




More information about the asterisk-gui-commits mailing list