NFS remote backup

NFS Remote Backup
1)usage  
1@@@@ install the network file system tools on station23
192.168.0.23
#yum -y install rpcbind*
#yun -y install nfs*
[root@station23 /]# service nfs restart  
[root@stat[root@station23 /]# service portmap start
Starting portmap:                                          [  OK  ]
ion23 /]# chown 602:602 /data
[root@station23 /]# ls -Zd /data
drwxr-xr-x  oracle oinstall                                  /data
@@@
[root@station23 /]# showmount -e  
Export list for station23.example.com:
/data                             192.168.0.0/24
 
2@@@@ backup file to /mnt directory
192.168.0.60
[root@station60 ~]# su - oracle
[oracle@station60 ~]$ id  
uid=602(oracle) gid=602(oinstall) groups=602(oinstall),603(dba)
@@@
[root@station60 /]# mount -t nfs -o rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,vers=3,
timeo=600,actimeo=0 station23:/data  /mnt
@@@
[oracle@station60 ~]$ rman target /
RMAN> show all;  
CONFIGURE DEFAULT DEVICE TYPE TO DISK;
RMAN> backup tablespace example format '/mnt/%U.bks';
@@@
[root@station23 data]# ls /data
0dmtv0ps_1_1.bks

你可能感兴趣的:(service,backup,System,NetWork,start)