[BackupPC-users] Backup configuration

2006-11-06 Thread Michel

Hello list,

I have two linux box to backup. For example,  server 1 with Apache where 
I want to backup /srv/website/htdocs/ and /etc/httpd_conf/ directories, 
server 2 with Mysql where I want to backup /var/lib/mysql directory.

I don't know how to configure config.pl to do this.  I use TAR method.

If I put :

$Conf{TarShareName} = [' /srv/website/htdocs ','/etc/httpd_conf'];
or

$Conf{TarShareName} = ' /var/lib/mysql ';

It only saves server 1 or server 2 (which is correct)


and when I try
$Conf{TarShareName} = [' /srv/website/htdocs ','/etc/httpd_conf',' 
/var/lib/mysql '];

I get an error since one or two of those directories doesn't/don't exist 
on the client.



How to do it? use $Conf{BackupFilesOnly} ? or simply order a backup on '/' ?


I am a newbie in Backup PC so excuse me if my question is idiot ;-)


Thanks you

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Backup configuration

2006-11-06 Thread Nils Breunese (Lemonbit)
Op 6-nov-2006, om 17:07 heeft Michel het volgende geschreven:

> I have two linux box to backup. For example,  server 1 with Apache  
> where
> I want to backup /srv/website/htdocs/ and /etc/httpd_conf/  
> directories,
> server 2 with Mysql where I want to backup /var/lib/mysql directory.
>
> I don't know how to configure config.pl to do this.  I use TAR method.
>
> If I put :
>
> $Conf{TarShareName} = [' /srv/website/htdocs ','/etc/httpd_conf'];
> or
>
> $Conf{TarShareName} = ' /var/lib/mysql ';
>
> It only saves server 1 or server 2 (which is correct)
>
> and when I try
> $Conf{TarShareName} = [' /srv/website/htdocs ','/etc/httpd_conf','
> /var/lib/mysql '];
>
> I get an error since one or two of those directories doesn't/don't  
> exist
> on the client.
>
> How to do it? use $Conf{BackupFilesOnly} ? or simply order a backup  
> on '/' ?
>
> I am a newbie in Backup PC so excuse me if my question is idiot ;-)

See http://backuppc.sourceforge.net/faq/BackupPC.html#configuration_file

"The BackupPC configuration file resides in __TOPDIR__/conf/ 
config.pl. Optional per-PC configuration files reside in __TOPDIR__/ 
pc/$host/config.pl. This file can be used to override settings just  
for a particular PC."

So just create __TOPDIR__/pc/server1/config.pl with $Conf 
{TarShareName} = [' /srv/website/htdocs ','/etc/httpd_conf'] and  
__TOPDIR__/pc/server2/config.pl with $Conf{TarShareName} = ' /var/lib/ 
mysql'. Global options go into __TOPDIR__/conf/config.pl.

Nils Breunese.



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] rsync and smbclient problems

2006-11-06 Thread Stephen Hemminger
On Sun, 5 Nov 2006 00:54:31 -0800
Craig Barratt <[EMAIL PROTECTED]> wrote:

> Stephen Hemminger writes:
> 
> > I am running backuppc server on Ubuntu Dapper package (v2.1.2)
> > 
> > My linux (rsync) clients fail without getting filelist.
> > 
> > XferLog:
> > Contents of file /var/lib/backuppc/pc/deepthought/XferLOG.bad, modified 
> > 2006-11-04 23:12:01
> > 
> > Running: /usr/bin/ssh -q -x -l root deepthought /usr/bin/rsync --server 
> > --sender --numeric-ids --perms --owner --group --devices --links --times 
> > --block-size=2048 --recursive --checksum-seed=32761 --exclude=/tmp 
> > --ignore-times . /home/
> 
> Replace --devices with -D.
> 
> Craig
> 
Thanks, fixed it.

-- 
Stephen Hemminger <[EMAIL PROTECTED]>

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] 3.0.0 -- WOW!!!

2006-11-06 Thread David Relson
On Sun, 5 Nov 2006 17:30:01 -0800
Craig Barratt wrote:

> David Relson writes:
> 
> > A thought on display order.  Under "Server" are 
> > Status
> > Admin Option
> > Edit Config 
> > Edit Hosts 
> > Host Summary 
> > LOG file
> > Old LOGs
> > Email summary
> > Current queues
> > Documentation 
> > FAQ
> > SourceForge 
> > 
> > I more often look at Host Summary info than editing, so the
> > following order makes more sense for me:
> > Status
> > Host Summary 
> > Admin Option
> > Edit Config 
> > Edit Hosts 
> > LOG file
> > ...
> > 
> > Would this be a better order for BackupPC?
> 
> Yes, done (but not yet committed to cvs).  I left "Admin Options"
> below the edit options.
> 
> Craig

Sounds good!

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/