BackupPC-users

Re: [BackupPC-users] multiple transfer protcols

2011-06-22 15:45:25
Subject: Re: [BackupPC-users] multiple transfer protcols
From: Jesse Callaway <jcallaway AT squarespace DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 22 Jun 2011 15:42:57 -0400
On Wed, Jun 22, 2011 at 2:37 PM, Les Mikesell <lesmikesell AT gmail DOT com> 
wrote:
>
> On 6/22/2011 12:42 PM, Jesse Callaway wrote:
> > Is it possible to run smb, rsync, rsyncd, and tar all from a single
> > BackupPC installation? Or is the default transfer protocol used globally
> > for all clients?
> >
> > Specifically, I have clients which I would prefer to use rsync over ssh
> > with, however being that I have an equal number of windows machines I'd
> > like to back up over smb I feel stuck. Supposing I don't want to screw
> > around with rsync on windows, or smb shares on linux clients is it
> > advisable to run multiple copies of BackupPC, or is there a way to do
> > both types of backups using one instance?
>
> You can set one as the default and override it for specific clients.
> And when you create a new client host you can copy an existing one to
> pick up all of its settings so you don't have to repeat them for similar
> targets - just specify newhost=existinghost when you add in the web
> interface.
>
> --
>   Les Mikesell
>    lesmikesell AT gmail DOT com
>
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with vRanger.
> Installation's a snap, and flexible recovery options mean your data is safe,
> secure and there when you need it. Data protection magic?
> Nope - It's vRanger. Get your free trial download today.
> http://p.sf.net/sfu/quest-sfdev2dev
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users AT lists.sourceforge DOT net
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/

Great news, thanks Les.

Looking for more documentation now on the per-client configs. I see a
reference to
     /etc/BackupPC/pc/$host.pl
under the WinXX part of Client Setup.

Oh... okay. I see. The docs are not very up-in-your-face about this,
but it's covered under
http://backuppc.sourceforge.net/faq/BackupPC.html#configuration_file
On the per-host config file location:

The optional per-PC configuration file (__CONFDIR__/pc/$host.pl or
__TOPDIR__/pc/$host/config.pl in non-FHS versions of BackupPC) is read
whenever it is needed by BackupPC_dump, BackupPC_link and others.

On the scope of per-host config statements:

All configuration settings in the second through fifth groups can be
overridden by the per-PC config.pl file.

Here is a list of the configuration groups and their settings.

1. General server configuration

$Conf{ServerHost}
$Conf{ServerPort}
$Conf{ServerMesgSecret}
$Conf{MyPath}
$Conf{UmaskMode}
$Conf{WakeupSchedule}
$Conf{MaxBackups}
$Conf{MaxUserBackups}
$Conf{MaxPendingCmds}
$Conf{CmdQueueNice}
$Conf{MaxBackupPCNightlyJobs}
$Conf{BackupPCNightlyPeriod}
$Conf{MaxOldLogFiles}
$Conf{DfPath}
$Conf{DfCmd}
$Conf{SplitPath}
$Conf{ParPath}
$Conf{CatPath}
$Conf{GzipPath}
$Conf{Bzip2Path}
$Conf{DfMaxUsagePct}
$Conf{TrashCleanSleepSec}
$Conf{DHCPAddressRanges}
$Conf{BackupPCUser}
$Conf{TopDir}
$Conf{ConfDir}
$Conf{LogDir}
$Conf{InstallDir}
$Conf{CgiDir}
$Conf{BackupPCUserVerify}
$Conf{HardLinkMax}
$Conf{PerlModuleLoad}
$Conf{ServerInitdPath}
$Conf{ServerInitdStartCmd}

2. Schedule & File inclusion/exclusion

$Conf{FullPeriod}
$Conf{IncrPeriod}
$Conf{FullKeepCnt}
$Conf{FullKeepCntMin}
$Conf{FullAgeMax}
$Conf{IncrKeepCnt}
$Conf{IncrKeepCntMin}
$Conf{IncrAgeMax}
$Conf{IncrLevels}
$Conf{BackupsDisable}
$Conf{PartialAgeMax}
$Conf{IncrFill}
$Conf{RestoreInfoKeepCnt}
$Conf{ArchiveInfoKeepCnt}
$Conf{BackupFilesOnly}
$Conf{BackupFilesExclude}
$Conf{BlackoutBadPingLimit}
$Conf{BlackoutGoodCnt}
$Conf{BlackoutPeriods}
$Conf{BackupZeroFilesIsFatal}

3. Transport & Localization

$Conf{XferMethod}
$Conf{XferLogLevel}
$Conf{ClientCharset}
$Conf{ClientCharsetLegacy}

4. Samba!

$Conf{SmbShareName}
$Conf{SmbShareUserName}
$Conf{SmbSharePasswd}
$Conf{SmbClientPath}
$Conf{SmbClientFullCmd}
$Conf{SmbClientIncrCmd}
$Conf{SmbClientRestoreCmd}

5. Tar

$Conf{TarShareName}
$Conf{TarClientCmd}
$Conf{TarFullArgs}
$Conf{TarIncrArgs}
$Conf{TarClientRestoreCmd}
$Conf{TarClientPath}

6. Rsync

$Conf{RsyncClientPath}
$Conf{RsyncClientCmd}
$Conf{RsyncClientRestoreCmd}
$Conf{RsyncShareName}
$Conf{RsyncdClientPort}
$Conf{RsyncdUserName}
$Conf{RsyncdPasswd}
$Conf{RsyncdAuthRequired}
$Conf{RsyncCsumCacheVerifyProb}
$Conf{RsyncArgs}
$Conf{RsyncArgsExtra}
$Conf{RsyncRestoreArgs}
$Conf{RsyncRestoreArgs}


7. FTP

$Conf{FtpShareName}
$Conf{FtpUserName}
$Conf{FtpPasswd}
$Conf{FtpPassive}
$Conf{FtpBlockSize}
$Conf{FtpPort}
$Conf{FtpTimeout}
$Conf{FtpFollowSymlinks}

8. Archive

$Conf{ArchiveDest}
$Conf{ArchiveComp}
$Conf{ArchivePar}
$Conf{ArchiveSplit}
$Conf{ArchiveClientCmd}
$Conf{SshPath}
$Conf{NmbLookupPath}
$Conf{NmbLookupCmd}
$Conf{NmbLookupFindHostCmd}
$Conf{FixedIPNetBiosNameCheck}
$Conf{PingPath}
$Conf{PingCmd}
$Conf{PingMaxMsec}
$Conf{CompressLevel}
$Conf{ClientTimeout}
$Conf{MaxOldPerPCLogFiles}
$Conf{DumpPreUserCmd}
$Conf{DumpPostUserCmd}
$Conf{DumpPreShareCmd}
$Conf{DumpPostShareCmd}
$Conf{RestorePreUserCmd}
$Conf{RestorePostUserCmd}
$Conf{ArchivePreUserCmd}
$Conf{ArchivePostUserCmd}
$Conf{UserCmdCheckStatus}
$Conf{ClientNameAlias}

9. Email

$Conf{SendmailPath}
$Conf{EMailNotifyMinDays}
$Conf{EMailFromUserName}
$Conf{EMailAdminUserName}
$Conf{EMailUserDestDomain}
$Conf{EMailNoBackupEverSubj}
$Conf{EMailNoBackupEverMesg}
$Conf{EMailNotifyOldBackupDays}
$Conf{EMailNoBackupRecentSubj}
$Conf{EMailNoBackupRecentMesg}
$Conf{EMailNotifyOldOutlookDays}
$Conf{EMailOutlookBackupSubj}
$Conf{EMailOutlookBackupMesg}
$Conf{EMailHeaders}

10. Web

$Conf{CgiAdminUserGroup}
$Conf{CgiAdminUsers}
$Conf{CgiURL}
$Conf{Language}
$Conf{CgiUserHomePageCheck}
$Conf{CgiUserUrlCreate}
$Conf{CgiUserHomePageCheck}
$Conf{CgiUserUrlCreate}
$Conf{CgiDateFormatMMDD}
$Conf{CgiNavBarAdminAllHosts}
$Conf{CgiSearchBoxEnable}
$Conf{CgiNavBarLinks}
$Conf{CgiStatusHilightColor}
$Conf{CgiHeaders}
$Conf{CgiImageDir}
$Conf{CgiExt2ContentType}
$Conf{CgiImageDirURL}
$Conf{CgiCSSFile}
$Conf{CgiUserConfigEditEnable}
$Conf{CgiUserConfigEdit}


Does this mean that rsync and ftp are not configurable per-client? I'm
not complaining, just checking up on my "sections 2-5" interpretation.

-jesse

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>