$ more ftp_backup_to_remote.sh
#!/usr/bin/ksh
ftp -n<<!
open 192.168.89.10
user oracle oracle
binary
cd /backup/exp/operation
lcd /backup/exp
prompt
mput *
close
bye
EOF
时间: 2024-10-26 04:10:02
$ more ftp_backup_to_remote.sh
#!/usr/bin/ksh
ftp -n<<!
open 192.168.89.10
user oracle oracle
binary
cd /backup/exp/operation
lcd /backup/exp
prompt
mput *
close
bye
EOF