10 More Discussions You Might Find Interesting
1. 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
2. UNIX for Advanced & Expert Users
I have a script that synchronises a directory to a DR server, but to improve the time, I actually use rsync to transfer files * in one batch and also
* in another batch - both batches run from the same script and run in the background.
My problem is that there isn't much space on the... (1 Reply)
Discussion started by: Catullus
1 Replies
3. Shell Programming and Scripting
Wondering if anyone can point me to an example of how to setup a bash script that executes cp mv and rsync commands and only sends an email if there were errors with any of those commands and what the errors are. In addition it should email if the cron event to execute the script fails, or in... (1 Reply)
Discussion started by: consultant
1 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
I want delete all files from destination folder. I am trying below commands
rsync -avFF --delete-after /home/vizion/source/ /home/vizion/destination/
I need to be delete all file/fodders from destination
Any body have idea ? Please correct me. (3 Replies)
Discussion started by: Chenchireddy
3 Replies
5. UNIX for Advanced & Expert Users
hi All,
i have 2 server setup now for Rsync, i configured Rsync on both of the server and it worked well when i did run from source to destination. and while running back from destination to source it produced this error:
bash-3.2$ ksh rsync_bravo_db.ksh usa0300uz1247.apps.mc.xerox.com... (0 Replies)
Discussion started by: lovelysethii
0 Replies
6. Shell Programming and Scripting
I've got a rsync script that backups file from disk1 to disk3. This works great however if there are extra files on disk3 they do not get deleted by the sync.
I'm syncing all folders from F-J
rsync --progress -v --delete --delete-excluded -av --recursive /home/disk1/Files/*... (0 Replies)
Discussion started by: gmccarthy
0 Replies
7. Shell Programming and Scripting
I'm trying to write a script to back up with rsync, the script I am posting below:
nomServer="shiva horus isis"
dirshiva="/etc /faturamento"
shivaListExc="/usr/local/bin/shivaListExclRsync"
dumpDir="$dumpFile/Shiva"
dateBkp=`date +%A`
for nServer in ${nomServer}
do
... (3 Replies)
Discussion started by: ajmoreti
3 Replies
8. Shell Programming and Scripting
Ok, i've been messing around in debian the past few days, setting up programs like subversion, mysql and logrotate. The purpose of this script is to use subversion to backup the binary logs. It runs in the cron every 2 hours or so (although I can't get my script to run properly atm, which is why... (1 Reply)
Discussion started by: cganly
1 Replies
9. Shell Programming and Scripting
Hello,
I have a bash script update.sh that contains
rsync --delete -avz -e ssh ${files} root@64.XX.XX.XX:/websites/red/
when I use that script ./update.sh as root, it works like a charm as I set up the private/public key properly.
When run from a php script through the apache webserver
<?php... (10 Replies)
Discussion started by: JCR
10 Replies
10. UNIX for Advanced & Expert Users
Dear Folks,
I have to backup pgsql database dump everynight on a routine. The database dump actually contains sql(text) statements. The actual size of the database dump is aroung 800 MB. Between two days backup, only few lines of statements are modified/added/deleted.
I dont want to do... (1 Reply)
Discussion started by: rssrik
1 Replies