soupn
May 27 2005, 04:48 AM
Hello,
i have cpanel doing daily, weekly and monthly backups to /backups directory. I have configured a ftp server at my home pc, and i want to enter server by root, enter /backups/weekly/ folder and send all .tar.gz files to my home ftp.
I dont know the command or how to do it. Any help avaiable? :confused:
thks in advance.
theuruguayan
May 27 2005, 09:06 AM
well.. you can ssh inside the server to that folder, and use FTP to upload to your local computer.
you should check in google for a tutorial of ftp command line. Is preaty easy, a few steps are:
ftp (enter)
open (enter)
IPOFSERVER
It will ask the user/pass.
Then you just write: put filename
and it will upload it, just remember to do this from inside the folder where the files are located.
soupn
May 27 2005, 10:09 AM
thks for your help.
what's the use of IPOFSERVER comand?
i enter root, go to /backups, ftp "ip", enter user and pass. i enter "put *.tar.gz" and it will start transfer all *.tar.gz to my server. My ftp server has one folder in it called downloads. How can i tell my server to store files in that ftp folder?
theuruguayan
May 27 2005, 11:11 AM
IPOFSERVER aint a command, is the IP of your server
you need to go inside that folder, and then execute the put command.
soupn
May 27 2005, 11:16 AM
IPOFSERVER ... me dumb...

thks for your help.
kamihacker
May 27 2005, 12:38 PM
QUOTE (soupn)
thks for your help.
what's the use of IPOFSERVER comand?
i enter root, go to /backups, ftp "ip", enter user and pass. i enter "put *.tar.gz" and it will start transfer all *.tar.gz to my server. My ftp server has one folder in it called downloads. How can i tell my server to store files in that ftp folder?
for ftp automatic transaction I'd recommend using ncftpput instead of regular ftp, it has nice and pretty parameters to invoke a whole set of instructions without extra user input
regards
soupn
May 27 2005, 04:44 PM
root@web [/backups/cpbackup/weekly]# ncftpput -u 'user' -p 'pass' xxx.dyndns.org downloads *.*
did the job. many thks to you both.
soupn
Jul 18 2006, 06:37 PM
hello,
i had to restore all hdd data and lost ncftpput. any info how to install it?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.