Showing posts with label remote. Show all posts
Showing posts with label remote. Show all posts

Tuesday, 24 November 2020

Remote client copy

 Pre-requsites:

  • Create client in the target system using SCC4.
  • Set login/automatic login sap* profile parameter and restart the server.
  • ABAP RFC connection from target to source client using SM59.
  • system user in source client.
  • All connection test should work in SM59 from target to source.
Process:

login to target client.
Run T-code: SCC9
provide profile and RFC connection details to source client.

click on Schedule as Background job.


 enable immediately check box --> schedule job


 
Review and click on continue


click on continue



Now Access T-code: SCC3


Based on the data in the table,it will take some time to complete the remote client copy.can check the successfully completed status as highlighted below.





Saturday, 7 March 2020

Backup of file system using scripts and moving the backup file to remote server.

 #!/bin/bash
# This script is used to take backup of mount point /var and /etc

tar -cvzf /tmp/backup.tar.gz /var /tmp
find /tmp/backup.tar.gz -mtime +1 -type f -print &> /dev/null
If [ $? -eq 0 ]
        then
        echo backup completed successfully
        echo
 echo moving backup file to backup  server...
   echo .
   echo ..
   echo ...
scp /tmp/backup.tar.gz  root@192.168.1.1 x:/backup/
else
echo backup failed
echo
echo troubleshoot the script
fi

:wq!