1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE chapter PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
8 <title>Backup Techniques</title>
11 <title>Features and Benefits</title>
14 <indexterm><primary>backup</primary></indexterm>
15 <indexterm><primary>UNIX system files</primary></indexterm>
16 <indexterm><primary>system tools</primary></indexterm>
17 <indexterm><primary>Samba mailing lists</primary></indexterm>
18 The Samba project is over 10 years old. During the early history
19 of Samba, UNIX administrators were its key implementors. UNIX administrators
20 use UNIX system tools to backup UNIX system files. Over the past
21 4 years, an increasing number of Microsoft network administrators have
22 taken an interest in Samba. This is reflected in the questions about backup
23 in general on the Samba mailing lists.
29 <title>Discussion of Backup Solutions</title>
32 <indexterm><primary>Meccano set</primary></indexterm>
33 <indexterm><primary>training course</primary></indexterm>
34 During discussions at a Microsoft Windows training course, one of
35 the pro-UNIX delegates stunned the class when he pointed out that Windows
36 NT4 is limiting compared with UNIX. He likened UNIX to a Meccano set
37 that has an unlimited number of tools that are simple, efficient,
38 and, in combination, capable of achieving any desired outcome.
42 <indexterm><primary>networking advocates</primary></indexterm>
43 <indexterm><primary>clear purpose preferred</primary></indexterm>
44 One of the Windows networking advocates retorted that if she wanted a
45 Meccano set, she would buy one. She made it clear that a complex single
46 tool that does more than is needed but does it with a clear purpose and
47 intent is preferred by some like her.
51 <indexterm><primary>due diligence</primary></indexterm>
52 <indexterm><primary>research</primary></indexterm>
53 <indexterm><primary>backup solution</primary></indexterm>
54 Please note that all information here is provided as is and without recommendation
55 of fitness or suitability. The network administrator is strongly encouraged to
56 perform due diligence research before implementing any backup solution, whether free
57 software or commercial.
61 A useful Web site I recently stumbled across that you might like to refer to
62 is located at <ulink noescape="1" url="http://www.allmerchants.com/Software/Backup_Software/">
63 www.allmerchants.com</ulink>.
67 The following three free software projects might also merit consideration.
71 <title>BackupPC</title>
75 <indexterm><primary>BackupPC</primary></indexterm>
76 <indexterm><primary>rsync</primary></indexterm>
77 <indexterm><primary>rsyncd</primary></indexterm>
78 BackupPC version 2.0.0 has been released on <ulink url="http://backuppc.sourceforge.net">SourceForge</ulink>.
79 New features include support for <command>rsync/rsyncd</command> and internationalization of the CGI interface
80 (including English, French, Spanish, and German).
84 <indexterm><primary>BackupPC</primary></indexterm>
85 <indexterm><primary>laptops</primary></indexterm>
86 <indexterm><primary>SMB</primary></indexterm>
87 <indexterm><primary>smbclient</primary></indexterm>
88 <indexterm><primary>tar</primary></indexterm>
89 <indexterm><primary>rsh</primary></indexterm>
90 <indexterm><primary>ssh</primary></indexterm>
91 <indexterm><primary>rsync</primary></indexterm>
92 BackupPC is a high-performance Perl-based package for backing up Linux,
93 UNIX, and Windows PCs and laptops to a server's disk. BackupPC is highly
94 configurable and easy to install and maintain. SMB (via smbclient),
95 <command>tar</command> over <command>rsh/ssh</command>, or <command>rsync/rsyncd</command>
96 are used to extract client data.
100 <indexterm><primary>RAID</primary></indexterm>
101 <indexterm><primary>local disk</primary></indexterm>
102 <indexterm><primary>network storage</primary></indexterm>
103 Given the ever-decreasing cost of disks and RAID systems, it is now
104 practical and cost effective to backup a large number of machines onto
105 a server's local disk or network storage. This is what BackupPC does.
109 Key features are pooling of identical files (big savings in server disk
110 space), compression, and a comprehensive CGI interface that allows users
111 to browse backups and restore files.
115 <indexterm><primary>GNU GPL</primary></indexterm>
116 BackupPC is free software distributed under a GNU GPL license.
117 BackupPC runs on Linux/UNIX/freenix servers and has been tested
118 on Linux, UNIX, Windows 9x/Me, Windows 98, Windows 200x, Windows XP, and Mac OSX clients.
127 <indexterm><primary>rsync</primary></indexterm>
128 <indexterm><primary>ftp</primary></indexterm>
129 <indexterm><primary>http</primary></indexterm>
130 <indexterm><primary>scp</primary></indexterm>
131 <indexterm><primary>rcp</primary></indexterm>
132 <indexterm><primary>checksum-search</primary></indexterm>
133 <command>rsync</command> is a flexible program for efficiently copying files or
134 directory trees.</para>
136 <para><command>rsync</command> has many options to select which files will be copied
137 and how they are to be transferred. It may be used as an
138 alternative to <command>ftp, http, scp</command>, or <command>rcp</command>.</para>
141 <indexterm><primary>remote-update protocol</primary></indexterm>
142 <indexterm><primary>transfer differences</primary></indexterm>
143 <indexterm><primary>differences</primary></indexterm>
144 The rsync remote-update protocol allows rsync to transfer just
145 the differences between two sets of files across the network link,
146 using an efficient checksum-search algorithm described in the
147 technical report that accompanies the rsync package.</para>
149 <para>Some of the additional features of rsync are:</para>
155 Support for copying links, devices, owners, groups, and permissions.
161 Exclude and exclude-from options are similar to GNU tar.
167 A CVS exclude mode for ignoring the same files that CVS would ignore.
173 Can use any transparent remote shell, including rsh or ssh.
179 Does not require root privileges.
185 Pipelining of file transfers to minimize latency costs.
191 Support for anonymous or authenticated rsync servers (ideal for
200 <title>Amanda</title>
204 <indexterm><primary>Amanda</primary></indexterm>
205 <indexterm><primary>native dump</primary></indexterm>
206 <indexterm><primary>GNU tar</primary></indexterm>
207 Amanda, the Advanced Maryland Automatic Network Disk Archiver, is a backup system that
208 allows the administrator of a LAN to set up a single master backup server to back up
209 multiple hosts to a single large capacity tape drive. Amanda uses native dump and/or
210 GNU tar facilities and can back up a large number of workstations running multiple
211 versions of UNIX. Recent versions can also use Samba to back up Microsoft Windows hosts.
215 For more information regarding Amanda, please check the <ulink url="http://www.amanda.org/">
216 www.amanda.org/ site</ulink>.
222 <title>BOBS: Browseable Online Backup System</title>
226 <indexterm><primary>BOBS</primary></indexterm>
227 Browseable Online Backup System (BOBS) is a complete online backup system. Uses large
228 disks for storing backups and lets users browse the files using a Web browser. Handles
229 some special files like AppleDouble and icon files.
233 The home page for BOBS is located at <ulink url="http://bobs.sourceforge.net/">
234 bobs.sourceforge.net</ulink>.