/[BackupPC]/trunk/doc/BackupPC.html
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/doc/BackupPC.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 315 by dpavlin, Wed Jun 22 19:12:42 2005 UTC revision 316 by dpavlin, Mon Jan 30 13:37:17 2006 UTC
# Line 2  Line 2 
2  <html xmlns="http://www.w3.org/1999/xhtml">  <html xmlns="http://www.w3.org/1999/xhtml">
3  <head>  <head>
4  <title>BackupPC</title>  <title>BackupPC</title>
5  <link rev="made" href="mailto:craig@atheros.com" />  <link rev="made" href="mailto:root@localhost" />
6  </head>  </head>
7    
8  <body style="background-color: white">  <body style="background-color: white">
# Line 104  Line 104 
104  <p>  <p>
105  </p>  </p>
106  <h1><a name="backuppc_introduction">BackupPC Introduction</a></h1>  <h1><a name="backuppc_introduction">BackupPC Introduction</a></h1>
107  <p>This documentation describes BackupPC version 2.1.0,  <p>This documentation describes BackupPC version 2.1.2,
108  released on 20 Jun 2004.</p>  released on 5 Sep 2005.</p>
109  <p>  <p>
110  </p>  </p>
111  <h2><a name="overview">Overview</a></h2>  <h2><a name="overview">Overview</a></h2>
# Line 403  BackupPC server data to tape.</p> Line 403  BackupPC server data to tape.</p>
403  <dd>  <dd>
404  <p>Various programs and scripts use rsync to provide hardlinked backups.  <p>Various programs and scripts use rsync to provide hardlinked backups.
405  See, for example, Mike Rubel's site (<a href="http://www.mikerubel.org/computers/rsync_snapshots">http://www.mikerubel.org/computers/rsync_snapshots</a>),  See, for example, Mike Rubel's site (<a href="http://www.mikerubel.org/computers/rsync_snapshots">http://www.mikerubel.org/computers/rsync_snapshots</a>),
406  JW Schultz's dirvish (<a href="http://www.pegasys.ws/dirvish">http://www.pegasys.ws/dirvish</a> (although as of  JW Schultz's dirvish (<a href="http://www.dirvish.org">http://www.dirvish.org</a>),
 June 2004 this link doesn't work)),  
407  Ben Escoto's rdiff-backup (<a href="http://rdiff-backup.stanford.edu">http://rdiff-backup.stanford.edu</a>),  Ben Escoto's rdiff-backup (<a href="http://rdiff-backup.stanford.edu">http://rdiff-backup.stanford.edu</a>),
408  and John Bowman's rlbackup (<a href="http://www.math.ualberta.ca/imaging/rlbackup">http://www.math.ualberta.ca/imaging/rlbackup</a>).</p>  and John Bowman's rlbackup (<a href="http://www.math.ualberta.ca/imaging/rlbackup">http://www.math.ualberta.ca/imaging/rlbackup</a>).</p>
409  </dd>  </dd>
# Line 432  more and more people find it useful.  So Line 431  more and more people find it useful.  So
431  appreciated, both positive and negative.</p>  appreciated, both positive and negative.</p>
432  <p>Beyond being a satisfied user and telling other people about it, everyone  <p>Beyond being a satisfied user and telling other people about it, everyone
433  is encouraged to add links to <a href="http://backuppc.sourceforge.net">http://backuppc.sourceforge.net</a>  is encouraged to add links to <a href="http://backuppc.sourceforge.net">http://backuppc.sourceforge.net</a>
434  (I'll see then via Google) or otherwise publicize BackupPC.  Unlike  (I'll see them via Google) or otherwise publicize BackupPC.  Unlike
435  the commercial products in this space, I have a zero budget (in both  the commercial products in this space, I have a zero budget (in both
436  time and money) for marketing, PR and advertising, so it's up to  time and money) for marketing, PR and advertising, so it's up to
437  all of you!  Feel free to vote for BackupPC at  all of you!  Feel free to vote for BackupPC at
# Line 627  then run these commands:</p> Line 626  then run these commands:</p>
626      make install</pre>      make install</pre>
627  <p>The same sequence of commands can be used for each module.</p>  <p>The same sequence of commands can be used for each module.</p>
628  <p>Now let's move onto BackupPC itself.  After fetching  <p>Now let's move onto BackupPC itself.  After fetching
629  BackupPC-2.1.0.tar.gz, run these commands as root:</p>  BackupPC-2.1.2.tar.gz, run these commands as root:</p>
630  <pre>  <pre>
631      tar zxf BackupPC-2.1.0.tar.gz      tar zxf BackupPC-2.1.2.tar.gz
632      cd BackupPC-2.1.0      cd BackupPC-2.1.2
633      perl configure.pl</pre>      perl configure.pl</pre>
634  <p>In the future this release might also have patches available on the  <p>In the future this release might also have patches available on the
635  SourceForge site.  These patch files are text files, with a name of  SourceForge site.  These patch files are text files, with a name of
636  the form</p>  the form</p>
637  <pre>  <pre>
638      BackupPC-2.1.0plN.diff</pre>      BackupPC-2.1.2plN.diff</pre>
639  <p>where N is the patch level, eg: pl5 is patch-level 5.  These  <p>where N is the patch level, eg: pl5 is patch-level 5.  These
640  patch files are cumulative: you only need apply the last patch  patch files are cumulative: you only need apply the last patch
641  file, not all the earlier patch files.  If a patch file is  file, not all the earlier patch files.  If a patch file is
642  available, eg: BackupPC-2.1.0pl5.diff, you should apply  available, eg: BackupPC-2.1.2pl5.diff, you should apply
643  the patch after extracting the tar file:</p>  the patch after extracting the tar file:</p>
644  <pre>  <pre>
645       # fetch BackupPC-2.1.0.tar.gz       # fetch BackupPC-2.1.2.tar.gz
646       # fetch BackupPC-2.1.0pl5.diff       # fetch BackupPC-2.1.2pl5.diff
647       tar zxf BackupPC-2.1.0.tar.gz       tar zxf BackupPC-2.1.2.tar.gz
648       cd BackupPC-2.1.0       cd BackupPC-2.1.2
649       patch -p0 &lt; ../BackupPC-2.1.0pl5.diff       patch -p0 &lt; ../BackupPC-2.1.2pl5.diff
650       perl configure.pl</pre>       perl configure.pl</pre>
651  <p>A patch file includes comments that describe that bug fixes  <p>A patch file includes comments that describe that bug fixes
652  and changes.  Feel free to review it before you apply the patch.</p>  and changes.  Feel free to review it before you apply the patch.</p>
# Line 717  directory. Line 716  directory.
716  </p>  </p>
717  <h2><a name="step_3__setting_up_config_pl">Step 3: Setting up config.pl</a></h2>  <h2><a name="step_3__setting_up_config_pl">Step 3: Setting up config.pl</a></h2>
718  <p>After running configure.pl, browse through the config file,  <p>After running configure.pl, browse through the config file,
719  __INSTALLDIR__/conf/config.pl, and make sure all the default settings  __TOPDIR__/conf/config.pl, and make sure all the default settings
720  are correct. In particular, you will need to decide whether to use  are correct. In particular, you will need to decide whether to use
721  smb, tar or rsync transport (or whether to set it on a per-PC basis)  smb, tar or rsync transport (or whether to set it on a per-PC basis)
722  and set the relevant parameters for that transport method.  and set the relevant parameters for that transport method.
# Line 1046  of SSH you have by typing ``ssh'' or ``m Line 1045  of SSH you have by typing ``ssh'' or ``m
1045  </dt>  </dt>
1046  <dd>  <dd>
1047  In general this should be similar to Linux/Unix machines.  In general this should be similar to Linux/Unix machines.
1048  Mark Stosberg reports that you can also use hfstar.  Many users have reported success using xtar, which also
1049  See <a href="http://fink.sourceforge.net/pdb/package.php/hfstar">http://fink.sourceforge.net/pdb/package.php/hfstar</a>.  backs up the Mac OS X resource forks.
1050    </dd>
1051    <dd>
1052    <p>Other choices include rsync and Mark Stosberg reports that you
1053    can also use hfstar.
1054    See <a href="http://fink.sourceforge.net/pdb/package.php/hfstar">http://fink.sourceforge.net/pdb/package.php/hfstar</a>.</p>
1055  </dd>  </dd>
1056  <p></p>  <p></p>
1057  <dt><strong><a name="item_ssh_setup">SSH Setup</a></strong><br />  <dt><strong><a name="item_ssh_setup">SSH Setup</a></strong><br />
# Line 1638  status files to keep.</p> Line 1642  status files to keep.</p>
1642  <p>Note that for direct restore to work, the <a href="#item_%24conf%7bxfermethod%7d">$Conf{XferMethod}</A> must  <p>Note that for direct restore to work, the <a href="#item_%24conf%7bxfermethod%7d">$Conf{XferMethod}</A> must
1643  be able to write to the client.  For example, that means an SMB  be able to write to the client.  For example, that means an SMB
1644  share for smbclient needs to be writable, and the rsyncd module  share for smbclient needs to be writable, and the rsyncd module
1645  needs ``read only'' set to ``yes''.  This creates additional security  needs ``read only'' set to ``false''.  This creates additional security
1646  risks.  If you only create read-only SMB shares (which is a good  risks.  If you only create read-only SMB shares (which is a good
1647  idea), then the direct restore will fail.  You can disable the  idea), then the direct restore will fail.  You can disable the
1648  direct restore option by setting <a href="#item_%24conf%7bsmbclientrestorecmd%7d">$Conf{SmbClientRestoreCmd}</A>,  direct restore option by setting <a href="#item_%24conf%7bsmbclientrestorecmd%7d">$Conf{SmbClientRestoreCmd}</A>,
# Line 2109  is only run when there are no BackupPC_d Line 2113  is only run when there are no BackupPC_d
2113  running.  Therefore, when it is time to run BackupPC_nightly, no new  running.  Therefore, when it is time to run BackupPC_nightly, no new
2114  backups are started and BackupPC waits until all backups have finished.  backups are started and BackupPC waits until all backups have finished.
2115  Then BackupPC_nightly is run, and until it finishes no new backups are  Then BackupPC_nightly is run, and until it finishes no new backups are
2116  started.  If BackupPC_nightly is slow, the settings</p>  started.  If BackupPC_nightly takes too long to run, the settings
2117    <a href="#item_%24conf%7bmaxbackuppcnightlyjobs%7d">$Conf{MaxBackupPCNightlyJobs}</A> and <a href="#item_%24conf%7bbackuppcnightlyperiod%7d">$Conf{BackupPCNightlyPeriod}</A> can
2118    be used to run several BackupPC_nightly processes in parallel, and
2119    to split its job over several nights.</p>
2120  <p></p></ol>  <p></p></ol>
2121  <p>BackupPC also listens for TCP connections on <a href="#item_%24conf%7bserverport%7d">$Conf{ServerPort}</A>, which  <p>BackupPC also listens for TCP connections on <a href="#item_%24conf%7bserverport%7d">$Conf{ServerPort}</A>, which
2122  is used by the CGI script BackupPC_Admin for status reporting and  is used by the CGI script BackupPC_Admin for status reporting and
# Line 3752  this in the per-PC config.pl. Line 3759  this in the per-PC config.pl.
3759  </dd>  </dd>
3760  <dd>  <dd>
3761  <pre>  <pre>
3762    - 'rsyncd':  backup and restre via rsync daemon on the client.    - 'rsyncd':  backup and restore via rsync daemon on the client.
3763                 Best choice for linux/unix if you have rsyncd running on                 Best choice for linux/unix if you have rsyncd running on
3764                 the client.  Good choice also for WinXX.</pre>                 the client.  Good choice also for WinXX.</pre>
3765  </dd>  </dd>
# Line 4403  WAN or dialup connections the round-trip Line 4410  WAN or dialup connections the round-trip
4410  than 20msec.  Tune if necessary.  than 20msec.  Tune if necessary.
4411  </dd>  </dd>
4412  <p></p>  <p></p>
4413  <dt><strong><a name="item_%24conf%7bclienttimeout%7d">$Conf{ClientTimeout} = 7200;</a></strong><br />  <dt><strong><a name="item_%24conf%7bclienttimeout%7d">$Conf{ClientTimeout} = 72000;</a></strong><br />
4414  </dt>  </dt>
4415  <dd>  <dd>
4416  Timeout in seconds when listening for the transport program's  Timeout in seconds when listening for the transport program's
# Line 4632  need to change the message, copy it here Line 4639  need to change the message, copy it here
4639    <a href="#item_%24conf%7bemailnobackupevermesg%7d">$Conf{EMailNoBackupEverMesg}</A> = &lt;&lt;'EOF';    <a href="#item_%24conf%7bemailnobackupevermesg%7d">$Conf{EMailNoBackupEverMesg}</A> = &lt;&lt;'EOF';
4640    To: $user$domain    To: $user$domain
4641    cc:    cc:
4642    Subject: $subj</pre>    Subject: $subj
4643  </dd>    $headers
 <dd>  
 <pre>  
4644    Dear $userName,</pre>    Dear $userName,</pre>
4645  </dd>  </dd>
4646  <dd>  <dd>
# Line 4670  need to change the message, copy it here Line 4675  need to change the message, copy it here
4675    <a href="#item_%24conf%7bemailnobackuprecentmesg%7d">$Conf{EMailNoBackupRecentMesg}</A> = &lt;&lt;'EOF';    <a href="#item_%24conf%7bemailnobackuprecentmesg%7d">$Conf{EMailNoBackupRecentMesg}</A> = &lt;&lt;'EOF';
4676    To: $user$domain    To: $user$domain
4677    cc:    cc:
4678    Subject: $subj</pre>    Subject: $subj
4679  </dd>    $headers
 <dd>  
 <pre>  
4680    Dear $userName,</pre>    Dear $userName,</pre>
4681  </dd>  </dd>
4682  <dd>  <dd>
# Line 4708  need to change the message, copy it here Line 4711  need to change the message, copy it here
4711    <a href="#item_%24conf%7bemailoutlookbackupmesg%7d">$Conf{EMailOutlookBackupMesg}</A> = &lt;&lt;'EOF';    <a href="#item_%24conf%7bemailoutlookbackupmesg%7d">$Conf{EMailOutlookBackupMesg}</A> = &lt;&lt;'EOF';
4712    To: $user$domain    To: $user$domain
4713    cc:    cc:
4714    Subject: $subj</pre>    Subject: $subj
4715  </dd>    $headers
 <dd>  
 <pre>  
4716    Dear $userName,</pre>    Dear $userName,</pre>
4717  </dd>  </dd>
4718  <dd>  <dd>
# Line 4936  patch level.</p> Line 4937  patch level.</p>
4937  </p>  </p>
4938  <hr />  <hr />
4939  <h1><a name="copyright">Copyright</a></h1>  <h1><a name="copyright">Copyright</a></h1>
4940  <p>Copyright (C) 2001-2004 Craig Barratt</p>  <p>Copyright (C) 2001-2005 Craig Barratt</p>
4941  <p>  <p>
4942  <a href="#__index__"><small>Back to Top</small></a>  <a href="#__index__"><small>Back to Top</small></a>
4943  </p>  </p>

Legend:
Removed from v.315  
changed lines
  Added in v.316

  ViewVC Help
Powered by ViewVC 1.1.26