Project

General

Profile

« Previous | Next » 

Revision d56e44ba

Added by Scott Ullrich almost 17 years ago

Show the backup date and time available for RESTORE

View differences:

etc/phpshellsessions/cvssync
57 57
				);
58 58

  
59 59
if(file_exists("/root/cvssync_backup.tgz")) {
60
	$tmp = array("RESTORE" => "Restores prior CVSSync backup data.");
60
	$backup_date = `ls -lah /root/cvssync_backup.tgz | awk '{ print $6,$7,$8 }'`;
61
	$tmp = array("RESTORE" => "Restores prior CVSSync backup data performed at {$backup_date}");
61 62
	$branches = array_merge($branches, $tmp);
62 63
}
63 64

  

Also available in: Unified diff