Re: [BackupPC-users] Backup to distant FTP Server

2011-06-23 Thread Jesse Callaway
On Thu, Jun 23, 2011 at 7:41 AM, Arnaud Forster
 wrote:
> Hello all,
>
> I need to use backuppc with a distant FTP server as destination. So, I used
> curftpfs to mount my FTP connection to a local folder and choosed it as the
> root of my destination. This is working fine till the ftp serverc decide to
> stop the connection. As this time, backuppc cannot start anymore because it
> cannot very the hardlink between pc an cpool which is normal because my ftp
> is no mounted anymore. I dont know if there's a way to solve that because
> I'd like that the mount is made just before the backup starts and unmounted
> just after  as I'm a newbie in Linux and Backuppc, I'm requested your
> help.
> Per advance, thanks very much
> Arnaud
>
>
>
>
>
>
> --
> 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@lists.sourceforge.net
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>
>


Make a pre-backup script which checks that the ftp mount is up and
running. To my understanding this would be defined using
$Conf{DumpPreUserCmd} = '/bin/bash /usr/local/your_script.sh';  or
perl or whatever.

If you know any perl ruby or python then I suggest you leverage those
skills. Otherwise do a quick google for 'bash filetest'.

-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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] multiple transfer protcols

2011-06-22 Thread Jesse Callaway
Okay, gotcha. Thanks. I now see how the web tool manages this with the
override checkboxes.

That makes sense regarding sections of the document being added or changed.

So far I'm very happy with what I see.

-jesse

On Wed, Jun 22, 2011 at 4:04 PM, Les Mikesell  wrote:
> On 6/22/2011 2:42 PM, Jesse Callaway wrote:
>>
>> 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.
>>
> [...]
>>
>> 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.
>
> I suspect it means that someone added some sections after writing the
> docs...   You'll probably be doing this through the web interface so it
> will be obvious what you can override in the per-host configuration
> because they are form items.  Note that ftp was added late in the game
> and all of the packaged (.deb, .rpm) versions aren't up to the latest
> backuppc version so you may or may not see it depending on what you
> install.  But rsync is definitely something you can control per-target.
>
> --
>   Les Mikesell
>    lesmikes...@gmail.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@lists.sourceforge.net
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    http://backuppc.wiki.sourceforge.net
> Project: http://backuppc.sourceforge.net/
>

--
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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] multiple transfer protcols

2011-06-22 Thread Jesse Callaway
On Wed, Jun 22, 2011 at 2:37 PM, Les Mikesell  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
>    lesmikes...@gmail.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@lists.sourceforge.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}
$Con

[BackupPC-users] multiple transfer protcols

2011-06-22 Thread Jesse Callaway
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?

Thanks much!

-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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/