DATABASE:AWSDJWSGPL0014.JNJ.COM        : STATUS: Failed to connect to database instance: Failed to connect: java.sql.SQLRecoverableException: IO Error: Got minu
Issue has been resolved , now sync is in progress and backup is running now 
 
SQL> set lines 120 pages 1000 
SQL> select arch.thread# "Thread",appl.sequence# "Last Sequence Applied",arch.sequence# "Last Sequence Received",  
  2  (arch.sequence# - appl.sequence#) "DiffSeq",round((arch.first_time-appl.first_time)*1440) "DiffMins" 
from  (select thread# ,sequence#,first_time from v$archived_log  
where (thread#,first_time ) in (select thread#,max(first_time) from v$archived_log group by thread#)) arch, 
(select thread# ,sequence#,first_time from v$log_history  
where (thread#,first_  3  time ) in (select thread#,max(first_time) from  
v$log_history group by thread#)) appl  where  arch.thread# = appl.thread# order by 1;  4    5    6    7   
  
    Thread Last Sequence Applied Last Sequence Received    DiffSeq   DiffMins 
---------- --------------------- ---------------------- ---------- ---------- 
         1                    51                     51          0          0 
  
SQL> select status from v$instance; 
  
STATUS 
------------ 
MOUNTED 
  
SQL>  select name,open_mode,log_mode,flashback_on,database_role from v$database; 
  
NAME      OPEN_MODE            LOG_MODE     FLASHBACK_ON       DATABASE_ROLE 
--------- -------------------- ------------ ------------------ ---------------- 
QBK       MOUNTED              ARCHIVELOG   YES                PHYSICAL STANDBY 
  
SQL>