Updated security-release info includes 3.0.0pre7 release.
[rsync-web.git] / examples.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE>rsync examples</TITLE>
5 </HEAD>
6 <!--#include virtual="header.html" -->
7
8 <H2 align="center">rsync examples</H2>
9
10 If you have an interesting example of how you use rsync then please
11 submit it to the 
12 <A HREF="mailto:rsync-bugs@samba.org">rsync-bugs@samba.org</A>
13 for inclusion on this page.
14
15 <h2>backup to a central backup server with 7 day incremental</h2>
16
17 <pre><small>
18 <!--#include virtual="backup.txt" -->
19 </small></pre>
20
21 <H2>backup to a spare disk</H2>
22
23 <pre><small>
24 <!--#include virtual="horus.txt" -->
25 </small></pre>
26
27 <H2>mirroring vger CVS tree</H2>
28
29 <pre><small>
30 <!--#include virtual="vger.txt" -->
31 </small></pre>
32
33 <H2>automated backup at home</H2>
34
35 <pre><small>
36 <!--#include virtual="susan.txt" -->
37 </small></pre>
38
39 <H2>Fancy footwork with remote file lists</H2>
40
41 <pre><small>
42 One little known feature of rsync is the fact that when run over a
43 remote shell (such as rsh or ssh) you can give any shell command as
44 the remote file list. The shell command is expanded by your remote
45 shell before rsync is called. For example, see if you can work out
46 what this does:
47
48         rsync -avR remote:'`find /home -name "*.[ch]"`' /tmp/
49
50 note that that is backquotes enclosed by quotes (some browsers don't
51 show that correctly).
52 </small></pre>
53
54 <!--#include virtual="footer.html" -->