~lefteris-nikoltsios/+junk/samba-lp1016895

« back to all changes in this revision

Viewing changes to docs/htmldocs/Samba3-HOWTO/Backup.html

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2011-12-21 13:18:04 UTC
  • mfrom: (0.39.21 sid)
  • Revision ID: package-import@ubuntu.com-20111221131804-xtlr39wx6njehxxr
Tags: 2:3.6.1-3ubuntu1
* Merge from Debian testing.  Remaining changes:
  + debian/patches/VERSION.patch:
    - set SAMBA_VERSION_SUFFIX to Ubuntu.
  + debian/patches/error-trans.fix-276472:
    - Add the translation of Unix Error code -ENOTSUP to NT Error Code
    - NT_STATUS_NOT_SUPPORTED to prevent the Permission denied error.
  + debian/smb.conf:
    - add "(Samba, Ubuntu)" to server string.
    - comment out the default [homes] share, and add a comment about
      "valid users = %S" to show users how to restrict access to
      \\server\username to only username.
    - Set 'usershare allow guests', so that usershare admins are 
      allowed to create public shares in addition to authenticated
      ones.
    - add map to guest = Bad user, maps bad username to guest access.
  + debian/samba-common.config:
    - Do not change priority to high if dhclient3 is installed.
    - Use priority medium instead of high for the workgroup question.
  + debian/control:
    - Don't build against or suggest ctdb.
    - Add dependency on samba-common-bin to samba.
  + Add ufw integration:
    - Created debian/samba.ufw.profile
    - debian/rules, debian/samba.dirs, debian/samba.files: install
      profile
    - debian/control: have samba suggest ufw
  + Add apport hook:
    - Created debian/source_samba.py.
    - debian/rules, debian/samba.dirs, debian/samba-common-bin.files: install
  + Switch to upstart:
    - Add debian/samba.{nmbd,smbd}.upstart.
  + debian/samba.logrotate, debian/samba-common.dhcp, debian/samba.if-up:
    - Make them upstart compatible
  + debian/samba.postinst: 
    - Avoid scary pdbedit warnings on first import.
  + debian/samba-common.postinst: Add more informative error message for
    the case where smb.conf was manually deleted
  + debian/patches/fix-debuglevel-name-conflict.patch: don't use 'debug_level'
    as a global variable name in an NSS module 
  + Dropped:
    - debian/patches/error-trans.fix-276472
    - debian/patches/fix-debuglevel-name-conflict.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter�31.�Backup Techniques</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.5.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part�III.�Advanced Configuration"><link rel="prev" href="unicode.html" title="Chapter�30.�Unicode/Charsets"><link rel="next" href="SambaHA.html" title="Chapter�32.�High Availability"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter�31.�Backup Techniques</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="unicode.html">Prev</a>�</td><th width="60%" align="center">Part�III.�Advanced Configuration</th><td width="20%" align="right">�<a accesskey="n" href="SambaHA.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter�31.�Backup Techniques"><div class="titlepage"><div><div><h2 class="title"><a name="Backup"></a>Chapter�31.�Backup Techniques</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="Backup.html#id433914">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="Backup.html#id433954">Discussion of Backup Solutions</a></span></dt><dd><dl><dt><span class="sect2"><a href="Backup.html#id434040">BackupPC</a></span></dt><dt><span class="sect2"><a href="Backup.html#id434203">Rsync</a></span></dt><dt><span class="sect2"><a href="Backup.html#id434363">Amanda</a></span></dt><dt><span class="sect2"><a href="Backup.html#id434406">BOBS: Browseable Online Backup System</a></span></dt></dl></dd></dl></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id433914"></a>Features and Benefits</h2></div></div></div><p>
2
 
<a class="indexterm" name="id433922"></a>
3
 
<a class="indexterm" name="id433928"></a>
4
 
<a class="indexterm" name="id433935"></a>
5
 
<a class="indexterm" name="id433942"></a>
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter�31.�Backup Techniques</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="The Official Samba 3.5.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part�III.�Advanced Configuration"><link rel="prev" href="unicode.html" title="Chapter�30.�Unicode/Charsets"><link rel="next" href="SambaHA.html" title="Chapter�32.�High Availability"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter�31.�Backup Techniques</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="unicode.html">Prev</a>�</td><th width="60%" align="center">Part�III.�Advanced Configuration</th><td width="20%" align="right">�<a accesskey="n" href="SambaHA.html">Next</a></td></tr></table><hr></div><div class="chapter" title="Chapter�31.�Backup Techniques"><div class="titlepage"><div><div><h2 class="title"><a name="Backup"></a>Chapter�31.�Backup Techniques</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="Backup.html#id433904">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="Backup.html#id433944">Discussion of Backup Solutions</a></span></dt><dd><dl><dt><span class="sect2"><a href="Backup.html#id434031">BackupPC</a></span></dt><dt><span class="sect2"><a href="Backup.html#id434193">Rsync</a></span></dt><dt><span class="sect2"><a href="Backup.html#id434353">Amanda</a></span></dt><dt><span class="sect2"><a href="Backup.html#id434397">BOBS: Browseable Online Backup System</a></span></dt></dl></dd></dl></div><div class="sect1" title="Features and Benefits"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id433904"></a>Features and Benefits</h2></div></div></div><p>
 
2
<a class="indexterm" name="id433912"></a>
 
3
<a class="indexterm" name="id433919"></a>
 
4
<a class="indexterm" name="id433926"></a>
 
5
<a class="indexterm" name="id433932"></a>
6
6
The Samba project is over 10 years old. During the early history
7
7
of Samba, UNIX administrators were its key implementors. UNIX administrators
8
8
use UNIX system tools to backup UNIX system files. Over the past
9
9
4 years, an increasing number of Microsoft network administrators have
10
10
taken an interest in Samba. This is reflected in the questions about backup
11
11
in general on the Samba mailing lists.
12
 
</p></div><div class="sect1" title="Discussion of Backup Solutions"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id433954"></a>Discussion of Backup Solutions</h2></div></div></div><p>
13
 
<a class="indexterm" name="id433962"></a>
14
 
<a class="indexterm" name="id433968"></a>
 
12
</p></div><div class="sect1" title="Discussion of Backup Solutions"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id433944"></a>Discussion of Backup Solutions</h2></div></div></div><p>
 
13
<a class="indexterm" name="id433952"></a>
 
14
<a class="indexterm" name="id433959"></a>
15
15
During discussions at a Microsoft Windows training course, one of
16
16
the pro-UNIX delegates stunned the class when he pointed out that Windows
17
17
NT4 is limiting compared with UNIX. He likened UNIX to a Meccano set
18
18
that has an unlimited number of tools that are simple, efficient,
19
19
and, in combination, capable of achieving any desired outcome.
20
20
</p><p>
21
 
<a class="indexterm" name="id433981"></a>
22
 
<a class="indexterm" name="id433988"></a>
 
21
<a class="indexterm" name="id433972"></a>
 
22
<a class="indexterm" name="id433978"></a>
23
23
One of the Windows networking advocates retorted that if she wanted a
24
24
Meccano set, she would buy one. She made it clear that a complex single
25
25
tool that does more than is needed but does it with a clear purpose and
26
26
intent is preferred by some like her.
27
27
</p><p>
28
 
<a class="indexterm" name="id434000"></a>
29
 
<a class="indexterm" name="id434007"></a>
30
 
<a class="indexterm" name="id434014"></a>
 
28
<a class="indexterm" name="id433991"></a>
 
29
<a class="indexterm" name="id433998"></a>
 
30
<a class="indexterm" name="id434004"></a>
31
31
Please note that all information here is provided as is and without recommendation
32
32
of fitness or suitability. The network administrator is strongly encouraged to
33
33
perform due diligence research before implementing any backup solution, whether free
38
38
www.allmerchants.com</a>.
39
39
</p><p>
40
40
The following three free software projects might also merit consideration.
41
 
</p><div class="sect2" title="BackupPC"><div class="titlepage"><div><div><h3 class="title"><a name="id434040"></a>BackupPC</h3></div></div></div><p>
42
 
        <a class="indexterm" name="id434048"></a>
43
 
<a class="indexterm" name="id434055"></a>
44
 
<a class="indexterm" name="id434062"></a>
 
41
</p><div class="sect2" title="BackupPC"><div class="titlepage"><div><div><h3 class="title"><a name="id434031"></a>BackupPC</h3></div></div></div><p>
 
42
        <a class="indexterm" name="id434038"></a>
 
43
<a class="indexterm" name="id434045"></a>
 
44
<a class="indexterm" name="id434052"></a>
45
45
        BackupPC version 2.0.0 has been released on <a class="ulink" href="http://backuppc.sourceforge.net" target="_top">SourceForge</a>.
46
46
         New features include support for <code class="literal">rsync/rsyncd</code> and internationalization of the CGI interface
47
47
        (including English, French, Spanish, and German).
48
48
        </p><p>
49
 
<a class="indexterm" name="id434085"></a>
50
 
<a class="indexterm" name="id434092"></a>
51
 
<a class="indexterm" name="id434099"></a>
52
 
<a class="indexterm" name="id434105"></a>
53
 
<a class="indexterm" name="id434112"></a>
54
 
<a class="indexterm" name="id434119"></a>
55
 
<a class="indexterm" name="id434125"></a>
56
 
<a class="indexterm" name="id434132"></a>
 
49
<a class="indexterm" name="id434076"></a>
 
50
<a class="indexterm" name="id434082"></a>
 
51
<a class="indexterm" name="id434089"></a>
 
52
<a class="indexterm" name="id434096"></a>
 
53
<a class="indexterm" name="id434102"></a>
 
54
<a class="indexterm" name="id434109"></a>
 
55
<a class="indexterm" name="id434116"></a>
 
56
<a class="indexterm" name="id434122"></a>
57
57
        BackupPC is a high-performance Perl-based package for backing up Linux,
58
58
        UNIX, and Windows PCs and laptops to a server's disk. BackupPC is highly
59
59
        configurable and easy to install and maintain. SMB (via smbclient),
60
60
        <code class="literal">tar</code> over <code class="literal">rsh/ssh</code>, or <code class="literal">rsync/rsyncd</code>
61
61
         are used to extract client data.
62
62
        </p><p>
63
 
<a class="indexterm" name="id434162"></a>
64
 
<a class="indexterm" name="id434168"></a>
65
 
<a class="indexterm" name="id434175"></a>
 
63
<a class="indexterm" name="id434152"></a>
 
64
<a class="indexterm" name="id434159"></a>
 
65
<a class="indexterm" name="id434166"></a>
66
66
        Given the ever-decreasing cost of disks and RAID systems, it is now
67
67
        practical and cost effective to backup a large number of machines onto
68
68
        a server's local disk or network storage. This is what BackupPC does.
71
71
        space), compression, and a comprehensive CGI interface that allows users
72
72
        to browse backups and restore files.
73
73
        </p><p>
74
 
<a class="indexterm" name="id434192"></a>
 
74
<a class="indexterm" name="id434182"></a>
75
75
        BackupPC is free software distributed under a GNU GPL license.
76
76
        BackupPC runs on Linux/UNIX/freenix servers and has been tested
77
77
        on Linux, UNIX, Windows 9x/Me, Windows 98, Windows 200x, Windows XP, and Mac OSX clients.
78
 
        </p></div><div class="sect2" title="Rsync"><div class="titlepage"><div><div><h3 class="title"><a name="id434203"></a>Rsync</h3></div></div></div><p>
79
 
<a class="indexterm" name="id434211"></a>
80
 
<a class="indexterm" name="id434217"></a>
81
 
<a class="indexterm" name="id434224"></a>
82
 
<a class="indexterm" name="id434231"></a>
83
 
<a class="indexterm" name="id434238"></a>
84
 
<a class="indexterm" name="id434244"></a>
 
78
        </p></div><div class="sect2" title="Rsync"><div class="titlepage"><div><div><h3 class="title"><a name="id434193"></a>Rsync</h3></div></div></div><p>
 
79
<a class="indexterm" name="id434201"></a>
 
80
<a class="indexterm" name="id434208"></a>
 
81
<a class="indexterm" name="id434214"></a>
 
82
<a class="indexterm" name="id434221"></a>
 
83
<a class="indexterm" name="id434228"></a>
 
84
<a class="indexterm" name="id434235"></a>
85
85
        <code class="literal">rsync</code> is a flexible program for efficiently copying files or
86
86
                directory trees.</p><p><code class="literal">rsync</code> has many options to select which files will be copied
87
87
          and how they are to be transferred. It may be used as an
88
88
          alternative to <code class="literal">ftp, http, scp</code>, or <code class="literal">rcp</code>.</p><p>
89
 
<a class="indexterm" name="id434281"></a>
90
 
<a class="indexterm" name="id434288"></a>
91
 
<a class="indexterm" name="id434295"></a>
 
89
<a class="indexterm" name="id434272"></a>
 
90
<a class="indexterm" name="id434278"></a>
 
91
<a class="indexterm" name="id434285"></a>
92
92
        The rsync remote-update protocol allows rsync to transfer just
93
93
          the differences between two sets of files across the network link,
94
94
          using an efficient checksum-search algorithm described in the
107
107
                  </p></li><li class="listitem"><p>
108
108
                    Support for anonymous or authenticated rsync servers (ideal for
109
109
                    mirroring).
110
 
                  </p></li></ul></div></div><div class="sect2" title="Amanda"><div class="titlepage"><div><div><h3 class="title"><a name="id434363"></a>Amanda</h3></div></div></div><p>
111
 
        <a class="indexterm" name="id434371"></a>
112
 
<a class="indexterm" name="id434377"></a>
113
 
<a class="indexterm" name="id434384"></a>
 
110
                  </p></li></ul></div></div><div class="sect2" title="Amanda"><div class="titlepage"><div><div><h3 class="title"><a name="id434353"></a>Amanda</h3></div></div></div><p>
 
111
        <a class="indexterm" name="id434361"></a>
 
112
<a class="indexterm" name="id434368"></a>
 
113
<a class="indexterm" name="id434375"></a>
114
114
        Amanda, the Advanced Maryland Automatic Network Disk Archiver, is a backup system that
115
115
        allows the administrator of a LAN to set up a single master backup server to back up
116
116
        multiple hosts to a single large capacity tape drive. Amanda uses native dump and/or
119
119
        </p><p>
120
120
        For more information regarding Amanda, please check the <a class="ulink" href="http://www.amanda.org/" target="_top">
121
121
        www.amanda.org/ site</a>.
122
 
        </p></div><div class="sect2" title="BOBS: Browseable Online Backup System"><div class="titlepage"><div><div><h3 class="title"><a name="id434406"></a>BOBS: Browseable Online Backup System</h3></div></div></div><p>
123
 
        <a class="indexterm" name="id434415"></a>
 
122
        </p></div><div class="sect2" title="BOBS: Browseable Online Backup System"><div class="titlepage"><div><div><h3 class="title"><a name="id434397"></a>BOBS: Browseable Online Backup System</h3></div></div></div><p>
 
123
        <a class="indexterm" name="id434405"></a>
124
124
        Browseable Online Backup System (BOBS) is a complete online backup system. Uses large
125
125
        disks for storing backups and lets users browse the files using a Web browser. Handles
126
126
        some special files like AppleDouble and icon files.