Re: [BackupPC-users] Access Deny / Authorization Required

2009-09-14 Thread Filipe Brandenburger
Hi,

On Mon, Sep 14, 2009 at 15:17, Simone S. Santiago
sim...@magistrainfo.com.br wrote:
 My Backuppc Server was working properly, but suddenly it started to deny
 my username.
 I tried to re-configure the password using the command htpasswd and
 nothing...

 Have anyone seen this problem before?

It's really hard to diagnose the problem considering the information
you are giving...

I suggest you check your Apache logs, the location of which will
depend on which Linux distribution you are using, to determine what
might be going wrong with your authentication.

If you are using Fedora/CentOS/RHEL the logs should be at
/var/log/httpd/access_log and /var/log/httpd/error_log, you might try
to run the tail -f /var/log/httpd/*_log command and then try to
login to your server to see what will be logged there while you do
that.

If that still does not help you solve your problem, then please post
back to the list with more information, such as which Linux
distribution and version are you using, which version of BackupPC you
have installed, a snippet of the relevant Apache configuration, a ls
-l of the file with the passwords (to check for permission issues),
what you found on the Apache logs, if there is anything weird in
/var/log/messages or any other relevant logs, etc.

HTH,
Filipe

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
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] New user- loads of questions

2009-08-18 Thread Filipe Brandenburger
Hi,

On Tue, Aug 18, 2009 at 07:04, Nigel
Kendricksupport-li...@petdoctors.co.uk wrote:
 4) I am running the backup server on CentOS 5.3 and installed backuppc from
 the Centos RPM. Ideally I'd like to run the app as the normal 'apache' user
 - I read up on a few generic notes about doing this and got to a point where
 backuppc wouldn't start properly as it couldn't create the LOG file. I then
 went round in circles looking at file permissions before putting things back
 the way they were in order to do some more learning. Is there a
 simple-to-follow guide for setting up backuppc to not use mod_perl - I have
 read the docs but am still not getting there.

I've been through the same with CentOS RPM for BackupPC, eventually I
just stopped using it...

I rebuilt the SRPM for BackupPC from Fedora, it builds just fine in
CentOS 5 and works just fine. It actually starts working out of the
box, without any changes to Apache needed, you're able to use Apache
with user apache and even run other applications on the same server.

I reported those issues to CentOS, but they still found that requiring
the users to change Apache's user was acceptable and did not want to
change that...

You may also try EPEL's package of BackupPC, I believe it will be the
same as the one I rebuilt from Fedora's SRPMS:
http://download.fedora.redhat.com/pub/epel/5/i386/BackupPC-3.1.0-3.el5.noarch.rpm

Otherwise, get Fedora's SRPM here:
ftp://ftp.nrc.ca/pub/systems/linux/redhat/fedora/linux//releases/11/Everything/source/SRPMS/BackupPC-3.1.0-5.fc11.src.rpm

And use these instructions to rebuild it:
http://wiki.centos.org/HowTos/RebuildSRPM

HTH,
Filipe

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Is there a speed setting?

2009-08-17 Thread Filipe Brandenburger
Hi,

On Mon, Aug 17, 2009 at 14:55, Jeremy Mannjer...@biochem.uthscsa.edu wrote:
 Just curious if there is a bandwidth speed setting for BackupPC because
 I'm not seeing a lot of bandwidth when the backups occur. All my servers
 are on gigE and I'm not even seeing 50Mbit speeds between the servers and
 backupPC server.

50Mbps is actually quite a lot, and it's probably close to the
bottleneck of your disks. You should use iostat on client and server
while backups are running to see if you're getting 100%util of the
disks that are being backed up.

In BackupPC's case, as it will transfer only the differences, it will
end up reading from disk much more than it actually sends on the
network, so using network bandwidth as a measure of backup speed will
not be very accurate.

HTH,
Filipe

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] patch for auto-detection of Bonjour (apple) clients for 3.2

2009-08-13 Thread Filipe Brandenburger
Hi,

On Thu, Aug 13, 2009 at 15:14, Jeffrey J. Kosowskybacku...@kosowsky.org wrote:
 I'm not sure what the problem is with just appending '.local' to the
 names of Bonjour hosts in the Backuppc 'hosts' file. Alternatively,
 just create the aliases in the /etc/hosts file or equivalents.

Or add search local to /etc/resolv.conf

HTH,
Filipe

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] 100,000+ errors in last nights backup

2009-08-12 Thread Filipe Brandenburger
Hi,

On Wed, Aug 12, 2009 at 08:49, Steve Blackwellzep...@cfl.rr.com wrote:
 2009-08-12 05:00:08 BackupPC_link got error -3 when calling
 MakeFileLink(/media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome/faccessibility/fkeyboard/f%25gconf.xml,
 b32585c3cc30b7ebb556d335a08554e3, 1)

 followed by 100,000+ of the same error on different files

 What is going on here?

I used to have exactly this problem.

I guess you changed TopDir in your config.pl file, right?

Well, BackupPC 3.1.0 has a bug in that TopDir change will not affect
the pool and cpool directories, so it will try to create a
hardlink in /var/lib/BackupPC for a file in /media/disk, which are in
different filesystems, so it fails.

See this post for a patch that can be used to fix this issue:
http://sourceforge.net/mailarchive/message.php?msg_name=20080808032558.GG13869%40gratch.parplies.de

Alternatively, you may remove the /var/lib/BackupPC directory and
create a symbolic link to /media/disk in its place.

You can also upgrade your setup to 3.2.0 beta, which has this bug already fixed.

HTH,
Filipe

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Switching from gzip to bzip2

2009-08-10 Thread Filipe Brandenburger
Hi,

On Sat, Aug 8, 2009 at 08:36, Nate Tnaterw...@gmail.com wrote:
 Will switching from gzip to bzip2 do bad things to the existing cpool?

I don't think it's possible to switch to bzip2... BackupPC will use
gzip-like compression, which is not exactly like gzip but similar to
it.

If you have spare CPU and want to compress harder, you can tune the
compression level of backups in your config.pl, IIRC it's set to 3
by default, you can use 6 (default for gzip) or 9 (stronger
compression) or anything in between, those will use more CPU and
compress better.

AFAIK, the existing files in your cpool will not be recompressed, so
until they are phased out (removed from the original machines) I don't
think they will be replaced by a copy that is more compressed... I'm
not aware of a script that goes through an existing cpool
recompressing the files, but there might indeed be one that does that.

HTH,
Filipe

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Configure ssh: X11 connection rejected because of wrong authentication.

2009-08-10 Thread Filipe Brandenburger
Hi,

On Mon, Aug 10, 2009 at 10:19, Craig
Swansoncraig.swan...@midwest-tool.com wrote:
 host tapper: BackupPC on fedora 10 x86_64
  Created a public key as backuppc on the server, copied to the client's
 backuppc home dir.
  config.pl:$Conf{RsyncClientCmd} = '$sshPath -x  -l backuppc $host nice -n
 19 sudo $rsyncPath $argList+';

It's a long shot, but did you try to set up BackupPC SSH keys on the
target's root user and connect to the sshd with the root user without
using sudo? Does that work or do you have the same error? I've seen
some strange setups of sudo with some PAM modules that use GTK/GNOME
and consequently require X... if you test it without sudo and it
works, that is most likely the problem, if it doesn't work either, at
least that hypothesis is discarded...

  -q was removed, hoping to see more info.

So, you had the same problem with -q or not? It was not completely
clear from your original post...

Also, do you have something in /etc/ssh/ssh_config or
~backuppc/.ssh/config that might be triggering this issue?

HTH,
Filipe

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] automated off-site backup (via BackupPC_archiveStart or restore)

2009-08-10 Thread Filipe Brandenburger
Hi,

On Mon, Aug 10, 2009 at 16:00, Shaun Curryscur...@gmail.com wrote:
 Thanks Les for this.  Does anyone have a working rsync with -H option over a
 sshfs?

You are making this harder than it has to be...

rsync supports doing a transfer over the network using SSH as a transport.

Instead of mounting the filesystem as SSHFS and then doing rsync
local local, do not mount anything and use rsync local remote,
it will use SSH by default. If you want to do that in a cron job or
something like that, you can set up SSH keys to do the authentication
without user interaction.

 I am running this command::~# rsync -avH /var/lib/backuppc /backup/pool/

Run instead:

# rsync -avH /var/lib/backuppc remote.host.domain.name:/path/to/backup/pool/

Where obviously remote.host.domain.name:/path/to/backup/pool/ is what
you have mounted under /backup/pool/ using SSHFS on your local
machine...

HTH,
Filipe

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Where is the BackupPC-Wiki?

2009-08-06 Thread Filipe Brandenburger
On Thu, Aug 6, 2009 at 07:04, p...@backup-and-restore.de wrote:
 I wanted to add some stuff to the wiki (common configuration) but it seems
 that the wiki is no there?

 Question:
 - What is going on?
 - Where is the Wiki?

Oh oh...

Sourceforge discontinued the Wiki service. I got this e-mail from them
last week:

On Wed, Jul 29, 2009 at 15:09, SourceForge.net
Teamnore...@sourceforge.net wrote:
 On Thursday July 30, 2009 at 8:00 AM Pacific Time, the SourceForge.net
 staff will be removing the Wikispaces facility that has been available to
 project teams since 2007.

 Project teams who have not yet migrated to one of the Hosted Apps wiki
 facilities, Trac or MediaWiki, may opt for one of two choices on
 SourceForge.net; Migration to Trac or MediaWiki.

 To migrate to one of these facilities, the project admin who is also an
 admin for one of the facilities (MediaWiki or Trac), needs to log a support
 ticket (https://sourceforge.net/apps/trac/sourceforge/newticket) and
 request migration to a specific facility. Be sure to specify your project
 UNIX name and to which facility you want your data imported (MediaWiki or
 Trac).

 The SourceForge.net team will use the dump of the project Wikispaces data
 in /home/groups/P/PR/PROJECT/wikispaces-dump.zip as an import source. It is
 critical that project teams do not move, rename, or otherwise manipulate
 this file prior to the import to the new facility.

 If you are importing data from Wikispaces to your existing Hosted App
 facility, like Trac, any data from Wikispaces will be additive to that
 structure. If there are pages of the same name, the new data will replace
 the existing data. Users may need to use the history facility to adjust the
 pages at that point.

 MediaWiki only supports image attachments, so any non-image attachments
 won't be imported to MediaWiki. Trac supports these, so this will work just
 fine for Trac implementations. Users will be able to access their zip files
 to recover any non-image attachments if they have selected MediaWiki as the
 new facility.

 Finally, we'd like to thank Wikispaces for their support of SourceForge.net
 and our users with this facility.
 Best regards,

 Daniel Hinojosa - Sr. Manager, SourceForge.net Support

 P.S., Be sure to monitor our Site Status page,
 https://sourceforge.net/sitestatus.

I believe they still should have a backup of the contents just before
the service was discontinued, and I believe it should be possible to
request the migration to Trac or MediaWiki by opening a support ticket
with them.

HTH,
Filipe

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Backuppc: return of investment

2009-08-04 Thread Filipe Brandenburger
Hi,

On Tue, Aug 4, 2009 at 03:39, Robert Waldnerwald...@waldner.priv.at wrote:
 I have /var/lib/backuppc (and /etc/backuppc via symlink) on an (encrypted)
  3-disk RAID-1, constantly degraded to 2 disks, and on occasion sync
  a 3rd disk which is cycled with another in the safe.

I have /var/lib/BackupPC in a RAID-10 array of fast disks using XFS
filesystem, then once a week I stop BackupPC, unmount it, and use
xfs_copy (does more or less the same as dd on other filesystems,
only copies data blocks only) to an external USB 2TB disk encrypted
with LUKS. The copy of approximately 1.3TB takes about 15 hours. I
have four external USB disks that I rotate and send offsite in a
weekly basis.

The disadvantage I see about keeping a degraded encrypted RAID-1 is
that performance will suffer during normal operation, both due to
encryption and the fact that you have only two disks, and also that
the disk you keep offsite must be the same as the other two, which can
get expensive depending on how much performance you want to get from
it...

HTH,
Filipe

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Backup of backuppc User Directory

2009-08-04 Thread Filipe Brandenburger
Hi,

2009/8/4 Christian Völker chrisc...@knebb.de:
 What I'm wondering is which include/exclude rules I should apply so the
 user data itself is backed up, but not the backup repository.

 Anyone an idea?

I don't think you need to back up the encryption keys or SSH
configuration, as you saw yourself it's fairly easy to recreate that
data.

If you really want to back that up, you can just create a new host
localhost in your BackupPC and use /var/lib/BackupPC/.ssh as the
share name to backup.

What would be more important is to backup /etc/BackupPC, but in that
case I would not advise you to back that up in BackupPC.

Maybe you should periodically copy the contents of /etc/BackupPC and
/var/lib/BackupPC/.ssh to an external USB disk?

But be very careful of where you store your backup keys! They can
potentially give root access to all your servers to whoever has access
to them.

HTH,
Filipe

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] BackupPC_dump stalls and leave zombie process

2009-07-30 Thread Filipe Brandenburger
Hi,

On Thu, Jul 30, 2009 at 13:39, Stevelepe...@gmail.com wrote:
 Wondering if anything has had time to think about this question.  I am
 still having the issue...

I don't know about stalling, but leaving zombie processes is something
normal. As far as I can tell, it happens when you dump multiple
directories or drives from the same machine. BackupPC_dump will fork
one process to dump the first directory, then one process to dump the
second one, and so on, but it will reap the children processes all
at once at the end. I don't know if this happens with rsync only
(that's how I use it and see it here) or with the other xfer methods
(tar, smb) as well...

HTH,
Filipe

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] BackupPC installed but compressed backup is failing

2009-07-27 Thread Filipe Brandenburger
Hi,

On Sun, Jul 26, 2009 at 12:07, Andrew Nurcahyaand...@datafeedfile.com wrote:
 If I set $Conf{CompressLevel} anything greater than 0 it is will cause this
 error:
 2009-07-26 11:00:40 dump failed: can't find Compress::Zlib

Do you get any errors when you run the following command?

$ perl -e 'use Compress::Zlib;'

HTH,
Filipe

--
___
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] backuppc installation error

2009-07-20 Thread Filipe Brandenburger
Hi,

On Mon, Jul 20, 2009 at 09:46, Siju Georgesgeorge...@gmail.com wrote:
 I cannot start httpd as backuppc user because it gives the following error.
 --
 (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
 no listening sockets available, shutting down
 -

Start httpd as backuppc user means editing httpd.conf and changing
the configuration to read User backuppc and Group backuppc, then
running the script that starts httpd as root.

HTH,
Filipe

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] Automatically stopping running backups during business hours

2009-07-14 Thread Filipe Brandenburger
Hi,

On Sun, Jul 12, 2009 at 11:56, Matthias Meyermatthias.me...@gmx.li wrote:
 As an alternative you can place the following script in /etc/crontab.
 #!/bin/bash
 declare -a hosts
 hosts[0]=server1        # fill in your own host names
 hosts[1]=server2        # whose backup should be canceld
 hosts[2]=server3
 declare -i hostcount=3  # configure your count of killable hosts

 ps ax | grep BackupPC_dump -i | grep -v grep  /tmp/runnings
 while read pid fl1 fl2 duration perl dump fl3 host rest
 do
        for (( a=0; ahostcount; a++ ))
        do
                if [ $host == ${hosts[a]} ]; then kill -9 $pid  /dev/null 
 21; fi
        done
 done  /tmp/runnings
 exit 0

Not only kill -9 should not be used in normal circumstances (as
already pointed out by Chris), as the script could be simplified:

hosts=server1 server2 server3 # list of servers in a string
ps ax | grep BackupPC_dump -i | grep -v grep | while read pid fl1
fl2 duration perl dump fl3 host rest; do
for i in $hosts; do
if [ x$host = x$i ]; then
kill $pid /dev/null 21
break
fi
done
done

1) Use a list of hosts and iterate with for i in $hosts instead of
using C style iteration with number of elements in an array.
2) No need to use a temporary file, use |while on the output of ps instead.
3) Use kill instead of kill -9
4) Once a host is found, use break so that it does not iterate to
the end of the list of hosts.

You can even create a script file in which you remove the first hosts=
line and replace for i in $hosts; do with for i; do, in which case
you can call it like this:

# ./killbackups.sh server1 server2 server3

HTH,
Filipe

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] suggestion: make wakeups start at 8am

2009-07-08 Thread Filipe Brandenburger
Hi,

On Wed, Jul 8, 2009 at 10:15, Carl Wilhelm
Soderstromchr...@real-time.com wrote:
 $Conf{WakeupSchedule} = ...
 The default configuration causes BackupPC to run the BackupPC_nightly job
 when there are backup jobs which may need to run during the night...
 Comments, anyone?

Yes, I would suggest decoupling the start time for the
BackupPC_nightly job from the obscure setting of being the first hour
on which WakeupSchedule is set to.

I believe it would be much more clear if there was a separate
NightlyWakeupSchedule or such setting that would specify at which time
that process would start running. BackupPC would wake up on either
WakeupSchedule or NightlyWakeupSchedule, and then would decide if it
would run backups or BackupPC_nightly (or both) based on that hour
being on the first, second, or both variables. In that case, it would
also be much easier to set a sensible default time for
BackupPC_nightly to run.

Also, as an aside, the process should probably be renamed to
BackupPC_daily, as it makes more sense to run it during the day when
backups are not running. Isn't that right?

Filipe

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] suggestion: make wakeups start at 8am

2009-07-08 Thread Filipe Brandenburger
On Wed, Jul 8, 2009 at 11:39, Les Mikeselllesmikes...@gmail.com wrote:
 Also, as an aside, the process should probably be renamed to
 BackupPC_daily, as it makes more sense to run it during the day when
 backups are not running. Isn't that right?

 I'm not sure you can make a general assumption about when backups are
 run.  Most places would catch machines that are on all the time at night
 but there may also be a lot of desktop machines that are either started
 manually through the web interface or caught outside of the blackout
 time because they aren't available at night.

Agreed, however some default has to be provided and the current one
(1am) may not be the best possible one.

As you said yourself in another thread, even though BackupPC_nightly
can be run while other backups are running, it is better to do so
while no or few backups are running so that they do not compete for
disk I/O and there is also the locking overhead of both potentially
accessing the same files (don't know exactly how that works, but just
disk I/O is enough reason to do it while other backups are not
running).

I agree with the OP that 8am would be more sensible considering it is
inside the default blackout period (when most heavy backups should be
finished and less backups should be running). Someone who uses a
different setup (backups during the day, at noon, etc.) will have to
customize these settings anyway, so they can also choose the best time
for BackupPC_nightly at that time.

The suggestion on the name change is that nightly implies it should
be run during the night, when in fact what you want is to run it once
a day, at the time that is more convenient for you.

Thanks,
Filipe

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] Hardware considerations for building dedicated backuppc server

2009-07-07 Thread Filipe Brandenburger
Hi,

On Mon, Jul 6, 2009 at 23:57, Les Mikeselllesmikes...@gmail.com wrote:
 The only thing that seems slightly strange in the graphs is the load average
 going to 12 as the backups start and staying there a couple of hours.  
 Normally
 that's the average number of 'other' processes that are waiting for CPU but
 otherwise runnable (i.e. not themselves blocked on i/o).

I used to think that, but in fact processes that are blocked in disk
i/o (the ones in D state) do count in load average. So the load
average of 12 in this case probably means processes writing to the
disk.

From another e-mail showing several (12?) processes BackupPC_dump and
BackupPC_nightly in D state, those should be the reason why this box
stays with a load average of 12 during the night.

From those observations, it seems to me that the bottleneck in this
case is disk I/O.

Stephen, it seems strange to me that there are 8 BackupPC_nightly
processes running, have you increased $Conf{MaxBackupPCNightlyJobs}
from 2 to 8?

I would suggest you start by setting $Conf{MaxBackupPCNightlyJobs}
back to 2 or even to 1. If you set it to 1 and it can't finish its job
in 24h, then increase $Conf{BackupPCNightlyPeriod} to 2 or 4 so that
only 1/2 or 1/4 of the pool is processed each night.

HTH,
Filipe

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
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 backuppc server

2009-07-07 Thread Filipe Brandenburger
Hi,

On Tue, Jul 7, 2009 at 08:50, Andy Browna...@onyx.net wrote:
 Anyone see any pitfalls/problems with what I'm doing here?

Yes, IMHO you are introducing complexity where it is not needed.

What are you trying to accomplish?

Fault-tolerance? In that case you should probably have an
active/passive deployment where the backup host is only used when the
master fails.

Load-balancing for compressing which is CPU intensive? In that case
you should probably split your storage in two 1TB LUNs, export one of
them to each host and run BackupPC over a regular ext3 (or XFS)
filesystem.

OCFS or any other cluster filesystem will only introduce overhead and
management complexity, and from your description it seems you are not
sharing files between hosts anyway.

HTH,
Filipe

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
___
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] Having Several Issues

2009-06-26 Thread Filipe Brandenburger
Hi,

On Fri, Jun 26, 2009 at 13:07, Les Mikeselllesmikes...@gmail.com wrote:
 Admiral Beotch wrote:
     What I'm wondering is, if you had mounted your drive on
     /var/lib/backuppc before the yum install (or had set it up during the
     Centos install) would any of the other steps have been necessary?

 I'm going to guess that the chcon would still have been necessary
 because the default SELinux policy probably does not expect httpd_t to
 have so much access to a file system. But we'll give it a shot.

 If it doesn't, you should report it to the packager.  RPMs are supposed
 to set that stuff up so it works.  I normally disable SELinux to avoid
 surprises anyway though, but most of my boxes are pretty well firewalled.

I thought I would give some feedback here...

I am running BackupPC 3.1.0-5 built from Fedora SRPMs (should be the
same as EPEL) in a CentOS 5.3 machine, with SELinux enabled, in
enforced mode, with targeted policy.

I have the BackupPC volume mounted in /var/lib/BackupPC (default
path), I mounted it *before* installing the RPM.

I have had *no* issues with SELinux so far, and I'm running it for a
couple of weeks now.

The RPM includes a file named
/usr/share/selinux/packages/BackupPC/BackupPC.pp, which I believe will
implement the SELinux policies need for BackupPC operation. I believe
it will do so considering the labels that are applied by default in
/var/lib/BackupPC, and if you decide to mount your repository
elsewhere (like /BackupData) it will only give you trouble...

Especially if using SELinux, I would advise you to try to keep your
backups under /var/lib/BackupPC, and also to mount the backup drive at
that path before installing the RPM.

HTH,
Filipe

--
___
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] problems with linux host - Unable to read 4 bytes

2009-06-25 Thread Filipe Brandenburger
Hi,

On Wed, Jun 24, 2009 at 09:46, Nick Smithnick.smit...@gmail.com wrote:
 From the backuppc server to the client1 it logs in without a password.

Good, a backup of this client should work just fine.

 From the backuppc server to the client2 it asks for a password.

Problem: you must add the SSH key of the backuppc user
(/var/lib/backuppc/.ssh/id_dsa.pub or id_rsa.pub in the BackupPC
server) to the authorized keys file of the root user
(/root/.ssh/authorized_keys or the deprecated authorized_keys2) on
client2.

 From the client1 to the backuppc server it asks for a password

If it worked with sudo -u backuppc then it is wrong in that client1
should not have a backuppc user. Remove it.

 From the client2 to the backuppc server i get this error:
 # sudo -u backuppc ssh -p 22252 r...@backup-server
 sudo: no passwd entry for backuppc!

Good, that is what is expected.

 Which is where i tried to add the backuppc user to the client machine
 to see if that was the problem.

Wrong. Remove it.

 If i understand correctly the client is acting as the ssh server?

Yes.

HTH,
Filipe

--
___
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] Backing up a USB-disk?

2009-06-11 Thread Filipe Brandenburger
Hi,

On Thu, Jun 11, 2009 at 01:50, Magnus Larssonmag...@vista.se wrote:
 mountpoint -q /path/to/usbdisk
 (will set $? to 0 if it's mounted, non-zero otherwise)

 How would I use this value that mountpoint returns, do you mean?

The same way you would use the '[ -f
/path/to/usbdisk/.fileyouwouldhavetocreate ]', but without creating
the file...

I'm not really an expert on BackupPC (I only used the basic features
so far), but I believe you would use that as a script for PingCmd or
maybe DumpPreUserCmd and maybe together with UserCmdCheckStatus (see
Jeffrey's previous e-mail). I guess they could give you some more help
on how to configure this than I could...

HTH,
Filipe

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
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] Backup only new file(s)

2009-06-11 Thread Filipe Brandenburger
Hi,

On Thu, Jun 11, 2009 at 14:13, Les Mikeselllesmikes...@gmail.com wrote:
 Mirco Piccin wrote:
 Anyway, each daily file is quite similar to the each other, so rsync
 (or custom script) should be the better way to to the job.

 That won't help unless each file is named the same as the previous one.

You can try to use the -y or --fuzzy option to rsync (at least
rsync 3) to implement this.

Quoting from the man page: -y, --fuzzy: This option tells rsync that
it should look for a basis file for any destination file that  is
missing. The current algorithm looks in the same directory as the
destination file for either a file that has an identical size and
modified-time, or a similarly-named file. If found, rsync uses the
fuzzy basis file to try to speed up the transfer.

HTH,
Filipe

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
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] Backing up a USB-disk?

2009-06-10 Thread Filipe Brandenburger
Hi,

On Wed, Jun 10, 2009 at 17:57, Holger Parplieswb...@parplies.de wrote:
 note that you could even set the PingCmd to a shell script that checks
 whether the disk is mounted (eg. '[ -f /path/to/usbdisk/.thisistheusbdisk ]'
 if you have a file '.thisistheusbdisk' in the root of your USB disk's file
 system - please ask if you need more details).

You can use the mountpoint command (present in RHEL 5 or SuSE 10) to
test if that path is a mount point for some volume.

mountpoint -q /path/to/usbdisk
(will set $? to 0 if it's mounted, non-zero otherwise)

No need to create .thisistheusbdisk files inside your USB then.

HTH,
Filipe

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
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] Change Archive Directory

2009-06-09 Thread Filipe Brandenburger
Hi,

On Tue, Jun 9, 2009 at 06:44, Holger Parplieswb...@parplies.de wrote:
 yes, but however you fix it, you should be aware that you won't get pooling
 for already completed backups. Until they expire, they will contain
 independent copies of files. What's worse, rsync backups will hardlink 'same'
 files to the reference backup file (which will be outside the pool as long as
 it remains unchanged).

Can you use a script such as hardlink.py to create hardlinks out of
identical files in the BackupPC repository? Would that fix that issue
without the need to start over?

http://code.google.com/p/hardlinkpy/

Cheers,
Filipe

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
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] Change Archive Directory

2009-06-08 Thread Filipe Brandenburger
Hi,

On Wed, Jun 3, 2009 at 22:25, jbkj...@mail2.gis.net wrote:
 [...] What I am
  not seeing is any pooled data. I am using the Fedora
 distribution (10) binary of Backuppc. When I originally set
 up the archive directory I pointed it to an external usb
 disk that is mounted in a location that is not in the
 original topdir path.

BackupPC-3.1.0-4.fc10 has a patch that fixes this exact issue.

From the changelog:

* Sat Apr 11 2009 Johan Cwiklinski johan AT x-tnd DOT be 3.1.0-4
  - Fix TopDir change (bug #473944)

If you upgrade, you might not need to change mountpoints or use bind
mounts, your configuration file might start working as supposed to
then.

HTH,
Filipe

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
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] upgrade to 3.0

2007-03-20 Thread Filipe
yes it is already in apt repository but I think it is still in 
testing/unstable
to install it you have to uncoment those lines on sources.list
I talked about it in another thread

Henrik Genssen wrote:
 Hi, 
  
 are there any issues upgrading from 2.1.2.pl1? 
 is 3.0 yet apt-getable? 
  
 regards 
  
 Hinnack 

 -
 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] anyone running version 3.0.0 in DEBIAN with no problems?

2007-03-09 Thread Filipe

Holger Parplies wrote:

Hi,

Filipe Silva wrote on 08.03.2007 at 12:13:04 [[BackupPC-users] anyone running 
version 3.0.0 in DEBIAN with no problems?]:
  

I have updated from 2.1.1 deb package, to 3.0.0 tar.gz



I hope you at least did that by removing the package and then reinstalling?
It's always a bad idea to take something which is under the control of your
package management system and randomly change file contents, paths etc.

  

should I install the unstable .deb package?



Yes. As far as I can figure out without actually installing apache et al. on
my not-really-so-test system it doesn't pull in any dependencies not
satisfiable within sarge. If you don't want an entry for sid in your
sources.list, download the package (eg. 'rsync
ftp.de.debian.org::debian/pool/main/b/backuppc/backuppc_3.0.0-2_all.deb /tmp'
- you could have used wget, but we all love rsync, don't we? ;-), install it
with 'dpkg -i /tmp/backuppc_3.0.0-2_all.deb' and, if that should complain
about failed dependencies, install those with 'apt-get -f install' (which
should then also configure the backuppc package and exit successfully).

Of course, if you updated your 2.1.1 deb to 3.0.0 with the tar installer,
things may be more difficult. Apparently you've moved around your
configuration, so that's probably the case. For a clean package *update*,
everything should probably look exactly like it does with the version you're
updating *from* cleanly installed before you attempt the update (that's 2.1.1
in your case).

Hint: have a look at /var/lib/dpkg/info/backuppc.list ...

Regards,
Holger

  

Excellent explanation!
after making a minor changes in config.pl and httpd.conf, dir name, 
backuppc 3.0.0 finally fully functional!

Thanks a lot for the help.
After all it wasn't permissions problems or suid stuff.
this time I didn't even have to look at this issue. it wen smoothly :)

many thanks

-
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] anyone running version 3.0.0 in DEBIAN with no problems?

2007-03-08 Thread Filipe Silva

I have already talked about this in some posts, some things were solved
other don't...

I have updated from 2.1.1 deb package, to 3.0.0 tar.gz

Why the is no index.cgi in the source cgi-bin dir? I found out that my
index.cgi is the same from the 2.1.1 package...

almost everything is working now except the buttons in webif to start
full/incr backups, and edit config files...

I think now I discovered why. it's not permissions, it is locations...
I have config.pl in /etc/BackupPC/ and per pc config in
/etc/BackupPC/pc/$host.pl
it is the normal setup right?

so why do I see this in EditConfig.pm (line 348):

sub action
{
   my $pc_dir = $TopDir/pc;
   my($content, $contentHidden, $newConf, $override, $mainConf, $hostConf);
   my $errors = {};

   my $host = $In{host};
   my $menu = $In{menu} || server;
   my $hosts_path = $Hosts;
   my $config_path = $host eq  ? $TopDir/conf/config.pl
 : $TopDir/pc/$host/config.pl;


I investigate more and I found that there is a deb package of version 3.0.0.
so I looked inside the various files and compared to mine... also I saw the
diff.gz but i don't know how to read it and it is really big. :o
there is a index.cgi in this .deb package but none in tar.gz...

what should I do now?
I moved my host config files from TopDIr to /etc/backuppc some tima ago,
then I moved to /etc/BackupPC/pc/* will I nedd to move them again?
should I install the unstable .deb package?
-
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] web interface problems in 3.0.0

2007-03-05 Thread Filipe

I don't see the difference on permissions..
I see that you don't have BackupPC_Admin in that directory,... and 
modification time of my index.cgi is a lot older than you's...



Jim McNamara wrote:
That script isn't intended to be tested through a web interface, it is 
just a script to be run to see if your perl supports suid functions. 
Just run it at the command line.


Your permissions also seem different from mine -

[EMAIL PROTECTED]:~$ ls -al /usr/share/backuppc/cgi-bin/
total 4
drwxr-xr-x 2 root root  104 2007-02-22 22:18 .
drwxr-xr-x 7 root root  168 2007-02-22 22:18 ..
lrwxrwxrwx 1 root root8 2007-02-22 22:18 image - ../image
-rwsr-xr-x 1 backuppc backuppc 3993 2007-02-14 17:14 index.cgi

Peace,
Jim

On 3/5/07, *Filipe* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:

Jim McNamara wrote:



On 2/21/07, *Filipe* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:


I've upgraded from 2.1.1 to 3.0.0 in a debian sarge, and some
problems
arise..
First it was the error about the language, and resolved it by
renaming
/etc/backuppc and reinstalling the 3.0.0 version.


I saw the same problem in the same situation. In the Debian
package, it looks for the configs in /etc/backuppc, but the 2.0.0
tarball looks to /etc/BackupPC. I symlinked them together.

Then some errors appeared when backing up hosts, and the web
interface
edit configuration does not work, 



That is a permissions issue, and it is tied into the next problem
as well. The user backuppc needs to be able to write in the
/etc/BackupPC directory, and create subdirectories. In debian,
the /etc/backuppc was installed as root:root, and to edit I
switched the ownership to backuppc:www-data. Once backuppc is the
owner of /etc/BackupPC, it will be able to write to the config
files, and create/modify the individual pc configs in the
subdirectory /etc/BackupPC/pc, which will be created the first
time you modify a host's config.


either manual incr/full backup button!
When I press them I get back to home page. 



I saw the exact same thing. The problem was that the sticky bit
on the BackupPC_Admin script in the cgi-bin had been altered.
This page on the FAQ helped me sole it -
http://backuppc.sourceforge.net/faq/debugCGI.html , specifically
the section with the script. For Debian, perl usually isn't in
/bin/perl, but rather /usr/bin/perl.

The BackupPC_Admin file needs to have these permissions on
Debian, or it generally won't work, and cause exactly the
problems you were seeing:

-r-sr-x---  1 backuppc www-data 3993 2007-02-12 15:57 BackupPC_Admin

The sticky must be set on execute as owner, backuppc or the
failures will occur. Setting those permissions is covered both in
the man page and on the FAQ I cited above.


I haven't solved yet the problem with the buttons and edit actions
in cgi interface!
read that and it seems that every thing's ok
when I do the script file test I am prompted to download the
script file, cut if I add the .cgi extension, it opens the file
but gives the 500 Internal Server Error.
this does not happen with the printenv script ( with .cgi ext)

some important information that could help u identity the problem(
if u need more files/dir say it plz):

[EMAIL PROTECTED]:/# ls -al /usr/share/backuppc/cgi-bin
total 24
drwxr-xr-x  2 root root 4096 2007-03-05 12:06 .
drwxr-xr-x  7 root root 4096 2006-07-07 18:02 ..
-rwsr-xr-x  1 backuppc www-data 3993 2007-02-14 20:00 BackupPC_Admin
lrwxrwxrwx  1 root root8 2006-09-20 20:32 image -
../image
-rwsr-xr-x  1 backuppc backuppc 3925 2006-01-08 22:25 index.cgi
-rwxr-xr-x  1 backuppc www-data  268 2007-03-05 11:59 printenv.cgi
-rwxrwxr-x  1 backuppc www-data   69 2007-02-22 01:25 script.cgi

[EMAIL PROTECTED]:/# ls -al /etc/BackupPC/
total 172
drwxrwx---   3 backuppc www-data  4096 2007-02-26 09:19 .
drwxr-xr-x  65 root root  4096 2007-02-16 14:37 ..
-rw-r-   1 backuppc www-data   412 2007-03-05 15:04 apache.conf
-rw-r-   1 backuppc www-data 77136 2007-03-05 14:38 config.pl
-rw-r-   1 backuppc www-data 64544 2007-02-14 18:25
config.pl.pre-3.0.0
-rw-r-   1 backuppc www-data  2518 2007-01-06 18:19 hosts
-rw-r-   1 root www-data 0 2006-07-07 18:03 htgroup
-rw-r-   1 root www-data23 2006-09-08 18:00 htpasswd
drwxr-xr-x   2 backuppc www-data  4096 2007-03-02 18:43 pc



File: /etc/BackupPC/apache.conf

Alias /backuppc /usr/share/backuppc/cgi-bin/

Directory /usr/share/backuppc/cgi-bin/
AllowOverride
None   $
Options ExecCGI FollowSymlinks
AddHandler cgi-script .cgi

[BackupPC-users] web interface problems in 3.0.0

2007-02-21 Thread Filipe
Hi. I posted this in other thread but I got no answer, so if someone 
could help me I'll appreciate it.

I've upgraded from 2.1.1 to 3.0.0 in a debian sarge, and some problems 
arise..
First it was the error about the language, and resolved it by renaming 
/etc/backuppc and reinstalling the 3.0.0 version.

Then some errors appeared when backing up hosts, and the web interface 
edit configuration does not work, either manual incr/full backup button!
When I press them I get back to home page.

I thought it has something to do with mod_perl, it didnt appeared with 
apache -l command.
so I installed it with apt-get install libapache-mod-perl, but it still 
didnt show mod_perl  so I gave up on that.
also I putted in  httpd.conf the config like in the docs- 
http://kent.dl.sourceforge.net/sourceforge/backuppc/BackupPC-3.0.0.html#step_9__cgi_interface
 


now what is really strange is that I have a lot of folders with special 
characters with accents and other portuguese language symbols, but I 
managed to put it working correcly in the last version, but now only the 
folders tar appear right, in the files some are missing, those are 
filenames with special characters.
here is what I'm talking about: 
http://img57.imageshack.us/my.php?image=backuppcnamesyb0.png

the host is an NT4 server...

-
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] web interface problems in 3.0.0

2007-02-21 Thread Filipe


Jim McNamara wrote:



On 2/21/07, *Filipe* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
wrote:



I've upgraded from 2.1.1 to 3.0.0 in a debian sarge, and some problems
arise..
First it was the error about the language, and resolved it by renaming
/etc/backuppc and reinstalling the 3.0.0 version.


I saw the same problem in the same situation. In the Debian package, 
it looks for the configs in /etc/backuppc, but the 2.0.0 tarball looks 
to /etc/BackupPC. I symlinked them together.


Then some errors appeared when backing up hosts, and the web interface
edit configuration does not work, 



That is a permissions issue, and it is tied into the next problem as 
well. The user backuppc needs to be able to write in the /etc/BackupPC 
directory, and create subdirectories. In debian, the /etc/backuppc was 
installed as root:root, and to edit I switched the ownership to 
backuppc:www-data. Once backuppc is the owner of /etc/BackupPC, it 
will be able to write to the config files, and create/modify the 
individual pc configs in the subdirectory /etc/BackupPC/pc, which will 
be created the first time you modify a host's config.


yeah it was sort of that... but I have also to put chmod 770 to 
everything in /etc/BackupPC
The colours in webinterface changed, and names of files in recent 
backups are shown correctly. old ones are still with the same problem.. 
http://img341.imageshack.us/my.php?image=backp3tl4.png




either manual incr/full backup button!
When I press them I get back to home page. 



I saw the exact same thing. The problem was that the sticky bit on the 
BackupPC_Admin script in the cgi-bin had been altered. This page on 
the FAQ helped me sole it - 
http://backuppc.sourceforge.net/faq/debugCGI.html , specifically the 
section with the script. For Debian, perl usually isn't in /bin/perl, 
but rather /usr/bin/perl.


The BackupPC_Admin file needs to have these permissions on Debian, or 
it generally won't work, and cause exactly the problems you were seeing:


-r-sr-x---  1 backuppc www-data 3993 2007-02-12 15:57 BackupPC_Admin

The sticky must be set on execute as owner, backuppc or the failures 
will occur. Setting those permissions is covered both in the man page 
and on the FAQ I cited above.



done that but it still remains the same...
-rwsr-x--x  1 backuppc www-data 3993 2007-02-14 20:00 BackupPC_Admin

when I go to the url http://backuppcserver/backuppc/BackupPC_Admin I got 
the download window from that file... it seems that I can read it ...


Thanks a lot for the answers.
regards.

-
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] GUI error after upgrade

2007-02-15 Thread Filipe
Hi.
I've upgraded from 2.1.1 to 3.0.0 like you, and some problems arise..
First it was the error about the language, and resolved it by renaming 
/etc/backuppc and reinstalling the 3.0.0 version
then some errors appeared when backing up hosts, and the web interface 
edit configuration does not work.
I thought it has something to do with mod_perl, it didnt appeared with 
apache -l command.
so I installed it with apt-get install libapache-mod-perl, but it still 
didnt show mod_perl  so I gave up on that.
also I putted in  httpd.conf the config like in the docs- 
http://kent.dl.sourceforge.net/sourceforge/backuppc/BackupPC-3.0.0.html#step_9__cgi_interface

now what is really strange is that I have a lot of folders with special 
characters with accents and other portuguese language symbols, but I 
managed to put it working correcly in the last version, but now only the 
folders tar appear right, in the files some are missing, those are 
filenames with special characters.
here is what I'm talking about: 
http://img57.imageshack.us/my.php?image=backuppcnamesyb0.png

the host is an NT4 server...

Jim McNamara escreveu:
 Hello list!

 My thanks again go out to Craig for a great piece of software!

 I have been running BackupPC 2.1.1 on a debian box, installed by the
 apt-get package system. Tonight I upgraded by compiling 3.0.0, and
 encountered a good number of problems, largely resulting from Debian
 modifications. The problems had for the most part been covered on this
 list previously, and I got through nearly all of them.

 The problem that remains is some misconfiguration of the webpage or
 cgi script. I have 3 hosts being backed up, one using tar with a very
 limited sudo, one with samba, and the 3rd with rsyncd. With all 3
 hosts, I can view their previous backups, but clicking on the Start
 Incr Backup or Start Full Backup will simply return me to the
 default homepage, the one generated by the BackupPC_Admin file in the
 cgi-bin.

 The currently running jobs section of the main page will have nothing
 in it, and a CLI check will confirm that the backup is not being
 performed. When I follow the steps in the FAQ, I can su to the
 backuppc user, and issue the command __INSTALLDIR__/bin/BackupPC_dump
 -v -f hostName, and the backup will be done. The main page still
 doesn't show anything in process under currently running jobs, but
 once the CLI backup is complete, the backup files will exist, and the
 webpage GUI shows them.

 It seems the config and executable files as well as permissions are
 all correct, otherwise the CLI backup would fail. I am logging both
 errors and access to an apache log in addition to backuppc's own
 logging, but I don't see anything. The data directory, where the
 individual host XferLog and LOG files are don't get updated at all
 when I use the webpage to start the backup, but the CLI backup updates
 all logs in this directory as expected.

 If any additional info or configs would make this easier to diagnose,
 please let me know.

 Thanks,
 Jim

 -
 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] how to update from 2.1.1

2007-01-29 Thread Filipe
I've followed a guide and I used apt-get install... when installing 
backuppc 2.1.1

and now what should I do?!
there's version 3 also out  :o

Nils Breunese (Lemonbit) wrote:

Filipe wrote:

I am running 2.1.1 with no major problems with 12 hosts for about 6 
months.

It is on a debian sarge system, what is the best procedure to update to
last 2.1.3 version?


Did you install using apt or using the archive directly from the 
BackupPC website? I you used apt (installed a .deb file) then you 
might want to ask the maintainer to create an updated package. I 
believe the layout in the Debian package is a bit different than the 
'original'. I don't know if you'll want to use the following procedure 
on a system that has BackupPC installed through a package manager.


Anyway, I'm just using the archive from the website and I upgraded 
from 2.1.2pl2 to 2.1.3 yesterday. Upgrading is not really different 
from installing.


1. Stop the backuppc service
2. Download the latest version
3. Unpack the archive
4. Run perl configure.pl in the unpacked directory
5. Start the backuppc service

Worked just fine for me. See the docs on the site if you need more 
detailed information on installing BackupPC.


Nils Breunese.


-
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] How to move the Backuppc pool

2007-01-05 Thread Filipe
Matthias Bertschy escreveu:
 Hello list,

 For the last 4 weeks, I have been doing everything I could to try to 
 move our current backuppc pool (Pool is 79.18GB comprising 1132632 files 
 and 4369 directories) from a RAID0 to a RAID5 having different 
 filesystem sizes.

 The operating system is OpenBSD, so the filesystem is FFS, and I have 
 tried so far:

 * tar
 * gtar (GNU version of tar)
 * pax
 * dump -- restore

 And none of them was able to successfully copy the pool.
 I suspect this has to do with the huge number of hardlinks within the 
 pool, and requiring too much memory to catalog them all.
 dd is not an option as the filesystems cannot be the same size.

 Has anyone a clue on how to solve my  problem?
 Thanks, and happy new year :-)

 Matthias

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

   
cp -a worked for me in a 20GB pool...

-
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] Untar issue on windows

2007-01-01 Thread Filipe

It seems that if I use WinRAR the files are shown correctly.

with 7-zip it is not.

And winrar opens the .tar.gz at once, 7zip has to extract the gz, then 
the tar.



do I have to use winrar, or is there a fix for 7zip?


Craig Barratt escreveu:

Filipe writes:

  

I started using the archive function now.
The hosts that I archived have a lot of folders/files with special 
characters like á ã ç ô ó and if I extract the tar.gz or tar.bz2 on 
windows it becomes all messed up...

An example is a folder called Cópia becomes C¾pia
I was about to give up on this function, and then i remember to tar xvzf 
the archive in linux. then, from the samba share when i extracted it, i 
can see the names correctly..


Is there any explanation for this ? can I fix it so I could extract it 
correctly on windows?

I use 7-zip on windows.
And I have a lot of trouble to put char codes working correctly on the 
backuppc machine.



Are you using 3.0.0beta?  In 3.x, $Conf{ClientCharset} specifies the
client's charset encoding.  BackupPC_tarCreate converts all the file
names back to that encoding, plus it supports a -e charset option
that allows you to override the charset encoding.

Craig

  


-
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] Untar issue on windows

2006-12-28 Thread Filipe

Noone knows how to archive in the windows charset in version 2?

Craig Barratt escreveu:

Filipe writes:

  

I started using the archive function now.
The hosts that I archived have a lot of folders/files with special 
characters like á ã ç ô ó and if I extract the tar.gz or tar.bz2 on 
windows it becomes all messed up...

An example is a folder called Cópia becomes C¾pia
I was about to give up on this function, and then i remember to tar xvzf 
the archive in linux. then, from the samba share when i extracted it, i 
can see the names correctly..


Is there any explanation for this ? can I fix it so I could extract it 
correctly on windows?

I use 7-zip on windows.
And I have a lot of trouble to put char codes working correctly on the 
backuppc machine.



Are you using 3.0.0beta?  In 3.x, $Conf{ClientCharset} specifies the
client's charset encoding.  BackupPC_tarCreate converts all the file
names back to that encoding, plus it supports a -e charset option
that allows you to override the charset encoding.

Craig

  


-
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] some questions...

2006-12-22 Thread Filipe

Carl Wilhelm Soderstrom escreveu:

On 12/20 01:14 , Filipe wrote:
  

Carl Wilhelm Soderstrom escreveu:


On 12/19 07:17 , Filipe wrote:
  
  
Using Backuppc (debian) successfully  in my company for about 5 months, 
backing up 6 winXX shares using samba.

The machine is a simple Pentium 4 with a 40GB HD that is getting full.
Already ordered a 250GB ata100 hd. but I'm not sure what to do...
should I use the 250Gb for the data only, or just replace the hd's using 
ghost?!



move the contents of /var/lib/backuppc (or whereever your data pool is) to
the new drive, and then mount the new drive on /var/lib/backuppc. It's a
very good idea to have your data on a separate drive from the OS. At the
very least, use a separate partition on disk. 


also, I would suggest using LVM on the data partition/disk. this will allow
you to add space much more easily in the future; or move your data to
another disk.

  
  

thanks...
but if I have 2 drives like that, what should I do if one fails?



if the data drive fails, then you have the OS drive to use to recover your
data (if possible); or at least to quickly set up the new data drive.

if the OS drive fails, you put in a new drive, boot with knoppix, install
backuppc to knoppix's ramdrive, and restore your OS drive from backup.

it *is* best to have a redundant drive array in any situation. for buisness
use, a 3ware RAID controller will more than pay for itself the first time
you have a drive problem.


  

Nice clarification. I think I will do this way.
And I think there's no reason for a 3ware controler. if i have to opt 
for RAID I would use the raid on the board via sata raid.

we use it on our mailserver but it wasn't  installed by me.
thanks. I have one more issue that iI will post on a new thread..
-
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] Untar issue on windows

2006-12-22 Thread Filipe

Craig Barratt escreveu:

Filipe writes:

  

I started using the archive function now.
The hosts that I archived have a lot of folders/files with special 
characters like á ã ç ô ó and if I extract the tar.gz or tar.bz2 on 
windows it becomes all messed up...

An example is a folder called Cópia becomes C¾pia
I was about to give up on this function, and then i remember to tar xvzf 
the archive in linux. then, from the samba share when i extracted it, i 
can see the names correctly..


Is there any explanation for this ? can I fix it so I could extract it 
correctly on windows?

I use 7-zip on windows.
And I have a lot of trouble to put char codes working correctly on the 
backuppc machine.



Are you using 3.0.0beta?  In 3.x, $Conf{ClientCharset} specifies the
client's charset encoding.  BackupPC_tarCreate converts all the file
names back to that encoding, plus it supports a -e charset option
that allows you to override the charset encoding.

Craig

  

No. I'm using version 2.

-
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] some questions...

2006-12-20 Thread Filipe

Carl Wilhelm Soderstrom escreveu:

On 12/19 07:17 , Filipe wrote:
  
Using Backuppc (debian) successfully  in my company for about 5 months, 
backing up 6 winXX shares using samba.

The machine is a simple Pentium 4 with a 40GB HD that is getting full.
Already ordered a 250GB ata100 hd. but I'm not sure what to do...
should I use the 250Gb for the data only, or just replace the hd's using 
ghost?!



move the contents of /var/lib/backuppc (or whereever your data pool is) to
the new drive, and then mount the new drive on /var/lib/backuppc. It's a
very good idea to have your data on a separate drive from the OS. At the
very least, use a separate partition on disk. 


also, I would suggest using LVM on the data partition/disk. this will allow
you to add space much more easily in the future; or move your data to
another disk.

  

the error when archiving was this

Error: /usr/bin/par2 is not an executable program
Archive failed: Error: /usr/bin/par2 is not an executable program

resolved with apt-get install par2.

now I can make archives it was more easy than I thought...
The problem is that I use windows on desktop and the options to archive are 
only gzip or bzip2. what is the better one for me?
and what is that parity option? I tested once and it created some .par2 files...

for now, I will only need to archive to dvd... don't know if I could use the 
DAT 24 that is on a unix machine for this... it would be nice...




-
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] some questions...

2006-12-19 Thread Filipe
Hi.

Using Backuppc (debian) successfully  in my company for about 5 months, 
backing up 6 winXX shares using samba.
The machine is a simple Pentium 4 with a 40GB HD that is getting full.
Already ordered a 250GB ata100 hd. but I'm not sure what to do...
should I use the 250Gb for the data only, or just replace the hd's using 
ghost?!


Other thing that I didnt know how to do is to make a backup to record to 
DVD.
Most of the hosts are backed up 2 times a day, and it has 
xfermethod=smb, I can't put in here archive, right? how can I archive a 
backup to dvd?!
cause I will need to make permanent backups to archive to DVD in the end 
of the year...

btw, is it possible to backup thought ftp?, or mount an ftp ?!, it is a 
local machine, IBM AIX that does not have NFS installed and I don't want 
to mess in there...

and the email summary... I am trying to configure exim4 to sendmail by a 
smarthost but it is getting tricky... sometimes sends email other don't..
but these emails I send are with manual command mail  or sendmail ...
I didn't get how I can configure backuppc to email-me if a backup fails...

I hope you understand my bad english :)
Thanks a LOT!

-
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] computer name with space...

2006-10-04 Thread Filipe




daniel berteaud escreveu:

  Le Tue, 03 Oct 2006 15:11:04 +0100,
Filipe [EMAIL PROTECTED] a écrit :

  
  
Hi
I have backuppc running fine with some winxx hosts.
Now I was going to add more hosts to the hosts file, but there is a 
problem... the computer name has a space.
it is win98 running.
the name is like: "Pes Aux"

I tried to put in the hosts file with "" or '' but it didnt work...

any idea for this ?!

thanks


  
  
You must escape the space with a '\'. In your hosts file, this host will look like:

Pes\ Aux

Or, you can also rename this host.

  

that worked. thanks a lot!
change the name could bring some problems cause it is being used by
some other programs and they are production machines that could cause
some problems... 
regards


-
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] missing incrementals

2006-09-12 Thread Filipe




Les Mikesell escreveu:

  On Tue, 2006-09-12 at 13:58 -0400, [EMAIL PROTECTED] wrote:
  
  
I think I'm having a similar situation (see my last email).  What does it
say about BackupPC or the hosts that fulls are working but not incrementals?

Thanks,

ck



Original Message:
-
From: Filipe [EMAIL PROTECTED]
Date: Tue, 12 Sep 2006 18:22:26 +0100
To: backuppc-users@lists.sourceforge.net
Subject: [BackupPC-users] missing incrementals


Hi.
I made recently a debian server with backuppc being a noob in linux, but 
with patience i did it.

So in one host I have this situation. my boss want full backupc to last 
no less than 2 months and preferably would I have the possibility to 
burn to dvd an old backup, to put in the archive/vault...
anyway, i put $Conf{FullKeepCnt} = 6; and {FullPeriod} = 6.97;

Backup#   Type   Filled   Start Date   Duration/mins 
  Age/days   Server Backup Path
76 full yes 8/21 12:00 85.0 22.0
 /var/lib/backuppc/pc/fb_nt/76
95   full yes 8/30 18:18 58.4 12.7 
/var/lib/backuppc/pc/fb_nt/95
110 full yes 9/6 19:00 61.2 5.7
 /var/lib/backuppc/pc/fb_nt/110
114 incr no 9/9 02:01 4.3 3.4
 /var/lib/backuppc/pc/fb_nt/114
115 incr no 9/9 13:00 4.7 2.9
 /var/lib/backuppc/pc/fb_nt/115
116 incr no 9/10 02:00 4.2 2.4
 /var/lib/backuppc/pc/fb_nt/116
117 incr no 9/10 13:00 4.7 1.9
 /var/lib/backuppc/pc/fb_nt/117
118 incr no 9/11 13:00 5.2 0.9
 /var/lib/backuppc/pc/fb_nt/118
119 incr no 9/12 02:00 5.1 0.4
 /var/lib/backuppc/pc/fb_nt/119


But now my boss looks at this and ask's me where did the incr from day 7 
and 8 go?

  
  
What is your $Conf{IncrKeepCnt}?
  

6, i think I will put 14 cause I do 2 incr per day... but do I have to
put 14 to fill the incr per full's, or what?!


  
  
  
I didn't know either but i searched for documents modified in that date 
and they appear in the web interface but I don't know what happened... 
that might be something like hardlinks or so..
Do you have a way to explain this?

  
  
Incrementals are made based on change from the last full so you only
need intermediate ones to find files that were newer than your full but
subsequently changed or deleted.

  

I think I didn't explain correctly...
there is the 111 incr that was deleted right? the files of that incr
were deleted also? 
the question is this, if a file is modified after the 110 full, is kept
in 111 incr, but 111 incr is no more, so where that file go?!


-
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=lnkkid=120709bid=263057dat=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] phpsysinfo

2006-09-08 Thread Filipe




[EMAIL PROTECTED] escreveu:

  Filipe wrote:
  
  
I appreciate your answer but I forgot to tell you that I'm kind of
newbie to linux :s

And I'm afraid to wreck something cause the machine is now working well
with the backups...

Do you know any good tutorial for this?

thanks

nilesh vaghela escreveu:


  you can do this with virtual host.

Without disturbing the other setting.

Add virtual interface and virtual host at httpd.conf


On 9/7/06, *Filipe* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:

Hi
I have a debian sarge machine running only backuppc.
and for monitoring machine status this addon seems ok
http://phpsysinfo.sourceforge.net/
but it requires to put files in webroot, and if i know this right, i
still don't have php installed and don't know if it will bring
problems
to the backuppc web interface, i don't wanna that.
can i install this? if yes how?!

thanks. here is the readme:
-
Copyright (c), 1999-2002, Uriah Welcome ([EMAIL PROTECTED]
mailto:[EMAIL PROTECTED])
Copyright (c), 1999-2001, Matthew Snelham ([EMAIL PROTECTED]
mailto:[EMAIL PROTECTED])


CURRENT TESTED PLATFORMS

-   Linux 2.2+
-   FreeBSD 4.x
-   OpenBSD 2.8+
-   NetBSD
-   Darwin/OSX
-   Win2000 / Win2003 /WinXP
-   PHP 4.x and 5.x

If your platform is not here try checking out the mailing list
archives or
the message boards on SourceForge.

INSTALLATION AND CONFIGURATION
--
Just decompress and untar the source (which you should
have done
by now,
if you're reading this...), into your webserver's document
root.

There is a configuration file called config.php.new . If
this a
brand new
installation, you should copy this file to config.php and
edit it.

-   make sure your 'php.ini' file's include_path entry
contains "."
-   make sure your 'php.ini' has safe_mode set to 'off'.

Please keep in the mind that because phpSysInfo requires
access
to many
files in /proc and other system binary you **MUST
DISABLE** php's
safe_mode.  Please see the PHP documentation for
information on
how you
can do this.

If you use the apc pecl extension with
apc.optimization="1" then
phpSysInfo will break in the XPath.class. Turn this option
off,
and it
will work with apc.

That's it.  Restart your webserver (if you changed
php.ini), and
viola

KNOWN PROBLEMS
--
-   phpSysInfo is not full compatible with SELinux Systems
-   small bug under FreeBSD with memory reporting

PLATFORM SPECIFIC ISSUES

-   FreeBSD
There is currently a bug in FreeBSD that if you boot
your system up
and drop to single user mode and then again
back to
multiuser the
system removes /var/run/dmesg.boot.  This will cause
phpsysinfo to
fail. A bug has already been reported to the
FreeBSD
team. (PS, this
may exist in other *BSDs also)
!!! We need feedback if these issue is still alive !!!
-   Windows with IIS
On Windows systems we get our informations through the
WMI interface.
If you run phpsysinfo on the IIS webserver, phpsysinfo
will not connect
to the WMI interface for security reasons. At this
point
you MUST set
an authentication mechanism for the directory in
the IIS
admin
interface for the directory where phpsysinfo is
installed. Then you
will be asked for an user and a password when opening
the page. At this
point it is necassary to log in with an user that will
be able to
connect to the WMI interface. If you use the wrong
user
and/or password
you might get an "ACCESS DENIED ERROR".

SENSOR RELATET INFORMATIONS
---
-   MBM5
Make sure you set MBM5 Interval Logging to csv and to
the data
directory of PHPSysInfo. The file must be called MBM5.
Also make sure
MBM5 doesn't add symbols to the values. Did is a Quick
MBM5 log parser,
need more csv logs to make it better.

WHAT TO DO IF IT DOESN'T WORK
-
First make sure you've read this f

[BackupPC-users] phpsysinfo

2006-09-07 Thread Filipe
Hi
I have a debian sarge machine running only backuppc.
and for monitoring machine status this addon seems ok 
http://phpsysinfo.sourceforge.net/
but it requires to put files in webroot, and if i know this right, i 
still don't have php installed and don't know if it will bring problems 
to the backuppc web interface, i don't wanna that.
can i install this? if yes how?!

thanks. here is the readme:
-
Copyright (c), 1999-2002, Uriah Welcome ([EMAIL PROTECTED])
Copyright (c), 1999-2001, Matthew Snelham ([EMAIL PROTECTED])


CURRENT TESTED PLATFORMS

-   Linux 2.2+
-   FreeBSD 4.x
-   OpenBSD 2.8+
-   NetBSD
-   Darwin/OSX
-   Win2000 / Win2003 /WinXP
-   PHP 4.x and 5.x

If your platform is not here try checking out the mailing list 
archives or
the message boards on SourceForge.

INSTALLATION AND CONFIGURATION
--
Just decompress and untar the source (which you should have done 
by now,
if you're reading this...), into your webserver's document root.

There is a configuration file called config.php.new. If this a 
brand new
installation, you should copy this file to config.php and edit it.

-   make sure your 'php.ini' file's include_path entry 
contains .
-   make sure your 'php.ini' has safe_mode set to 'off'.

Please keep in the mind that because phpSysInfo requires access 
to many
files in /proc and other system binary you **MUST DISABLE** php's
safe_mode.  Please see the PHP documentation for information on 
how you
can do this.

If you use the apc pecl extension with apc.optimization=1 then
phpSysInfo will break in the XPath.class. Turn this option off, 
and it
will work with apc.

That's it.  Restart your webserver (if you changed php.ini), and 
viola

KNOWN PROBLEMS
--
-   phpSysInfo is not full compatible with SELinux Systems
-   small bug under FreeBSD with memory reporting

PLATFORM SPECIFIC ISSUES

-   FreeBSD
There is currently a bug in FreeBSD that if you boot 
your system up
and drop to single user mode and then again back to 
multiuser the
system removes /var/run/dmesg.boot.  This will cause 
phpsysinfo to
fail. A bug has already been reported to the FreeBSD 
team. (PS, this
may exist in other *BSDs also)
!!! We need feedback if these issue is still alive !!!
-   Windows with IIS
On Windows systems we get our informations through the 
WMI interface.
If you run phpsysinfo on the IIS webserver, phpsysinfo 
will not connect
to the WMI interface for security reasons. At this point 
you MUST set
an authentication mechanism for the directory in the IIS 
admin
interface for the directory where phpsysinfo is 
installed. Then you
will be asked for an user and a password when opening 
the page. At this
point it is necassary to log in with an user that will 
be able to
connect to the WMI interface. If you use the wrong user 
and/or password
you might get an ACCESS DENIED ERROR.

SENSOR RELATET INFORMATIONS
---
-   MBM5
Make sure you set MBM5 Interval Logging to csv and to 
the data
directory of PHPSysInfo. The file must be called MBM5. 
Also make sure
MBM5 doesn't add symbols to the values. Did is a Quick 
MBM5 log parser,
need more csv logs to make it better.

WHAT TO DO IF IT DOESN'T WORK
-
First make sure you've read this file completely, especially the
INSTALLATION AND CONFIGURATION section.  If it still doesn't 
work then
you can:

Submit a bug on SourceForge. (preferred)
(http://sourceforge.net/projects/phpsysinfo/)
Ask for help in the forum
(http://sourceforge.net/projects/phpsysinfo/)

OTHER NOTES
---
If you have an great ideas or wanna help out, just drop by the 
project
page at SourceForge (http://sourceforge.net/projects/phpsysinfo/)

LICENSING
-
This program and all associated files are released under the GNU 
Public
License, see COPYING for details.

$Id: README,v 1.31 2006/06/11 19:37:46 bigmichi1 Exp $
---




-
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

Re: [BackupPC-users] CIFS/SMB for Data Store (NAS)

2006-07-29 Thread Filipe
Paul Fox escreveu:
 [EMAIL PROTECTED] wrote:
   The NAS I'm looking at getting uses Windows XP Embeded... or something, 
   and it only supports SMB/CIFS I'm not sure what is required for 
   Hardlinks? I am guessing that the FS for the NAS will be NTFS

 if i were a betting man, i'd bet a lot of money that this won't work.
 i don't think any microsoft filesystem supports hard links.

 paul
 =-
  paul fox, [EMAIL PROTECTED] (arlington, ma, where it's 66.2 degrees)

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

   

I'm new on this, never head of hard links, but I used wikipedia and:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/fsutil_hardlink.mspx?mfr=true
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/createhardlink.asp

so...?!


-
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] how to configure backup NT4 machine shares?

2006-07-17 Thread Filipe




thanks that help me a litle. i was able to make a test full backup!.
but
i was using the default config.pl, and I don't wanna that so I spent
some time to find the _TOPDIR_/ they talked about in docs..
then i found and created a config.pl there in
/var/lib/backuppc/pc/filipe/config.pl

ok.
but now a more serious problem!!
I'm
from portugal and we have characters with accents , etc... and
i tested a file with one character like that and backuppc didnt copy
that file!!

I created a directory and it copied it but the original name is gesto and it copied gesto

will I be able to copy these files with the correct names or no?
otherwise backuppc couldn't help me on daily backups :( 

other thing is about the backout config...
The target pc's
are always ON and i will want to backup when there is noone working to
not cause any problems of "overloaded network" so it could run everyday
at 2.00 am, so can i just delete that lines about the blackout?

thanks a lot!
Filipe S

Ambrose Li escreveu:
On 15/07/06, Filipe [EMAIL PROTECTED] wrote:
  
  so can u give-me your config files to help me
configure in my network?

so u configured samba basic, and then, in the nt4 servers, u make auth?
how?

thanks

  
  
what is did is just
  
  
$Conf{XferMethod} = 'smb';
  
$Conf{SmbShareName} = ['YOUR SERVERS SHARE NAME'];
  
$Conf{SmbShareUserName} = 'USER WITH RIGHTS TO READ ALL FILES';
  
$Conf{SmbSharePasswd} = 'THE PASSWORD';
  
  
The user must have rights to read all the files you want to back up.
  
You will need to make sure this is the case (by using a combination of
  
the GUI and the cacls.exe command line tool), since by default the
  
home directories are not readable even by administrator, and in my
  
experience the backup operators group is useless.
  
  
In my config my user name is just the user name. I don't know when you
  
need to include the domain and when you don't need to, but in my case
  
I don't need it.
  
  
This, plus setting $Conf{BackupFilesOnly}, is basically my config for
  
all my NT4/W2K/XP machines.
  
  




-
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] how to configure backup NT4 machine shares?

2006-07-14 Thread Filipe
Hi.
The goal of my use of backuppc is to provide a backup solution for, 
mainly, nt4 shares in the domain.
I'm now making experiences with debian sarge, when i have installed 
samba and winbind. i can see the domain users by doing wbinfo -u, but i 
still can't login in the debian with that user... anyway i think that's 
not important...

where i get  stuck is in doc's, i can't understand how to make a config 
file in good conditions...
i will want to use the smb mode for transfer, but then how do I set 
shares to backup, user and pass...

i will greatly appreciate if anyone would help me cause i know linux has 
potential but I'm not good at the reading doc's :/
the tutorials i've found only talk about rsync... i want to use smb.

ps: sorry about my English.

Filipe Silva


-
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=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] help with config in nt4 domain

2006-07-12 Thread Filipe Silva
Hi.
The goal of my use of backuppc is to provide a backup solution for, mainly, nt4 shares in the domain.
I'm now making experiences with debian sarge, when i have installed
samba and winbind. i can see the domain users by doing wbinfo -u, but i
still can't login in the debian with that user... anyway i think that's
not important...

where i get stuck is in doc's, i can't understand how to make a config file in good conditions...
i will want to use the smb mode for transfer, but then how do I set shares to backup, user and pass...

i will greatly appreciate if anyone would help me cause i know linux has potential but I'm not good at the reading doc's :/

ps: sorry about my English.

Filipe Silva

-
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=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/