Posts

Showing posts from January, 2023

Schedule Database Backup Job on Linux

1. Make Backup Script Having following Task:                     a. T hat will make File Name (unique - by taking current system time)                      b. Then Export Database with Log having system generated File Name as Above                    c. Then Zip These DMP and LOG file with Password                    d. Remove DMP & LOG, to release Space.                    e. Move ZIP file to Remote Location (NAS Drive/Backup Directory having FTP Enabled) ------------------------------------------------------------------------------------------------------------------------------ #BackupScript.sh . /home/oracle/scripts/setEnv.sh filename=$( date +%d%m%Y_%H%M) BACKUP_DIR="/u02/backup" expdp user/pa...

Create Local Network Between Virtual Linux on Hyper-V and Host Machine

 Create Virtual Switch From Hyper V, With Internal Type:       Once you create this Switch, Windows will create a Virtual Adapter in Network Adatpers     Now Bind this Virtual Switch with the Virtual Machine Go To Setting of Virutal Machine           Now Go To Network Adapter and select the one we created earlier.     Once, done the start Linux Machine and Go to Network Setting from Top.    Click Setting Icon, then it will open new Network Window, Go To IPV4 Tab and select Shared To Other Computer Check Box.    Once Done,  Check what DHCP has assinged IP on Both Host and Virtual Linux Machine. The Host Machien is having following IP Now you could Ping To Check Estalibhsed Connectvitiy     However , you could setup own IP's in the network instead of 10.10.X.X