Re: [BackupPC-users] [BackupPC-devel] BackupPC 3.0.0beta1 released

2006-08-02 Thread Rodrigo Real
Craig Barratt [EMAIL PROTECTED] writes:

Hi

I made a debian package for File::RsyncP version 0.64. You can
download it here if you would like:

http://g3pd.ucpel.tche.br/~rreal/download/libfile-rsyncp-perl_0.64-1_i386.deb

I used this package in a Debian testing system, don't know if it will
work in anything else...

Rodrigo


 I have released BackupPC 3.0.0beta1 on SF at:

 http://backuppc.sourceforge.net/

 A new version 0.64 of File::RsyncP that is needed for rsync
 hardlink support has also been released on SF and CPAN.

 I've attached the ChangeLog with the changes since 3.0.0beta0.

 3.0.0beta1 has some substantial new features compared to 2.1.2.
 New features include:

 * Added configuration and host CGI editor.

 * Added rsync hardlink support.  Requires latest version of
   File::RsyncP (0.64).

 * Decoupled BackupPC_dump from BackupPC_nightly by making
   asynchronous file linking/delete robust to race conditions.
   Now only BackupPC_nightly and BackupPC_link are mutually
   exclusive so only one runs at a time, and BackupPC_dump and
   BackupPC_restore can run anytime.

 * Added support for multi-level incrementals.  In the style of dump(1),
   the level of each incremental can be specified.  Each incremental
   backups up everything since the most recent backup of a lower level
   (fulls are always level 0).  Previous behavior was all incrementals
   were level 1, meaning they backed up everything since the last full
   (level 0).  Default configuration is all incrementals are level 1.

 * Server file names are now in utf8 and optional conversion
   to/from client name charsets can be configured.  All CGI pages
   now use the utf8 charset.

 * Added RSS support from Rich Duzenbury.

 * Added optional checking of exit status of Dump/Restore/Archive Pre/Post
   UserCmd.

 * For new installations configure.pl places all the configuration
   files below /etc/BackupPC, bringing it more in line with the
   File System Hierarchy Standard (FHS).

 Depending upon the reported bugs and issues there could be
 additional patches and beta releases prior to the offical
 3.0.0 release.

 Enjoy!
 Craig

 #
 # Version 3.0.0beta1, 30 Jul 2006
 #

 * Fixed several Xfer charset conversions.

 * Added some CGI utf8 conversions from Rodrigo Real and Vincent
   Fleuranceau.

 * Host name is forced to lower case, to match 2.x.

 * Fixed LOG file naming in BackupPC_restore and BackupPC_archive.

 * GFK applied fr.pm corrections from Nicolas Stransky.

 * Updated init.d/src scripts for FHS (ie: replaced __TOPDIR__/log
   with __LOGDIR__ and __TOPDIR__/conf with __CONFDIR__).  Patch
   provided by Rodrigo Real.

 * Added --log-dir and --conf-dir options to configure.pl.
   Reported by Vincent Fleuranceau.

 * Updated File::RsyncP version check in configure.pl, reported
   by Vincent Fleuranceau.  Changed File::RsyncP version to 0.64.

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 BackupPC-devel mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/backuppc-devel
 http://backuppc.sourceforge.net/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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 to localhost?

2006-08-02 Thread Rob Morin
I had to use the user www-data as the backup user , because there is a 
problem for me to use sperl on all my debian systems for some reason 
Now if i add www-data to sudoers( which my apache runs as) does this 
introduce a security issue?

Thanks...

Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-



daniel berteaud wrote:
 Hello, I worked on the integration of backuppc to SME server
 distribution. I use it to save several host including the localhost.
 For the localhost, I use this per pc config:

 # start of the per pc config #

 $Conf{TarShareName} = ['/'];

 $Conf{BackupFilesExclude}=['/proc','/sys','/dev','/tmp','/home/e-smith/files/ibays/backup'];

 $Conf{XferMethod} = 'tar';

 $Conf{TarClientCmd} = '/usr/bin/sudo'
 . ' $tarPath -c -v -f - -C $shareName'
 . ' --totals';

 $Conf{TarFullArgs} = '$fileList';

 $Conf{CompressLevel} = 3;

 $Conf{TarIncrArgs} = '--newer=$incrDate $fileList';

 $Conf{TarClientRestoreCmd} = '/usr/bin/sudo'
  . ' $tarPath -x -p --numeric-owner --same-owner'
  . ' -v -f - -C $shareName+';

 # end of the per pc config #

 For this to work, you need to allow the backuppc user to run tar with
 sudo. I use this line in /etc/sudoers:

 backuppc ALL=(root) NOPASSWD:/bin/tar

 I hope this can help.


 On Tue, 01 Aug 2006 08:33:19 -0400
 Rob Morin [EMAIL PROTECTED] wrote:

   
 Hello all , i am new to this list

 I was looking around the archives for a method of backing up the 
 localhost. I could not find anything for a newbie i did come
 across a small email about using a conf file named localhost.pl that
 was suppose to be in the package, however i did not see it in my
 tarball...

 Can some one suggest hat i should do or point me to some docs...

 Thanks

 Have  a great day!

 Rob Morin
 Dido InterNet Inc.
 Montreal, Canada
 Http://www.dido.ca
 514-990-



 Matt wrote:
 
 Hi,

 I am using the rsyncd transfer method and would like to have each
 new backup be base to the most recent incremental, thus completely
 avoiding full backup
 after the first initial backup.

 Is this now possible with version 3.0.0 beta?   Maybe
 $Conf{IncrLevels} can be
 use to this end but I don't  see how.

 Regards,

 ... Matt

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to
 share your opinions on IT  business topics through brief surveys
 -- and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___ BackupPC-users
 mailing list BackupPC-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/backuppc-users
 http://backuppc.sourceforge.net/


   
   
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to
 share your opinions on IT  business topics through brief surveys --
 and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___ BackupPC-users
 mailing list BackupPC-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/backuppc-users
 http://backuppc.sourceforge.net/

 


   

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
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 to localhost?

2006-08-02 Thread daniel berteaud
On Wed, 02 Aug 2006 10:44:18 -0400
Rob Morin [EMAIL PROTECTED] wrote:


Well I'm quite new in linux and maybe others users will tell you you
shouldn't give www-data a sudo permission. Anyway, If you wan't
backuppc to backup your localhost, the user how runs backuppc needs root
permissions to reach some system files.

I don't think adding these lines to sudoers introduce many security
risk because you give root permission only for the /bin/tar program (or
the /bin/rsync).

Of course it would be better to run backuppc as a special user. If you
have problem using sperl, I saw on that you can run a special instance
of apache under another user, specially for backuppc. Maybe that would
be more secure. 




 I had to use the user www-data as the backup user , because there is
 a problem for me to use sperl on all my debian systems for some
 reason Now if i add www-data to sudoers( which my apache runs as)
 does this introduce a security issue?
 
 Thanks...
 
 Rob Morin
 Dido InterNet Inc.
 Montreal, Canada
 Http://www.dido.ca
 514-990-
 
 
 
 daniel berteaud wrote:
  Hello, I worked on the integration of backuppc to SME server
  distribution. I use it to save several host including the localhost.
  For the localhost, I use this per pc config:
 
  # start of the per pc config #
 
  $Conf{TarShareName} = ['/'];
 
  $Conf{BackupFilesExclude}=['/proc','/sys','/dev','/tmp','/home/e-smith/files/ibays/backup'];
 
  $Conf{XferMethod} = 'tar';
 
  $Conf{TarClientCmd} = '/usr/bin/sudo'
  . ' $tarPath -c -v -f - -C $shareName'
  . ' --totals';
 
  $Conf{TarFullArgs} = '$fileList';
 
  $Conf{CompressLevel} = 3;
 
  $Conf{TarIncrArgs} = '--newer=$incrDate $fileList';
 
  $Conf{TarClientRestoreCmd} = '/usr/bin/sudo'
 . ' $tarPath -x -p --numeric-owner --same-owner'
 . ' -v -f - -C $shareName+';
 
  # end of the per pc config #
 
  For this to work, you need to allow the backuppc user to run tar
  with sudo. I use this line in /etc/sudoers:
 
  backuppc ALL=(root) NOPASSWD:/bin/tar
 
  I hope this can help.
 
 
  On Tue, 01 Aug 2006 08:33:19 -0400
  Rob Morin [EMAIL PROTECTED] wrote:
 

  Hello all , i am new to this list
 
  I was looking around the archives for a method of backing up the 
  localhost. I could not find anything for a newbie i did come
  across a small email about using a conf file named localhost.pl
  that was suppose to be in the package, however i did not see it in
  my tarball...
 
  Can some one suggest hat i should do or point me to some docs...
 
  Thanks
 
  Have  a great day!
 
  Rob Morin
  Dido InterNet Inc.
  Montreal, Canada
  Http://www.dido.ca
  514-990-
 


-- 
Daniel Berteaud
FIREWALL-SERVICES SARL.
Société de Services en Logiciels Libres
Technopôle Montesquieu
33650 MARTILLAC
Tel : 05 56 64 15 32
Fax : 05 56 64 82 05
Mail: [EMAIL PROTECTED]
Web : http://www.firewall-services.com

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Any plans for a Wiki?

2006-08-02 Thread John Villalovos
Not sure if this has been mentioned before.  But I was wondering if
there are any plans for adding a Wiki to the BackupPC website?  It
might be useful to help document FAQs and work arounds and such.

I'm a fan of MoinMoin myself:
http://moinmoin.wikiwikiweb.de/

Sorry if this is a repeat.

John

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] BackupPC_nightly long run time and 3.0.0beta0

2006-08-02 Thread John Villalovos
Okay I am running 3.0.0beta0 (zero) and I was wondering, how long
should BackupPC_nightly jobs take?

I currently have two jobs running:
  BackupPC_nightly -m 0 127
  BackupPC_nightly 128 255

They have been running for about 20+ hours so far.  I actually have
stopped all my backup jobs so that no backups will run.

I want all my pending BackupPC_link jobs to run but I don't believe
they will run until BackupPC_nightly is done.

Currently my backup server has 618GB of data backed up onto the hard drive.

There are 18 hosts that have been backed up, for a total of:

* 422 full backups of total size 4704.42GB (prior to pooling and
compression),
* 938 incr backups of total size 538.76GB (prior to pooling and
compression).

Not sure if that will give an idea of how long a BackupPC_nightly job
should run for.

Thanks,
John

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/