10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello all,
I'm using rsync to maintain two copies of a music library on my main workstation and a server running MPD. I'm wondering about using the script below as a basis for cron to update my MPD db if new files have been added or existing files modified:
find -type f -iname 'FILENAME' -mmin... (9 Replies)
Discussion started by: pmicka
9 Replies
2. Shell Programming and Scripting
hi all,
i didnt know where to place the question on this site but seen as though it relates to a script i have done so here...
my issue is this...
i have 2 servers.
On server 1 (master) I have a structure such as /home/test/folder1,/home/test/folder2 and /home/test/folder3.
On server... (0 Replies)
Discussion started by: muay_tb
0 Replies
3. Shell Programming and Scripting
Hi there
Does anybody know of a way that i can, instead of issuing a --delete when syncing one directory to another, I can instead somehow receive a list of what would be deleted, but not actually delete it ?
basically, people are occasionally putting files into one of synced folders, but... (2 Replies)
Discussion started by: rethink
2 Replies
4. UNIX for Dummies Questions & Answers
I have a folder on a server that I update from different machines. So I think Rsync sounds like a good solution but I'm not sure how to make it a bidirectional check for updating, because if I work on the file on one of my client machines it could be newer than the server. (2 Replies)
Discussion started by: elbombillo
2 Replies
5. UNIX for Dummies Questions & Answers
I have folders that sync over the network with an external software. I would like to know if rsync can be used to only sync permissions on files on the files. Remember I just want the permissions on the source to be copied over to the destination's already synced files. (2 Replies)
Discussion started by: elbombillo
2 Replies
6. HP-UX
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies
7. UNIX for Advanced & Expert Users
Hi, I have problem with incremental copy of files from source to destination.
I would like to copy different sources to different destinations. I made a backup script which look like that:
curd=$(date +%w)
day=$(date +%A)
mkdir -p /home/backup/DATA/$day
case $curd in
1|2|3|4|5)
... (7 Replies)
Discussion started by: zhivko.neychev
7 Replies
8. UNIX for Advanced & Expert Users
Hey there guys I'm trying to rsync up a subdirectory only. For example
/Volumes/media/WebDocuments/2006/* but not
/Volumes/media/WebDocuments/2007/*
rsync -va /Volumes/media/WebDocuments/2006/ \
user@host:/backups/2006/
If I do it that way I get only the contents... (3 Replies)
Discussion started by: sidmuchrock
3 Replies
9. UNIX for Dummies Questions & Answers
Hi All
I am trying to rsync the directories between two servers. The source directory is huge (8 GB) and I have the need to take an offsite backup. The directory I am trying to rsync has 774 permissions and are owned by a user/ group. To startup I backed up the source directory and restored... (1 Reply)
Discussion started by: skotapal
1 Replies
10. IP Networking
Does anyone know if rsync will work without ssh or rsh? I am trying to use rsync to synchronize files on two servers, one a production server and the other a standbyserver. The problem is that I have't been given the ok to install openssh on our productions servers, so I am trying to make my job... (4 Replies)
Discussion started by: cstovall
4 Replies
librsync(3) Library Functions Manual librsync(3)
NAME
librsync - library for delta compression of streams
SYNOPSYS
#include <stdio.h>
#include <stdlib.h>
#include <librsync.h>
cc ... -lrsync
DESCRIPTION
The librsync library implements network delta-compression of streams and files. The algorithm is similar to that used in the rsync(1) and
xdelta(2) programs, but specialized for transfer of arbitrary-length octet streams. Unlike most diff programs, librsync does not require
access to both of the files on the same machine, but rather only a short ``signature'' of the old file and the complete contents of the new
file.
The canonical use of librsync is in the rproxy(8) reference implementation of the rsync proposed extension to HTTP. It may be useful to
other programs which wish to do delta-compression in HTTP, or within their own protocol. There are HTTP-specific utility functions within
librsync, but they need not be used.
A number of tools such as rdiff(1) provide command-line and scriptable access to rsync functions.
SEE ALSO
rdiff(1)
rdiff and librsync Manual
http://rproxy.sourceforge.net/.
draft-pool-rsync
BUGS
The rsync protocol is still evolving. There may be bugs in the implementation. The interface may change in the future, but it is becoming
more stable.
Many routines will panic in case of error rather than returning an error code to the caller. Patches to fix this are welcome, but at the
current state of development aborting seems as useful as trusting to possibly-incomplete checking in the client.
AUTHOR
Martin Pool <mbp@samba.org>, with Andrew Tridgell <tridge@samba.org>.
rdiff development has been supported by Linuxcare, Inc and VA Linux Systems.
Martin Pool $Date: 2003/06/12 06:03:32 $ librsync(3)