08-07-2013
Shell Scripting for creating ftp and transfer file
Dear All,
We run backup script to update backup file every hour.
I want to create a script, which transfer these files in another server using ftp as new backup file created every hour. Files should be stored with a unique name for every hour(e.g 20130708_13:00 , 20130708_14:00 and so on) and after completion of 12 hours these files should be deleted.
Please let me know how can I create script for that.
It would be very thankful l if anybody help me on this.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Please help me out. it is very urgent.
when transfering the files from one server to other server if it is failed how to trace the status.
i am using two commands:
cd $SOURCE_FILE_PATH
ftp -niv $SRVR_NAME >> $LOG_PATH/$LOG_FILE << END_FTP
user $USER_ID $PASSWORD
bin
cd $REMOTE_FILE_PATH
! ... (0 Replies)
Discussion started by: ramana
0 Replies
2. HP-UX
Hi all
Pls help me this problem in FTP transfer file. I found in var/adm/syslog/syslog.log have some error when transfer file via FTP as below :
Jan 10 12:35:32 ABC ftpd: FTP LOGIN FROM ABCA (Sucessfully Open session )
Jan 10 12:40:48 ABC ftpd: FTP LOGIN FROM ABCA (Sucessfully Open session... (3 Replies)
Discussion started by: cuongpc
3 Replies
3. Shell Programming and Scripting
Hi All,
I am very new to shell scripting,I have some doubts how we can do a file transfer using ftp
I wanted to transfer files using non_secure ftp and secure ftp(sftp) mode,
for secure ftp i am using following code
verbose="verbose"
ftp="/usr/bin/ftp"
user="ABC"
pass="123"... (1 Reply)
Discussion started by: sudhi
1 Replies
4. Shell Programming and Scripting
Hi Guys,
I wanted to transfer files from FTP machine to Linux Machine.
In this, I need to create a batch file that will connect to the Linux Machine and Transfer the files specified as the parameter to the files.
Ex : transferfiles Product Time Geography
Here transferfiles shld contain... (4 Replies)
Discussion started by: Swapna173
4 Replies
5. Shell Programming and Scripting
I am going to transfer file from UNIX directory to remote windows location and i wrote the script but i am getting the error as 'FTP: not found' or i am getting this error 'The file path is not found'.
Please help me to resolve this problem as early as possible.(urgent).
my script is,
... (6 Replies)
Discussion started by: praka
6 Replies
6. Shell Programming and Scripting
Hey everybody, this is my first post so be gentle. I have two Sun 5220's running Solaris 10 that are directly connected with a cross-over cable at Gig. One of these boxes is my production Oracle server which generates a 50GB dump file every evening at 10:50. The other Solaris is a devolopment... (8 Replies)
Discussion started by: Countificus
8 Replies
7. Windows & DOS: Issues & Discussions
Hi All,
My PC with Windows XP SP2 has some problem with ftp service.
FTP Server is : Windows Server 2003 Standard R2
The condition is I can log in and also can change ftp server directory,
But I can not listing the file and can not get or put any file.
It will hang and nothing happen until... (4 Replies)
Discussion started by: wilsonSurya
4 Replies
8. AIX
Hi,
I need to transfer 2000 files from one host to another..
I modified /etc/security/limits to -1 and ulimit -f, ulimit -s, ulimit -a..
Even then only 700 files are transferred.
Could You please help me to sort out this issue..
I think some configuration related to memory is... (3 Replies)
Discussion started by: Priya Amaresh
3 Replies
9. Shell Programming and Scripting
Hi Guyz ,,
I'm an ERP functional guy , I really need to automate a script which required a shell script but have a little knowledge in shell scripting.
I need my generated files to be zipped first in one directory lets say (xyz) and then it needs to transfer another ftp server in... (3 Replies)
Discussion started by: Shogundion
3 Replies
10. Shell Programming and Scripting
the requirements is to have a linux script which connects to a windows machine using ftp command and check for a flag file
if found copy a .csv file into current machine. (3 Replies)
Discussion started by: tradingspecial
3 Replies
LEARN ABOUT DEBIAN
kbackup
kbackup(1) General Commands Manual kbackup(1)
NAME
kbackup - An easy to use backup program
VERSION
0.7
DESCRIPTION
Kbackup is a program that lets you back up any directories or files. It uses
an easy to use directory tree to select the things to back up and lets you
save your settings in "profile" files. These are simple textfiles containing
definitions for directories and files to be included or excluded from the
backup process.
USAGE
Usage: kbackup [Qt-options] [KDE-options] [profile]
APPLICATION OPTIONS
Generic options:
--help Show help about options
--help-qt Show Qt specific options
--help-kde Show KDE specific options
--help-all Show all options
--author Show author information
-v, --version Show version information
--license Show license information
Arguments:
profile Start with given profile
Options:
--script <file> Script to run after finishing one archive slice
--auto <profile> Automatically run the backup with the given profile
and terminate when done.
--autobg <profile> Automatically run the backup with the given profile
in the background (without showing a window)
and terminate when done.
--verbose In autobg mode be verbose and print every
single filename during backup
--forceFull In auto/autobg mode force the backup to be a full backup
instead of acting on the profile settings
AUTHORS
Kbackup was written by Martin Koller <kollix@aon.at>.
This man-page was created by Scott Kitterman <scott@kitterman.com> and is licensed under the same terms as kbackup.
2010-07-13 kbackup(1)