cronjob for auto-ftp
Hi all
I request you all to know the procedure for making ftp of folders automatically from my desktop to my linux workstation,for backing up important files on a scheduled basis Thx in advance for the soln. bktpv:) |
ok you have an ftp server with the files that need to be backed up and you are wanting the client to connect via ftp and get the files and put them somewhere local.
The best way I can think of is to use ftpfs your script would simply mount the ftp server like this cd /mnt/ftpfs/ftpserver now at this point the folder structure of the ftp server appears to be a local folder and you have cd 'd into it so you can cp whatever you want like this cp -R pathonserver/myfiles/* /local/backup/ ain't this great yeee haw :Pengy: :Pengy: |
In response to your email,
Windows Stuff...... Yes you can do ftp with win 2000. Right click on my computer, select manage expand tree at bottom at Services and Applications expand tree at Internet Information Services Right click on FTP File Databank Select New Select Virtual Directory the wizard will run put in a name for the share folder setup the path to your files Set read and or write permissions after the share is built, right click it and goto the Permissions wizard to set advanced permissions if you want. Click Services in the IIS tree, on the right side in the view pane, right click FTP Publishing Service Select Properties Setup the Startup option, Logging options, and failure recovery options. You can start and stop the service by right clicking FTP File Databank if you are starting it manually. -------------------------------------------------------------------------- If none of this stuff exists on your system, put the disk in and install it, it does not install in the default installation. ------------------------------------------------------------------------- Linux stuff........ In response to the ftpfs problem You do not have it? Get it, and install it. If you have problems installing it search for ftpfs on this forum. If that don't help post again. It's a very simple to use program like it shows above. simply cd into the ftp site, it can't get any easier than that :Pengy: |
All times are GMT -5. The time now is 08:20 PM. |