Changeset 1037


Ignore:
Timestamp:
03/18/09 15:33:27 (3 years ago)
Author:
strat.cristian@…
Message:

Bug in backup script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/backup

    r1035 r1037  
    3737        $backup_file .= ".gpg"; 
    3838        log_print("Encrypting database dump to {$backup_file}"); 
    39         system(sprintf("gpg -c --passphrase-file='%s' < %s > %s", 
    40                 IA_BACKUP_DB_ENCRYPT_KEY, $temp_file, $backup_file)); 
     39        system(sprintf("gpg -c --batch --no-tty --passphrase-file='%s' " 
     40                ."< %s > %s", IA_BACKUP_DB_ENCRYPT_KEY, $temp_file, 
     41                $backup_file)); 
    4142        unlink($temp_file); 
    4243    } else { 
Note: See TracChangeset for help on using the changeset viewer.