[slbackup-commit] CVS update: slbackup-php/src index.php

finnarne-guest at alioth.debian.org finnarne-guest at alioth.debian.org
Thu Sep 27 08:04:29 UTC 2007


  User: finnarne-guest
  Date: 07/09/27 08:04:29

  Modified:    src      index.php
  Log:
  Make the list of snapshots sorted
  
  Revision  Changes    Path
  1.34                 slbackup-php/src/index.php
  
  Index: index.php
  ===================================================================
  RCS file: /cvsroot/slbackup/slbackup-php/src/index.php,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- index.php	25 Apr 2007 08:15:47 -0000	1.33
  +++ index.php	27 Sep 2007 08:04:29 -0000	1.34
  @@ -98,7 +98,7 @@
   function listsnapshots ($passwd, $clientdir) {
   global $backuphost, $backupuser, $ssh_options, $ssh_askpass ;
   
  -    $cmd = sprintf ("ssh %s %s@%s 'find %s/rdiff-backup-data -maxdepth 1 -name \"increments.*\" -printf %s'", 
  +    $cmd = sprintf ("ssh %s %s@%s 'find %s/rdiff-backup-data -maxdepth 1 -name \"increments.*\" -printf %s | sort '", 
      		     $ssh_options, $backupuser, 
   		     $backuphost, $clientdir, '"%P\n"') ; 
   
  
  
  



More information about the slbackup-commit mailing list