10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
- run a backup job
- The jobs creates partial files one after the other, about 2 minutes interval.
What i want to do is that while the job is still running or while a file was last modified or created 3 minutes ago, the
file should be rsync to a remote server untill the last file has been... (4 Replies)
Discussion started by: malaika
4 Replies
2. Shell Programming and Scripting
I wish to copy all the files & folder under /web/Transfer_Files/data/ on mymac1 (Linux) to remote server mybank.intra.com (Solaris 10) /tmp/ location
I am using Ansible tool synchronize module which triggers the unix rsync command as below:rsync --delay-updates -F --compress --archive --rsh=ssh... (2 Replies)
Discussion started by: mohtashims
2 Replies
3. Shell Programming and Scripting
Hello Friends,
I am trying to create an rsync file restore script. I will post want I have below and explain the problem I am having.
#!/bin/bash
#
# Partial Rsync File Restore Script
#
#
clear
echo
# Shell loads into /raid0/data/backup/bin/
cd .. # I cd to the backup... (1 Reply)
Discussion started by: jdavis_33
1 Replies
4. UNIX for Advanced & Expert Users
I am trying to sync the source tree into backup and somehow
this one file dumper.c is not in sync, see below after running the script:
/u/prj/dir$ l -tr dumper.c /v/tmp/prj_src/dir/dumper.c
-rw-rw-r-- 1 prj group 15635 Jun 20 16:28 /v/tmp/prj_src/dir/dumper.c
-rw-rw-r-- 1 prj ... (2 Replies)
Discussion started by: migurus
2 Replies
5. Shell Programming and Scripting
I have been using rsync scripts for a while and use them to sync directories across my servers. However i need to set up an rsync script to copy only one file from a server. Is this possible with rsync? If so how would i do this? I have looked on examples on the internet and only see examples for... (2 Replies)
Discussion started by: timgolding
2 Replies
6. Shell Programming and Scripting
hi all,
Please help me with rsync.
I configured rsync to preserve timestamps using the -a option.
When i renamed fileA to fileB on source machine I have to copies at the backup server.
The aim is to keep the most recent file.
fileA & fileB has same contents.
When i renamed fileB to... (2 Replies)
Discussion started by: coolatt
2 Replies
7. UNIX for Advanced & Expert Users
Where is the file list created by rsync when it says building file list ? (1 Reply)
Discussion started by: glev2005
1 Replies
8. UNIX for Advanced & Expert Users
I'd like to rsync any files that end with 'rpt' under source dir called 'opt', and here is the command i tried: rsync -avz --include='*.rpt' --exclude='*' /opt /tmp -n
but the list returned is a complete listing under opt. can anyone help out please? (2 Replies)
Discussion started by: jw_712
2 Replies
9. Shell Programming and Scripting
I'm going to have a text file formatted something like this:
some_name http://www.someurl.com/
another_name http://www.anotherurl.com/
third_name http://www.thirdurl.com/
I need to write a script that can rsync from a file path I'll set, to each URL in the list.
Any ideas? (8 Replies)
Discussion started by: ibsen
8 Replies
10. UNIX for Dummies Questions & Answers
Hello, I'm trying to utilize rsync to backup 7 gigs of approximately 10,000 files, from what I've read this should be no sweat. However subsequent syncs seem to build an entirely new file list and the process takes a great deal of time. Reading the man page I'm not sure if I need to specify a file... (3 Replies)
Discussion started by: hexaplus
3 Replies