PDA

View Full Version : HOW to Change Backup FTP Port Number?


chakorules
2003-08-13, 13:47 PM
I want to use the backup option in the WHM to backup to an FTP server. I have a dedicate box here in the office running SERV-U FTP. Problem is, I'd like to change the port number used in WHM so I can route the request correcly from my router to my dedicated box in my internal network (cause I only got one IP address) based on the port number. Has any one changed the port number? How do you do that?

charlie
2003-08-15, 01:39 AM
haven't tried it myself yet... but have you tried standard port definitions for URLs? like... ftp.myworkftp.com:22 (or whatever port you want to assign it?)

the other thing that i'll probably do because of the large amount of drive space backups take on a single drive... in my case i'm doing daily.. so that means i get a monthly and a weekly.. that's triple the amount of space being used... so what i plan to do is a simple cron job that willl start an ftp session with an ftp server i pick and then do a transfer of all the files and if all checks out ok, delete the files off of the server. i really don't need a weekly and a monthly on there just a daily, but i do want it somewhere offsite. i can even have me e-mail me daily about the results and select which sites i may want to transfer and what not to. like do a file check first. i'd hate to needlessly tranfer 5 gigabytes and use my bandwidth when it's the same file i already ftp'ed over. hmm... i guess the script's not as simple as i first thought hehe...

but really just the sending to another site part is simple to cron.

chakorules
2003-08-15, 07:48 AM
No I did not try that. I actually forgot that you could do that ;-)

Thanks for the suggestion!

Chris