![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Facing problems when FTPING file from server to local (Very Urgent) | sunitachoudhury | Shell Programming and Scripting | 3 | 04-01-2008 03:41 AM |
| Script for FTPing files to mainframe GDG | dsrookie | UNIX for Dummies Questions & Answers | 1 | 03-13-2008 09:32 AM |
| removing files after ftping | im_new | Shell Programming and Scripting | 5 | 02-26-2008 02:59 AM |
| Tar file from Linux server to PC for backup | zp523444 | Filesystems, Disks and Memory | 8 | 01-19-2007 03:44 AM |
| Backup user from one server and restore to another | fidodido | UNIX for Dummies Questions & Answers | 1 | 04-22-2006 12:03 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
FTPing backup files to another server
I am running a hot backup of my database every night within our cronjob. Recently I got burned because the tape which holds my backups became corrupt. I am setting up another Sun box to hold my backups as well as writing them to tape. I know dumb error on my part. My question is what will I have to do to automate the ftp action to move the backup file to the backup server every night with some sort of script or command? I would like to have this done by the machine. I am not a Unix guru and would like some help if anyone has any ideas on this. Thanks for the input!
FRL |
|
||||
|
There's some samples out there that can help you if you do a search on 'automate ftp', etc.
This is relatively easy to set up so you shouldn't have any problems. If you have some problems after you tried out some scripts then let us know. Gianni. |
|
||||
|
I have found a script and tried it to no avail. I get the following error.
Warning: tcgetattr failed in ssh_rl_set_tty_modes: Inappropriate ioctl for device I got the following script from this site and used it. I got it to ask for my password but that isn't what I'm aiming for. I need this thing to run at night on it's own. And it asked me for my root password not the password for the user I specified in the script. I know what all the lines are for except the first and the 5th (lcd....). Can someone explain what those are doing for me. I think I'm on the right track, just need some more directions. sftp IP ADDRESS<<end user uname pword cd /security1 bin put filename bye end |
|
||||
|
tar across network
would tar -czvf machine_name:/home/user/backup.tar.gz /dir2/backup work across network for linux/unix boxes, to the tape drives?
tar -czvf machine_name:/dev/rmt/st0/backup.tar.gz /myhomedir/ would this work? |
![]() |
| Bookmarks |
| Tags |
| inappropriate ioctl for device, linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|