LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 10-26-2011, 01:55 PM   #1
ahjafari
LQ Newbie
 
Registered: Oct 2011
Posts: 1

Rep: Reputation: Disabled
Question how can backup a remote server(only folder needed) with ftp ,daily backup?


i decided to backup my site(i am writer in this site) and have a ftp account with full permission for access the hole folder site.
i search for best way for this !
i find many solutiones such as "rsync" , "scp" and other
my problem is this programs not support ftp account and i must visual backup your site with filezilla. i am try find a way for create backup with script with free of time( need any person)
there are any offer?
ILOVELINUX
i newbe in en (apologize for weak writing)
 
Old 10-26-2011, 04:04 PM   #2
spankbot
Member
 
Registered: Aug 2007
Posts: 131

Rep: Reputation: 15
It's possible to script ftp commands using the 'expect' scripting language. You would then add your script to a cron job to have it run on a regular basis.

http://linux.die.net/man/1/expect

But this it's considered extremely bad security policy to hard code usernames and passwords in a script. Rsync should be used. You really need to get your admin to disable ftp and enable ssh as soon as possible.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Backup software that can backup an ftp site mortalic Linux - Software 1 08-04-2010 03:25 PM
Newbie trying to write a simple backup script to backup a single folder Nd for school stryker759a Linux - Newbie 2 09-16-2009 08:52 AM
In plesk , I wish to have a backup cron job, ftp back up file to another ftp server? muskiediver Linux - General 6 07-16-2009 03:13 AM
backup from remote server ust Linux - Software 3 07-13-2009 09:41 PM
Backup options of a remote ftp account? jme Linux - Newbie 5 12-17-2005 07:40 AM


All times are GMT -5. The time now is 01:56 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration