Hi all,
I'm trying to back up a remote server with RSync script:
Code:
#!/bin/bash
## my own rsync-based snapshot-style backup procedure
# config vars
SRC="goupsmar@go-upsmart.com:~/public_html/" #dont forget trailing slash!
SNAP="/media/Backups/UpSmart"
OPTS="-e ssh -rltgoi --delay-updates --delete --chmod=a-w"
MINCHANGES=20
# run this proce
I'm using rsync to copy some source code. The copied code must not be modified at the destination place, so I set --chmod=u-w flag to make it read-only after copying.
rsync --delete -a --chmod=u-w
First is working well.
I used rsync to copy a large number of files, but my OS (Ubuntu) restarted unexpectedly.
After reboot, I ran rsync again, but from the output on the terminal, I found that rsync still copied those already copied before. But I heard that rsync is able to find differences between source and destination, and therefore to just copy the differences.
Hey guys.
I have a rsync command as follows in a expect script
Code:
spawn rsync -a -r -z -v -h -p -i --log-file=/path/rsync.log --progress --delete-excluded -e ssh user@ip:/source /destination
My question is.
When rsync has downloaded a file or folder, how can i get rsync to touch the file / folder with a date and timestamp for when the download was completed on the destination?
Thanks on
rsync 51 weeks 4 days ago Hi all,
I'm new to the rsync world in hpux. Currently I have rsync going through the main public lan, but dude to traffic loads, I have been told that i need to use a dedicated rsync lan.
I currently have 4 spare nics and the plan was to use one of these for the rsync, but I can't figure out how to get the rsync process to use the spare nic.
Any help would be appreciated.
Thanks.
Hi,
I'm a newbe on this forum, and I have a question.
I try to send a file to other server with solaris with rsync, but I have this error:
bash: rsync: command not found
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(359)
the command is
rsync -ctvz --timeout=10 --bwlimit=100 export.tar.gz max@reposrv:
I recently ran the following "Rsync" command to sync the entire content (subfolder) of a folder on a "NAS" to another folder on a "NAS".
Quote:
rsync -urp --progress /home/Sillynubie/.gvfs/"mylibrary on 10.10.2.4"/Network_Media_Audio/ /home/Sillynubie/.gvfs/"music on 10.10.2.5"
When I check the d
Iam using rsync tool to sync files from one linux server to other linux server, however it takes huge time to finish it.
I've got a rsync script that backups file from disk1 to disk3.