Re: [BackupPC-users] Next release

2009-03-30 Thread Craig Barratt
Pedro writes:

> Those are good news, where can we see about new stuff is in this upgrade?

Here is the current ChangeLog.  This should be pretty much what is
in 3.2.0beta0.

Craig

* Added BackupPC::Xfer::Protocol as a common class for each Xfer
  method.  This simplifies some of the xfer specific code.
  Implemented by Paul Mantz.

* Added FTP xfer method, implemented by Paul Mantz.

* Added BackupPC::Xfer module to provide a common interface to the
  different xfer methods.  Implemented by Paul Mantz.

* Moved setting of $bpc->{PoolDir} and $bpc->{CPoolDir} after the
  config file is read in BackupPC::Lib.  Fix proposed by Tim Taylor
  and Joe Krahn, and rediscovered by several others including
  Holger Parplies.

* Create $TopDir and related data directories in BackupPC_dump
  prior to hardlink test.  Requested by Les Stott.

* Fixed encoding of email subject header in bin/BackupPC_sendEmail as
  suggested by Jean-Claude Repetto.  Also changed $Conf{EMailHeaders}
  charset to utf-8.  Also changed bin/BackupPC_sendEmail to not send
  any per-client email if $Conf{BackupsDisable} is set.

* Modified bin/BackupPC_dump to fix the case of a single partial
  backup followed by a successful incremental resulting in a full
  backup of level 1, rather than level 0.  Reported by Jeff
  Kosowsky.

* Fixed BackupPC::PoolWrite to always create the parent directory.
  This fixed a case with rsync/rsyncd where a file like "-i" in the
  top-level directory sorts before ".", which meant the directory
  creation is after the file creation.  Also PoolWrite errors now
  increment xferError count.  Reported by Jeff Kosowsky.

* BackupPC now gives a more useful error message if BackupPC_nightly
  takes more than 24 hours (ie: when the next one is meant to
  start).  Reported by Tony Schreiner.

* Added more options to server backup command: rather than just forcing
  an incremental or full backup, a regular (auto) backup can be queued
  (ie: do nothing/incr/full based on schedule), as well as doing just
  an incremental or full or nothing based on the client schedule.
  Based on patches submitted by Joe Digilio.

* Modified lib/BackupPC/CGI/RSS.pm to replace \n with \r\n in the RSS
  http response headers.  Patch submitted by Thomas Eckhardt.

* Modified bin/BackupPC_archive to allow the archive request file
  name to contain spaces and dashes, requested by Tim Massey.

* Fix to configure.pl for --no-fhs case to initialize ConfigDir
  from Dan Pritts.  Also changed perl path to #!/usr/bin/env perl.

* Modified bin/BackupPC_archiveHost to shell escape the output file
  name.  That allows it to contain spaces and other special characters.
  Requested by Toni Van Remortel.

* Added $Conf{CmdQueueNice} to specify nice level for command queue
  commands (eg: BackupPC_link and BackupPC_nightly).  Suggested by
  Carl Soderstrom.

* Added --config-override to configure.pl, allow config settings to be
  set on the command line.  Proposed by Les Stott and Holger Parplies.

* Moved call to NmbLookupFindHostCmd in BackupPC_dump to after the
  check of whether a backup needs to be done.  This makes wakeonlan
  work correctly, rather than waking up the client every WakeupSchedule.
  Reported by David Lasker.

* Improved settings for compression and compext in BackupPC_archiveStart
  based on compression type, as proposed by Paul Dugas.  compext is now
  empty, .gz or .bz2 based on ArchiveComp.

* Changed bin/BackupPC_dump to not ping or lookup the host if
  $Conf{BackupsDisable} is set.  Requested by John Rouillard.

* Changed BackupPC_tarCreate to disable output of final nulls in
  tar archive when -l or -L option is used.  Reported by John
  Rouillard.

* Added error check in BackupPC::Xfer::RsyncFileIO after call to
  BackupPC::Xfer::RsyncDigest->digestStart(), reported by Jeff
  Kosowsky.

* Added variable substitution for host, confDir, client in
  RsyncArgs, and also added option RsyncArgsExtra to allow
  more easy customization of RsyncArgs on a per-client basis.
  Proposed (with patch) by Raman Gupta.

* Added Xfer error column to the host summary table in the CGI
  interface.  Based on patch submitted by Jan Kratochvíl.

* Minor fix to sprintf arguments in BackupPC::Attrib, reported by
  Jonathan Kamens.

* Fixed sort compareLOGName syntax in bin/BackupPC for perl 5.10.x,
  reported by Jeff Kosowsky and Holger Parplies.

* Fixed bin/BackupPC_archiveStart to set compression correctly,
  and also set the file extension to .gz when compression is on.
  Reported by Stephen Vaughan.

* Fixed netbios name comparison in bin/BackupPC_dump and
  bin/BackupPC_restore to just use the first 15 characters
  of the host name.  Patch from Dan MacNeil.

* Fixed nmblookup parsing in BackupPC::Lib::NetBiosInfoGet to ignore
  entries with the  tag.  Based on patch from Dan MacNeil.

* Fixed BackupPC_dump so that the XferLOG file is saved when
  DumpPreUserCmd fails.  Reported by John Rouillard.

* Updated BackupPC.pod for $Conf{BackupsDisable}, re

Re: [BackupPC-users] Next release

2009-03-30 Thread Tomasz Chmielewski
Craig Barratt schrieb:
> Pedro writes:
> 
>> Those are good news, where can we see about new stuff is in this upgrade?
> 
> Here is the current ChangeLog.  This should be pretty much what is
> in 3.2.0beta0.

Are there any plans to update File-RsyncP to make it compatible with 
newer rsync protocol versions?


-- 
Tomasz Chmielewski
http://wpkg.org

--
___
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/


[BackupPC-users] BackupPC on OpenSolaris

2009-03-30 Thread Simon Fishley
I have been trying to get this added to the Wiki on SourceForge but it
refuses to save my changes. Here then is a guide to installing
BackupPC on OpenSolaris10.  Please will someone try and get it onto
the wiki?

INSTALL BACKUPPC on SOLARIS (running onSunOS 5.10 Generic_138889-05
i86pc i386 i86pc). **Credit for all this hard work goes to Garith
Dugmore - THE Solaris Man.**

* Installation dependencies

 pkg-get -i samba_client par2cmdline apache2 apache2_manual
ap2_modphp5 ap2_modperl perl perldoc gcc4g++\
 pm_termreadkey pm_compressrawzlib pm_compresszlib pm_iocompresszlib
pm_iozlib rsync vim top sudo
 pkg install SUNWhea #Only on OpenSolaris

* Fix bug in IO:Compress:Zlib

 cd /tmp/
 wget 
http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/IO-Compress-Zlib-2.015.tar.gz
 gzip -d IO-Compress-Zlib-2.015.tar.gz
 tar xf IO-Compress-Zlib-2.015.tar
 cd IO-Compress-Zlib-2.015
 CC=gcc /opt/csw/bin/perl Makefile.PL
 make
 make install

* Setup Sun Studio so we can use "cc" to compile.

 cd /tmp/
 wget StudioExpress-sol-x86-2008-11-v2-ii.sh (you will need to
register to get a url for this but it is free)
 mkdir /opt/studio
 cd /opt/studio
 sh /tmp/StudioExpress-sol-x86-2008-11-v2-ii.sh --accept-sla
 ln -s /opt/studio/SUNWspro/bin/cc /usr/bin/

* Adding perl modules

cpan

* Hit enter through all options and choose ftp.is.co.za as a mirror.
Once you at the cpan prompt:

 install File::RsyncP

* Install BackupPC

 mkdir /tmp/backuppc
 cd /tmp/backuppc
 wget http://url/BackupPC-3.1.0.tar.gz (insert working URL here)
 gzip -d BackupPC-3.1.0.tar.gz
 tar xf BackupPC-3.1.0.tar
 cd BackupPC-3.1.0

* For the next step hit enter for the defaults except for:

 /opt/csw/bin/perl configure.pl

   1. --> BackupPC should run as user [backuppc]? nobody
   2. --> Data directory (full path) [/data/BackupPC]? /data
   3. --> CGI bin directory (full path) []? /opt/csw/apache2/share/cgi-bin/
   4. --> Apache image directory (full path) []?
/opt/csw/apache2/share/htdocs/image
   5. --> URL for image directory (omit http://host; starts with '/')
[]? /image

* Configure BackupPC startup script

 cd /etc/init.d/ ; touch backuppc
 Insert the following into the backuppc file you just created:
___

#!/usr/bin/sh
#
# DESCRIPTION
#
#   Startup init script for BackupPC for solaris.
#
# Distributed with BackupPC version 3.1.0, released 25 Nov 2007.
#
# Not tested...
#

case "$1" in
  start)
#
# You can set the SMB share password here is you wish.  Otherwise
# you should put it in the config.pl script.
# If you put it here make sure this file has no read permissions
# for normal users!  See the documentation for more information.
#
#BPC_SMB_PASSWD=
#export BPC_SMB_PASSWD
#
su nobody -c "/usr/local/BackupPC/bin/BackupPC -d"
;;
  stop)
/usr/bin/pkill -f "/usr/bin/perl /usr/local/BackupPC/bin/BackupPC -d"
;;
  restart)
/usr/bin/pkill -f "/usr/bin/perl /usr/local/BackupPC/bin/BackupPC -d"
su nobody -c "/usr/local/BackupPC/bin/BackupPC -d"
;;
  reload)
/usr/bin/pkill -1 -f "/usr/local/BackupPC/bin/BackupPC -d"
;;
  *)
echo "Usage: $0 {start|stop|restart|reload}"
exit 1
esac

exit $?


 chmod 777 backuppc
 cd /etc/rc0.d
 ln -s ../init.d/backuppc K40backuppc
 cd /etc/rc2.d
 ln -s ../init.d/backuppc S99backuppc
 usermod -s /usr/bin/bash nobody
 /etc/init.d/backuppc restart
 chmod u+x /var/log/BackupPC/status.pl
 cd /opt/csw/apache2/share/cgi-bin/
 ln -s BackupPC_Admin index.cgi

* Setup up /opt/csw/etc/sudoers ; append:

 nobody  ALL=NOPASSWD: /usr/sfw/bin//gtar
 nobody  ALL=NOPASSWD: /usr/bin/env
 nobody  ALL=NOPASSWD: /usr/bin/ssh
 nobody  ALL=NOPASSWD: /opt/csw/bin/rsync

* Put sudo in its normal place:

 ln -s /opt/csw/bin/sudo /usr/bin/

Configure Apache2 (you may need to install apache)

* Append the following to /opt/csw/apache2/etc/httpd.conf
* NOTE that the ssl keys line in the httpd.conf will differ between
machines. If apache2 doesn't start (check using - ps -fel | grep
httpd) then try running /opt/csw/apache2/sbin/httpd to see what the
problem is. Also note we are using LDAP auth - choose your auth method
and modify accordingly

 Alias /BackupPC/ /opt/csw/apache2/share/cgi-bin/
 
   RewriteEngine on
   RewriteCond %{SERVER_PORT} =80
   RewriteRule ^(.*) https://%{SERVER_NAME}%{REQUEST_URI}
   AllowOverride None
   Options ExecCGI FollowSymlinks
   Order Allow,Deny
   Allow from all
   AddHandler cgi-script .cgi
   DirectoryIndex index.cgi
   AuthType basic
   AuthBasicProvider ldap
   AuthBasicAuthoritative On
   AuthLDAPURL ldap:///ou=people,dc=?uid
   AuthName "BackupPC admin"
   require valid-user
 
 LoadModule ssl_module libexec/mod_ssl.so
 Listen 443
 NameVirtualHost *:443
 
   ServerAdmin root@
   SSLEngine on
   SSLCertificateFile /opt/csw/apache2/etc/apache.pem
 
   SSLO

[BackupPC-users] backups schedule

2009-03-30 Thread Enrique Jiménez Campos
Hi List ! i already read all official documentation about Backuppc schedule
but i dont understand very much... i try to make auto full backup one day to
week (02:00 am in all mondays for example) but i dont know what i have to
define in config.pl...
can u help me?
--
___
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] backups schedule

2009-03-30 Thread Paul Dugas
On Mon, 2009-03-30 at 15:35 +0200, Enrique Jiménez Campos wrote:
> (02:00 am in all mondays for example)

I was taught to avoid 2am for scheduled tasks.  Daylight-savings time
changes occur at 2am.   One day a year, 2am never happens.  Another day,
it happens twice!

$0.02
-- 
Paul Dugas - p...@dugas.cc - 404.932.1355


signature.asc
Description: This is a digitally signed message part
--
___
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] Next release

2009-03-30 Thread Craig Barratt
Tomasz writes:

> Are there any plans to update File-RsyncP to make it compatible with
> newer rsync protocol versions?

I'm experimenting with FUSE to see if native rsync3 + FUSE will
be the best path.  Otherwise, yes, I will update File-RsyncP.

Craig

--
___
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] Next release

2009-03-30 Thread Jeffrey J. Kosowsky
Tomasz Chmielewski wrote at about 09:51:20 +0200 on Monday, March 30, 2009:
 > Craig Barratt schrieb:
 > > Pedro writes:
 > > 
 > >> Those are good news, where can we see about new stuff is in this upgrade?
 > > 
 > > Here is the current ChangeLog.  This should be pretty much what is
 > > in 3.2.0beta0.
 > 
 > Are there any plans to update File-RsyncP to make it compatible with 
 > newer rsync protocol versions?

I'm a strong proponent of such a change but my understanding is that
it would require some significant changes, including to the pool
storage format since the later protocol used md5 rather than md4
sums. Still, it would be a very welcome update...

--
___
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] Next release

2009-03-30 Thread John Rouillard
On Mon, Mar 30, 2009 at 10:39:49AM -0700, Craig Barratt wrote:
> Tomasz writes:
> 
> > Are there any plans to update File-RsyncP to make it compatible with
> > newer rsync protocol versions?
> 
> I'm experimenting with FUSE to see if native rsync3 + FUSE will
> be the best path.  Otherwise, yes, I will update File-RsyncP.

Hmm, I would prefer an updated File-RsyncP as I have had stability
issues with fuse in the past.

-- 
-- rouilj

John Rouillard
System Administrator
Renesys Corporation
603-244-9084 (cell)
603-643-9300 x 111

--
___
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] Next release

2009-03-30 Thread Johan Ehnberg

> * Added more options to server backup command: rather than just forcing
>   an incremental or full backup, a regular (auto) backup can be queued
>   (ie: do nothing/incr/full based on schedule), as well as doing just
>   an incremental or full or nothing based on the client schedule.
>   Based on patches submitted by Joe Digilio.

Documentation is underway for using this in mobile and/or client 
initiated setups over SSH and rsync/rsyncd (maybe other methods too). As 
soon as the command line syntax is final I'll get to publishing it somehow.

So far I've had three variants none of which were really scalable in 
tests (although working) and this feature solves it all:

Reverse tunnel with one of these
a) The current alternative queue all function should trigger any PC in 
need of backup, but with many PC:s it becomes unreliable and inefficient 
= does not scale.
b) _dump the host is not smart enough for client initiated backups, as 
it either does not use schedules or relies only on one chance per day, 
depending on client scripts. It also does not respect simultaneous jobs 
and ignores the UI = does not scale.
c) Sitting and waiting with a sleep command. This gets ugly on the 
client side and should really be done with a VPN. Also has greater risk 
of dead SSH sessions blocking working ones, requiring manual 
intervention = does not scale too well.

Clearly queuing only the relevant client solves a), using the common 
queue and schedule solves b) and having that command in the first place 
solves c).

A big thanks to those who work on the code for this functionality.

/johan

--
___
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] UPDATED: Fully automated script for creating shadow copies and launching rsyncd

2009-03-30 Thread David Morton
David Lasker wrote:
> I was trying to figure out the best way to deploy VSS with BackupPC on my
> Windows XP PCs, and found this wonderful script. Thank you so much Jeffrey
> for sharing it!

Is it possible to do VSS on XP Home? I have a location that I'd like to
do VSS and getting them upgraded to something better has been/is going
to be a long process.

I'd also like to add a wake on lan and shutdown to the process, is that
doable?


--
___
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] UPDATED: Fully automated script for creating shadow copies and launching rsyncd

2009-03-30 Thread David Lasker
According to this post:
http://www.mail-archive.com/backuppc-users@lists.sourceforge.net/msg12947.ht
ml
VSS works on XP Home. You can download vshadow.exe and try it yourself to
make sure.

I have implemented wakeonlan and shutdown with BackupPC using the method in
this post:
http://www.mail-archive.com/backuppc-users@lists.sourceforge.net/msg01419.ht
ml

See this post:
http://www.mail-archive.com/backuppc-users@lists.sourceforge.net/msg13504.ht
ml
for some issues I ran into with wakeonlan. The short story is that you need
to configure BackupPC to wake up only once per day, in order for wakeonlan
to work in a reasonable manner.

Dave

-Original Message-
From: David Morton [mailto:morto...@dgrmm.net] 
Sent: Monday, March 30, 2009 12:16 PM
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] UPDATED: Fully automated script for creating
shadow copies and launching rsyncd

David Lasker wrote:
> I was trying to figure out the best way to deploy VSS with BackupPC on my
> Windows XP PCs, and found this wonderful script. Thank you so much Jeffrey
> for sharing it!

Is it possible to do VSS on XP Home? I have a location that I'd like to
do VSS and getting them upgraded to something better has been/is going
to be a long process.

I'd also like to add a wake on lan and shutdown to the process, is that
doable?



--
___
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/


--
___
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/


[BackupPC-users] Fully automated script for creating shadow copies and launch

2009-03-30 Thread geroldr

Hi,

Thanks for the most interesting script. Minor correction for:
$DOSDEV "${letter}:" /D 2> /dev/nuul 
should read:
$DOSDEV "${letter}:" /D 2> /dev/null

Not sure what you are doing with the following:
if [ $# -eq 0 ] ; then
command=$( (cd -P $(dirname $0) && pwd ))/$(basename $0)
else
command=$ < at >
fi 

When I try to run it I get an error on this section. Is this to be the 
shadowwait.cmd filename ? Reading the input from at and sending the output 
nowhere makes no sense. 

Thanks in advance for any explanation.

Gerold Rupprecht
Geneva, Switzerland

+--
|This was sent by gero...@bluewin.ch via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
___
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] UPDATED: Fully automated script for creating shadow copies and launching rsyncd

2009-03-30 Thread Craig Barratt
David writes:

> The short story is that you need to configure BackupPC to wake up only
> once per day, in order for wakeonlan to work in a reasonable manner.

That should be fixed in 3.2.0beta0:

* Moved call to NmbLookupFindHostCmd in BackupPC_dump to after the
  check of whether a backup needs to be done.  This makes wakeonlan
  work correctly, rather than waking up the client every WakeupSchedule.
  Reported by David Lasker.

Craig

--
___
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/


[BackupPC-users] Apparently not linking...

2009-03-30 Thread Mauro Condarelli
Hi everybody,
I installed backuppc on a fairly up-to-date ubuntu 8.10 machine to
backup it and a few other machines on my home LAN.
I'm using a fairly large (1.5T) eSATA external disk (formatted ext3) for
the data pool.
My data pool is essentially static, but, all the same, every time I
backup the pool decreases dramatically, just like it copied over the
same files instead of using links.
It also takes a very long time (>>24h) to back up my localhost (~600Gb).
Is this normal?
It shouldn't be according to the docs (IFF I understand it correctly!).
Can someone please advise about just what to check to ascertain my setup
is correct? (I strongly suspect it isn't, but I can't understand what's
wrong).
It is now doing the second full backup of the localhost (the largest)
and before starting I had ~44% free, now (after more than one day) it is
at 73%:

before:

ma...@heimdall:~$ df
File system blocchi di   1K   Usati Disponib. Uso% Montato su
/dev/sda8 76928448  15822816  57197824  22% /
tmpfs  1027916 0   1027916   0% /lib/init/rw
varrun 1027916   900   1027016   1% /var/run
varlock1027916 0   1027916   0% /var/lock
udev   1027916  2880   1025036   1% /dev
tmpfs  1027916   104   1027812   1% /dev/shm
lrm1027916  2004   1025912   1%
/lib/modules/2.6.27-14-generic/volatile
/dev/sda7  9614116   8122452   1003292  90% /home
/dev/sdc1307663800 256980960  35054408  88% /srv
/dev/sdd2448882144 371743628  59040652  87% /srv/Store
/dev/sde11442145212 595568000 773320412  44% /media/BackupPC

now:

-ma...@heimdall:/lib/modules/2.6.27-8-generic$ df
File system blocchi di   1K   Usati Disponib. Uso% Montato su
/dev/sda8 76928448  15665808  57354832  22% /
tmpfs  1027916 0   1027916   0% /lib/init/rw
varrun 1027916   900   1027016   1% /var/run
varlock1027916 0   1027916   0% /var/lock
udev   1027916  2880   1025036   1% /dev
tmpfs  1027916   104   1027812   1% /dev/shm
lrm1027916  2004   1025912   1%
/lib/modules/2.6.27-14-generic/volatile
/dev/sda7  9614116   8370368755376  92% /home
/dev/sdc1307663800 256981028  35054340  88% /srv
/dev/sdd2448882144 371743628  59040652  87% /srv/Store
/dev/sde11442145212 996767156 372121256  73% /media/BackupPC
---
... and I can swear almost nothing changed in the filesystems to be
backed-up!

Also the "statos display is highly suspicious:
---
-
BackupPC Server Status

General Server Information

* The servers PID is 20032, on host heimdall, version 3.1.0, started
  at 3/26 22:47.
* This status was generated at 3/30 23:33.
* The configuration was last loaded at 3/28 14:27.
* PCs will be next queued at 3/31 01:00.
* Other info:
  o 0 pending backup requests from last scheduled wakeup,
  o 0 pending user backup requests,
  o 0 pending command requests,
  o Pool is 0.00GB comprising 0 files and 0 directories (as of
3/30 01:00),
  o Pool hashing gives 0 repeated files with longest chain 0,
  o Nightly cleanup removed 0 files of size 0.00GB (around 3/30
01:00),
  o Pool file system was recently at 73% (3/30 23:32), today's
max is 73% (3/30 22:57) and yesterday's max was 51%.

Currently Running Jobs

HostTypeUserStart Time  Command PID Xfer PID
localhost   full
backuppc   3/29 15:00  BackupPC_dump localhost 
19367
19380, 19379

Failures that need attention

HostTypeUserLast TryDetails Error Time  Last 
error (other than
no ping)

--

I also have another strange problem: The "BackupPC Pool Size" graphs are
missing; I mean: I see the grid and the labels, but not the actual graph.

I do not want to send an excessive amount of data, but I'm obviously
ready to send any data needed.

What did I broke?
Please advise.

Best Regards
Mauro

--
___
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] Apparently not linking...

2009-03-30 Thread Adam Goryachev
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mauro Condarelli wrote:
> Hi everybody, I installed backuppc on a fairly up-to-date ubuntu
> 8.10 machine to backup it and a few other machines on my home LAN.
> I'm using a fairly large (1.5T) eSATA external disk (formatted
> ext3) for the data pool. My data pool is essentially static, but,
> all the same, every time I backup the pool decreases dramatically,
> just like it copied over the same files instead of using links. It
> also takes a very long time (>>24h) to back up my localhost
> (~600Gb). Is this normal?
>
no
> before:  ma...@heimdall:~$ df
> File system blocchi di   1K   Usati Disponib. Uso% Montato
> su /dev/sde11442145212 595568000 773320412  44%
> /media/BackupPC  now:
> 
> -ma...@heimdall:/lib/modules/2.6.27-8-generic$ df /dev/sde1
> 1442145212 996767156 372121256  73% /media/BackupPC

> What did I broke? Please advise.
You modified topdir in config.pl and mounted your external drive in
the wrong location. Basically you can't modify topdir in the config.pl
(at all if you are using a package installed version of backuppc). To
solve your 1st problem, umount the drive from /media/BackupPC and
mount it on /var/lib/backuppc and revert the change in config.pl. That
should fix the pooling issue.

2nd possible problem, make sure you exclude /var/lib/backuppc from
your localhost backups, or configure to only backup a single
filesystem at a time.

3rd problem, broken graphs - I'm not sure if this is related to the
above, but fix the first two problems, and then look through the log
files to find an error message relating to the graphs and we should be
able to help further.

PS, if you installed from source code, then please ignore almost
everything I said above, but in either case, read the wiki for how to
change the topdir correctly (there are methods for both building from
source and installing from a package).


Regards,
Adam
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknRRQgACgkQGyoxogrTyiX5MACgwSx1RLgPHAJpeeoLl+nZ/oW0
p+kAnA9Oqheh5weiXn/YJEgD+YtScNtS
=HO4A
-END PGP SIGNATURE-


--
___
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] Apparently not linking...

2009-03-30 Thread Les Mikesell
Mauro Condarelli wrote:
> Hi everybody,
> I installed backuppc on a fairly up-to-date ubuntu 8.10 machine to
> backup it and a few other machines on my home LAN.
> I'm using a fairly large (1.5T) eSATA external disk (formatted ext3) for
> the data pool.
> My data pool is essentially static, but, all the same, every time I
> backup the pool decreases dramatically, just like it copied over the
> same files instead of using links.

If you use a packaged install like those included with Linux 
distributions, you can't change the storage location, so if you use an 
external disk you have to mount or symlink it at the expected directory:

http://backuppc.wiki.sourceforge.net/change+archive+directory

---
   Les Mikesell
lesmikes...@gmail.com


--
___
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] Next release

2009-03-30 Thread Jeffrey J. Kosowsky
Craig Barratt wrote at about 10:39:49 -0700 on Monday, March 30, 2009:
 > Tomasz writes:
 > 
 > > Are there any plans to update File-RsyncP to make it compatible with
 > > newer rsync protocol versions?
 > 
 > I'm experimenting with FUSE to see if native rsync3 + FUSE will
 > be the best path.  Otherwise, yes, I will update File-RsyncP.
 > 
 > Craig
 > 
Sounds cool... I imagine this is in line with the thread we had a few
months ago.

--
___
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] UPDATED: Fully automated script for creating shadow copies and launching rsyncd

2009-03-30 Thread Jeffrey J. Kosowsky
David Morton wrote at about 14:15:57 -0500 on Monday, March 30, 2009:
 > David Lasker wrote:
 > > I was trying to figure out the best way to deploy VSS with BackupPC on my
 > > Windows XP PCs, and found this wonderful script. Thank you so much Jeffrey
 > > for sharing it!
 > 
 > Is it possible to do VSS on XP Home? I have a location that I'd like to
 > do VSS and getting them upgraded to something better has been/is going
 > to be a long process.
 > 
I use my script all the time on XP Home.

 > I'd also like to add a wake on lan and shutdown to the process, is that
 > doable?

I'm not sure what you mean exactly. But since it is a general purpose
bash script, I imagine a lot can be done...
 > 
 > 
 > --
 > ___
 > 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/
 > 

--
___
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] UPDATED: Fully automated script for creating shadow copies and launching rsyncd

2009-03-30 Thread David Morton
David Lasker wrote:

>  The short story is that you need
> to configure BackupPC to wake up only once per day, in order for wakeonlan
> to work in a reasonable manner.

That would be great for this particular system anyway, since I'd want it
to only wake up at night.

--
___
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] Fully automated script for creating shadow copies and launch

2009-03-30 Thread Jeffrey J. Kosowsky
geroldr wrote at about 05:22:53 -0400 on Monday, March 30, 2009:
 > 
 > Hi,
 > 
 > Thanks for the most interesting script. Minor correction for:
 > $DOSDEV "${letter}:" /D 2> /dev/nuul 
 > should read:
 > $DOSDEV "${letter}:" /D 2> /dev/null

Yes, I am aware of that typo - thanks

 > 
 > Not sure what you are doing with the following:
 > if [ $# -eq 0 ] ; then
 > command=$( (cd -P $(dirname $0) && pwd ))/$(basename $0)
 > else
 > command=$ < at >
 > fi 
 > 
 > When I try to run it I get an error on this section. Is this to be
 > the shadowwait.cmd filename ? Reading the input from at and sending
 > the output nowhere makes no sense. 
Are you using an old version? The code in the latest version posted is
significantly different.
The logic of the code is that if you are running with
$USERNAME=SYSTEM (for example if you logged on via SSH which is what
usually happens when using BackupPC), then you need the kluge of
calling 'at' first before recursing back into this script to give you
the user authority to run vshadow. Otherwise, you can just recurse
directly back into this script.

Try to find the latest version. Alternatively, I hope to post an
updated version soon on the wiki.

 > 
 > Thanks in advance for any explanation.
 > 
 > Gerold Rupprecht
 > Geneva, Switzerland
 > 
 > +--
 > |This was sent by gero...@bluewin.ch via Backup Central.
 > |Forward SPAM to ab...@backupcentral.com.
 > +--
 > 
 > 
 > 
 > --
 > ___
 > 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/
 > 

--
___
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] Next release

2009-03-30 Thread Craig Barratt
Jeff writes:

> Sounds cool... I imagine this is in line with the thread we had a few
> months ago.

Yes, that's right.  I want to be sure the performance and reliability
are high enough before making the decision.

Craig

--
___
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] External WD Worldbook Device

2009-03-30 Thread martin glazer

How do you like yours on the whole? Does it use the WD enterprise drive re3?

--- On Thu, 3/26/09, David Williams  wrote:

> From: David Williams 
> Subject: Re: [BackupPC-users] External WD Worldbook Device
> To: "'General list for user discussion, questions and support'" 
> 
> Date: Thursday, March 26, 2009, 8:38 AM
> It is connect via RJ45 to my router.
> 
> 
> 
> David Williams
> 
> 
> _
> From: Chris Baker [mailto:cba...@intera.com]
> 
> Sent: Thursday, March 26, 2009 10:30 AM
> To: 'General list for user discussion, questions and
> support'
> Subject: Re: [BackupPC-users] External WD Worldbook Device
> 
> 
> 
> How does your Mybook connect to your machine? Is it USB,
> Firewire, or eSATA?
> 
> 
> Chris Baker -- cba...@intera.com
> systems administrator
> INTERA -- 512-425-2006
> 
> 
> _ 
> From:     David Williams [mailto:dwilli...@dtw-consulting.com]
> 
> Sent:    Thursday, March 26, 2009 9:03 AM
> To:    backuppc-users@lists.sourceforge.net
> Subject:    [BackupPC-users] External WD
> Worldbook Device
> 
> All,
> 
> Up until very recently I have had BackupPC 3.0 working with
> my 1TB external
> WD Mybook world edition device, which is connected to my
> LAN and which I
> mount via cifs.  I recently had to upgrade my machine
> to a newer version on
> Linux (Mandriva 2009.0) and with that comes BackupPC 3.1.
> 
> Once I had setup installed BackupPC 3.1, mounted my backup
> device using cifs
> and restored my configuration files I started up BackupPC
> only to get the
> message:
> 
> "Can't create a test hardlink..."
> 
> And BackupPC would not start :-(  Thankfully I have
> been able to comment out
> this check from the BackupPC program and get BackupPC up
> and running so that
> I can restore what I need from my backup drive via the web
> interface.
> 
> Under BackupPC 3.0 I never had a problem performing backups
> and I can still
> access the backups that I have from the 3.0 version. 
> There are no error
> messages in any of the log files.  So, did something
> change between 3.0 and
> 3.1 ?  Is there a way I can check manually by creating
> a hardlink on the
> backups partition from the shell ?  Sorry, not a Linux
> guru so not well up
> on the commands to do this.
> 
> I did take a look through the archives but nothing jumped
> out to me as to
> the problem.  I would assume that since backups were
> working just fine with
> 3.0 that they should be fine in 3.1 and that my external
> drive is ok?
> 
> Would appreciate any help as I'd like to get my backups up
> and running
> again.
> 
> I did do a df -i and got the following output:
> 
> Filesystem           
> Inodes   IUsed   IFree IUse%
> Mounted on
> //192.168.15.6/public
>                
>                
> 116M    1.7M    115M    2%
> /backups
> 
> Regards,
> 
> 
> 
>  << File: ATT00020.txt >>  << File:
> ATT00023.txt >>  << File: ATT00089.txt
> >>  << File: ATT00092.txt >> 
> 
> -Inline Attachment Follows-
> 
> --
> 
> -Inline Attachment Follows-
> 
> ___
> 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/
> 

--
___
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] Fully automated script for creating shadow copies and launch

2009-03-30 Thread David Lasker
< at > is supposed to be an "at sign" (@). These get mangled by the mailing
list archiver, in the hope of hiding email addresses.

Dave

geroldr wrote at about 05:22:53 -0400 on Monday, March 30, 2009:
> command=$ < at >


--
___
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/