@@ -131,7 +131,6 @@ do_restore_or_validate(InstanceState *instanceState, time_t target_backup_id, pg
131131bool cleanup_pgdata = false;
132132bool backup_has_tblspc = true;/* backup contain tablespace */
133133XLogRecPtr shift_lsn = InvalidXLogRecPtr ;
134- char timestamp [100 ];
135134
136135if (instanceState == NULL )
137136elog (ERROR ,"Required parameter not specified: --instance" );
@@ -688,11 +687,10 @@ do_restore_or_validate(InstanceState *instanceState, time_t target_backup_id, pg
688687backup_id_of (dest_backup ),
689688dest_backup -> server_version );
690689
691- time2iso (timestamp ,lengthof (timestamp ),dest_backup -> start_time , false);
692690if (instance_config .remote .host )
693- elog (INFO ,"Restoring the database fromthe backupstarting at %s on %s" ,timestamp ,instance_config .remote .host );
691+ elog (INFO ,"Restoring the database from backup %s on %s" ,backup_id_of ( dest_backup ) ,instance_config .remote .host );
694692else
695- elog (INFO ,"Restoring the database fromthe backupstarting at %s" ,timestamp );
693+ elog (INFO ,"Restoring the database from backup %s" ,backup_id_of ( dest_backup ) );
696694
697695restore_chain (dest_backup ,parent_chain ,dbOid_exclude_list ,params ,
698696instance_config .pgdata ,no_sync ,cleanup_pgdata ,backup_has_tblspc );