[BackupPC-users] Rsyncd - probability that it trashed my drive?

2008-11-20 Thread eric
I just installed Rsyncd on my XP Pro machine and performed a full backup.
Fourty-eight hours later my drive seems hosed. I have run a drive check
and it won't complete, it sticks at 82%. The drive check as finding a
nunmber of bad clusters and repairing files.

To be fair I also allowed the Windows SP3 install in the same 48 hour
window between no problems and problems. I also allowed a Java upgrade. I
know, I know, what was I thinking!

Anyway...what are the chances that rsyncd was responsible for the drive
going down by somehow scrambling the data or some other unintended
problem? Has anybody running rsyncd on XP Pro machines had any other
problems to report?

Thanks,
Eric


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] Odd Ping Failure

2011-11-03 Thread Eric Chowanski
I'm seeing backups to a remote host fail from the GUI backup due to
error: "no ping response".  What is odd is that the same or equivalent
ping command _appears_ to work from the server command line.

Setup:
BackupPC v. 3.2.1, on an up to date Scientific Linux 6.1, installed via
yum from EPEL repo.  All Linux machines; backed up via ssh, sudo to run
rsync.  All machines running SELinux in "permissive" mode.  Backuppc
user on server does not have a shell.

Remote site, accessed via dynamic dns, has only two machines both of
which need backups.  SSH port forwarded to remote machine A.  A second
ssh key installed on machine A for backuppc user to ssh to machine B
(without password) so as to "bypass" the need for agent forwarding (as I
could not start backuppc as the backuppc user thus preventing passing on
ssh-agent credentials, AFAIK).

What Works:
Backups of local and remote Machine A.

Remote command execution on machine A by backuppc user - so executing
"ssh -t -t  'ssh '" logs backuppc user into
machine B from backup server command line.

Remote ping to remote machine B works from server command line - "ssh
 '/bin/ping -c 1 -w 3 '" returns a seemingly valid
ping from machine B.


What Does Not Work:
Ping to remote machine B works from GUI as part of a manual backup does
not work.  The backup fails with the error: "no ping response".

What I Tried:
I researched via Google of course; the BackupPC manual.  I also tried
via the GUI a number of different combinations for the ping command that
were equivalent to the command line command that works.


If anyone can point me in the right direction please let me know what
that might be.  And yes, I know that a VPN is probably the way to go but
unfortunately, that is not the highest priority ATM.  Please let me know
what / if other details are relevant.  Thank you for your time.

Eric Chowanski


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
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] Odd Ping Failure

2011-11-03 Thread Eric Chowanski
If you mean the time out I've changed it to 1, which AFAIK means ten
seconds.  And as you'll see below, I see results on the command line in
about 1 second, so an order of magnitude larger should get the job done
if that's the issue.  But perhaps that's not what you meant.

I've tried the following:

What Works:
from server command line:
ssh  "ping -c 1 -w 3 "
This works with both full paths the command only.  It also works with
the "-w" set to 3 or 10.  I'm seeing pings returned from B to A in a a
few tens of ms and from remote A back to my terminal in about a second
(over Internet).

What Does Not Work:
from GUI:
ssh  "ping -c 1 -w 10 "
$sshPath  "ping -c 1 -w 10 "
$sshPath $host "ping -c 1 -w 10 "

I've also run the above with PingMaxMsec with 500, 1000, 2500, and 1
and not found any change in the error.

So if you or anyone has any idea what to change to make it always
succeed, I'd sure love to know what that is.


One extra note is that this host config uses a ClientNameAlias as it
needs to first ssh to 'remote A'.  This seems most logical to me as I
can then leave the $hosts variable and simply override selected
commands.  However, I don't believe this should be the issue since I'm
still seeing failures when the ping command uses full paths rather than
variables.

Additionally, I don't see any more indepth debugging info even with
XferLogLevel set to 5.  Thoughts?

Eric


On Thu, 2011-11-03 at 16:59 -0500, Les Mikesell wrote:
> On Thu, Nov 3, 2011 at 4:00 PM, Eric Chowanski  wrote:
> >
> > What Does Not Work:
> > Ping to remote machine B works from GUI as part of a manual backup does
> > not work.  The backup fails with the error: "no ping response".
> >
> > What I Tried:
> > I researched via Google of course; the BackupPC manual.  I also tried
> > via the GUI a number of different combinations for the ping command that
> > were equivalent to the command line command that works.
> >
> >
> > If anyone can point me in the right direction please let me know what
> > that might be.  And yes, I know that a VPN is probably the way to go but
> > unfortunately, that is not the highest priority ATM.  Please let me know
> > what / if other details are relevant.  Thank you for your time.
> 
> The quick fix would be to change the ping command for that target to
> something that always succeeds.  The down side is that you will then
> have a longer timeout if the ssh connection attempt actually fails.
> 



--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
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] Odd Ping Failure

2011-11-03 Thread Eric Chowanski
Thank you for responding.  This did not work for me.

I restarted both Apache and backuppc and pings still fail.

On Thu, 2011-11-03 at 16:51 -0500, Michael Stowe wrote:
> > I'm seeing backups to a remote host fail from the GUI backup due to
> > error: "no ping response".  What is odd is that the same or equivalent
> > ping command _appears_ to work from the server command line.
> 
> Funnily enough, I saw this behavior recently in my own installation.
> 
> Not that I'm able to explain it, but simply restarting the BackupPC
> service cleared it right up.
> 
> --
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> ___
> 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/
> 



--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
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] Odd Ping Failure

2011-11-04 Thread Eric Chowanski
Yup, got it; thank you; problem solved.

However, my solution was to set $conf{PingCmd} in the host config to
"/bin/echo" because $conf{PingPath} looks to me to be a global only and
I would like to keep pings for local machines.  But this does solve the
ping problem so far.  Thank you for the solution.

Any thoughts if this is considered normal or should his indicate some
area of the system that's buggy?  I ask only because as I found, the
commands succeed on the command line but fail from the GUI and the using
"/bin/echo" strikes me more as 'work around' than actual explanation for
the behavior.  I am happy to do more testing if that's the case if more
knowledgeable folk can suggest any helpful directions.

Thanks again,
Eric


On Thu, 2011-11-03 at 20:33 -0500, Les Mikesell wrote:
> On Thu, Nov 3, 2011 at 7:54 PM, Eric Chowanski  wrote:
> > If you mean the time out I've changed it to 1, which AFAIK means ten
> > seconds.  And as you'll see below, I see results on the command line in
> > about 1 second, so an order of magnitude larger should get the job done
> > if that's the issue.  But perhaps that's not what you meant.
> 
> No, see $conf{PingPath} in the docs.  If you use something that always
> succeeds like /bin/echo, it won't matter if a ping works or not.
> 



--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
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] reducing i/o

2011-11-05 Thread Eric Chowanski
Hi,

Being a BackupPC 'newb', I can only say I haven't found much information
on i/o tuning.  Naively, it would seem that the bulk of BackupPC i/o is
spent comparing hashes.  *If* that's true, I think it would be
interesting to see if splitting hashes from the actual data and putting
them on much faster storage such as SSDs would benefit overall
throughput.  I'd suspect that's only possible at the code level.

But I also notice that you didn't provide much architectural info and
that's an area that can have large impact.  Here's some thoughts
presented more as 'food for though' than as recommendations.

I'd think there's two options.  The first option is to use network
storage, but then you quickly hit bandwidth limitations so you need
fatter (and possibly lower latency) pipes like 10Gb Ethernet or Myrinet.

The newer crop of network storage such as GlusterFS (being purchased by
Red Hat) is nice for several reasons.  It scales nearly linearly in i/o,
available storage, and redundancy into the petabyte range.  It makes the
server the redundant and allows you to remove the redundancy at the disk
level; and the more parts you can "throw out the window" and recover
from, the better.

The other option is to put more disks in each server.  Making big
assumptions, if you've got 16TB of data and 50% utilization on 1TB
disks, that's only 4 disks per server.  That doesn't buy you much in
raid 10 and is probably quite slow in raid 5.

Putting all your disks in one server with 12 or 16 bays plus an eSata
chassis would significantly increase throughput.  

A note about raid levels.  Raid 5 is really really not the thing to use
as it has very poor performance for some realistic workloads and I'd
expect BackupPC to be one of those workloads.   If you can, use raid 10,
which is both very fast and _ought_ to be more robust.  That is, in the
event of a disk failure and rebuild, raid 10 only requires a read from
one disk, lessening the chance that the rebuild crashes other disks as
occasionally happens in raid 5.

Lastly, a note about disk choice.  I too use cheap SATA drives.
Optimizing for cost, i/o, and throughput, it's pretty easy to choose a
1TB drive and only use e.g. 20% of the space versus a much more
expensive SAS drive.  The beauty of this is you still have a lot of
unused disk should you need it or should you migrate disks to other
uses.

If development on BackupPC should go that direction (or should it be
possible today), splitting off the higher i/o part of the workload onto
SSDs would make those larger but slower SATA disks much more attractive
relative to a faster but smaller SAS disks.

Eric


On Sat, 2011-11-05 at 08:40 +0100, pv wrote:
> Hi
> 
> is there a way to reduce i/o load on the backup-servers significantly?
> 
> we are using backuppc over years in many different combinations of 
> hardware and filesystems and always i/o-wait is the killer.
> 
> we are now running 8 backuppc-server running ~16TB of backup-data 
> (quickly changing) and the handling is getting tricky (which host is the 
> client backuped on? is there a backup of every host? when do I have the 
> time to finaly really start programming backuppc-hq?)
> 
> so. we are willing to do anything to reduce the nr of backup-servers 
> (best would be only one).
> 
> eg we could give up deduplication, compression, increase RAM and 
> CPU-Power, change filesystem and os (debian and xfs now), change 
> raid-level (Non, raid-0, raid-1 and raid-10 now) and so on.
> 
> what we cant do for financial reasons is drop the cheap SATA drives.
> changing to SAS 15k eg would be much more expensive (even if 
> calculating rackspace, power, machines, manpower and so on of the 
> current backuppool of 8 backup-servers)
> 
> any tips?
> 
> ys
> Peter
> 
> 
> --
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> ___
> 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/
> 



--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
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] Odd Ping Failure

2011-11-06 Thread Eric Chowanski
Thanks for the time.  You are so correct with OpenVPN.

Eric


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] Prevent Windows Sleep

2024-01-22 Thread Eric Baugh
Is there any way to prevent a Laptop from sleeping while BackupPC is
performing a backup? I don't want to change the Power settings if possible,
unless it can be done using a Pre/Post script, so it can be changed back
once the backup is complete.

Thanks
Eric
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


[BackupPC-users] problems with user and CGI interface

2008-06-11 Thread Eric Doutreleau
well i have a problem with cgi interface and users.

indeed i have put an CAS acces to my backuppc serveur

user that have admin right listed in $Conf{CgiAdminUsers} can see all 
machines.

But i have problems with user

for example i have a line in my host file

cobra3test 0 test test

Then my user should see the backup of cobra3test
in the acces.log of apache i have a line
157.159.21.100 - test [11/Jun/2008:12:19:43 +0200] "GET 
/BackupPC/?ticket=ST-21134-IqHirfJnqHClRvEmBOze HTTP/1.1" 200 2104 "-" 
"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5) Gecko/2008043010 
Fedora/3.0-0.60.beta5.fc9 Firefox/3.0b5"

then the user is authenticated.
but the user test doesn't see the machine cobra3test

How can i debug the problem?


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] XP Client setup problem

2008-11-16 Thread Eric Snyder
I have set up XP clients before with great trouble. It was over a year 
ago. I added a new computer and copied a current clients config, changed 
the the client specific settings and I get errors. I changed the share 
to C$ and get the No files dumped for share C$ error message. I believe 
that it is a problem on the new client side since the other XP clients 
are backing up just fine.

I have set up a user on the new client and added them to the "Backup 
Operators" group. I still have the same error. Any help would be 
appreciated.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] Rsyncd on XP

2008-11-18 Thread Eric Snyder
I was having problems with SMB on XP pro so have shifted gears and am 
trying Rsyncd. I ran a full backup of the cDrive setup. The problem is 
that I am using a backup user I created that is part of the user group 
"Backup Operators". I do get files backed up but... The only files I get 
in the Documents and Settings folder is the backup user's files 
(basically empty). There are other users there and I need to get those 
files backed up as well. There seems to be a permission problem and I 
can't get the other users files backed up.

How do I get all the users files backed up using Rsynced?

Config file:
[cDrive]
path = c:
comment = Entire Drive
auth users = removed,removed
secrets file = c:/rsyncd/rsyncd.secrets
# hosts allow = 172.16.0.17
strict modes = false
read only = true
list = false

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] Rsyncd - probability that it trashed my drive?

2008-11-20 Thread Eric Snyder
Makes sense. New drive is in now getting formatted. I will of course, 
see what I can salvage off the old drive. This computer was a used 
computer off ebay and shipped about 6 months ago, it may have had some 
head slap in shipping. That is why I think lots of drive activity 
causing the existing problem to show up makes sense.


One more thing...THANK GOD for BackupPC! Awesome software! I appreciate 
deeply that I have a set of critical files ready to be restored on the 
new drive. Thanks Craig (and whoever else) for doing this project.


Thanks,
Eric

Carl Wilhelm Soderstrom wrote:

On 11/20 05:18 , [EMAIL PROTECTED] wrote:
  

Anyway...what are the chances that rsyncd was responsible for the drive
going down by somehow scrambling the data or some other unintended
problem? Has anybody running rsyncd on XP Pro machines had any other
problems to report?



BackupPC puts substantial additional load on disks, because it forces them
to seek every file, and on a heavily fragmented filesystem this can add up
to a lot of head movement which would normally not take place. 


So a drive which might have been marginal before, might fail when you do the
backup of it. 


I've had this happen to me once or twice (once with disastrous consequences
when I found that the new external drive enclosure I was using for the backuppc
data pool was no good, so I lost the backup that caused the client disk to
fail, and then discovered that the LVM RAID I had been using to give me a
redundant client disk had stopped replicating a year before and not given me
any signs I recognized... fortunately it was only my own data, and not
someone else's that I lost).

So be aware that this can happen.

  




No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.175 / Virus Database: 270.9.8/1801 - Release Date: 11/20/2008 9:11 AM


  
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] SMB Vs Rsyncd restores and filling data

2008-11-23 Thread Eric Snyder
I have looked for info on this but need a confirmation on some questions 
I have. I was using SMB for backing up a few XP machines and switched to 
Rsyncd on one of them. In looking at the backups there are some 
differences.

First SMB. When I look at a SMB backup (full or incremental) I see what 
looks like a full backup. As I understand it BackupPC has actually done 
an incremental backup and then filled the rest of the files in from 
previous incremental backup and the most recent full backup. Is this 
correct? When I do a restore then all I have to do is select the files I 
want in my last incremental backup and restore them.

Rsyncd. I am looking at the incremental backup in the admin and all I 
see are the incremental files. It looks like BackupPC is not filling in 
the latest incremental backup with the previous incrementals and the 
most recent full backup. IS this correct? To do a restore of a folder 
using Rsyncd I would need to start with my most recent full backup and 
then do restores working backwards until I find the most recent version? 
If I needed to restore a folder and had a full backup and 5 incremental 
then I would need to perform 6 restores? Is this correct or do I have a 
configuration setting wrong not allowing Rsyncd incrementals to be 
backfilled.

The upside to Rsyncd is it eats up less bandwidth than smb? You can also 
do remote restores on a user's machine (which is nice). Are there other 
upsides?

By the way...The machine that I changed to Rsyncd crashed. I was able to 
restore everything but an address book that was corrupt from the drive 
crash. Thanks so much to Craig and all the rest for doing this fine, 
fine little piece of software.

Eric

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] fileListReceive failed - XP client with Rsyncd

2008-11-25 Thread Eric Snyder
I have been receiving fileListReceive failed errors. I have been 
successfully been backing up part of this drive with SMB and am trying 
to change to the whole drive with Rsyncd. Have done two other XP 
machines with Rsyncd with no problems. This drive as 75Gb on it. I have 
searched on this problem and have only found posts about SSH problems.


Log file of failures:

2008-11-23 16:08:38 full backup started for directory cDrive (baseline 
backup #518)
2008-11-23 16:08:43 Got fatal error during xfer (chdir failed)
2008-11-23 16:08:48 Backup aborted (chdir failed)
2008-11-23 16:12:10 full backup started for directory cDrive (baseline 
backup #518)
2008-11-23 16:12:15 Got fatal error during xfer (chdir failed)
2008-11-23 16:12:20 Backup aborted (chdir failed)
2008-11-23 16:16:28 full backup started for directory cDrive (baseline 
backup #518)
2008-11-23 16:16:33 Got fatal error during xfer (chdir failed)
2008-11-23 16:16:38 Backup aborted (chdir failed)
2008-11-23 16:24:27 full backup started for directory cDrive (baseline 
backup #518)
2008-11-24 12:37:18 Aborting backup up after signal ALRM
2008-11-24 12:37:18 Got fatal error during xfer (fileListReceive failed)
2008-11-24 17:32:11 full backup started for directory cDrive (baseline 
backup #518)
2008-11-25 14:43:52 Aborting backup up after signal ALRM
2008-11-25 14:43:52 Got fatal error during xfer (fileListReceive failed)

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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] Encrypting BackupPC TopDir

2010-02-18 Thread Eric Persson
Les Mikesell wrote:
> tribat wrote:
>> Well the thing is I already have a RAID-5 array set up without LVM. It's 
>> just one huge ext3 filesystem, and thats the way I like it. I don't really 
>> like the idea of splitting the available disk space cause I like having one 
>> massive filesystem that can offer me all the unused space on the device when 
>> needed. If the device is split into multiple partitions then also the unused 
>> space is gonna be splitted.
>>
>> So that's why I would really like the EncFS to work. I've done all my 
>> testing with the default EncFS settings so that would mean "External 
>> Chaining" has been disabled.
> 
> If you aren't running any other web sites it might work to run httpd as the 
> backuppc user - and change ownership on any other files it needs.
> 

If tribat is running multiple sites, a simple solution would be to use 
apache-mpm-itk( http://mpm-itk.sesse.net/ ) and set the backuppc user on 
the virtualhost running the backuppc webgui. I'm not 100% sure it works 
with the cgi, but it works with mod_php so fairly good chances, and 
better than something like suexec.

/eric - new to the list, but mostly reading others posts ;)

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] high load and stuck processes

2010-03-06 Thread Eric Persson
dan wrote:
> If you are using EXT3 or XFS then I suggest you use an external journal.
> get yourself a small SSD or a small 15RPM disk.  You could use a regular 
> disk if you like but the faster the better. 

This would work with a fast usbstick as well? With quite good results I 
expect, and not much problems if it wears out, and perhaps cheaper than 
a ssd. Or could I put in 4 usbsticks and create a raidset from it, and 
store the journal on there? ;) Perhaps stupid, but worth a shot. Depends 
on what you're using the backupserver for i guess. SSD is probably more 
reliable for a bigger shop.

/eric

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] optimal backuppc filesystem & backuppc_trashclean

2010-04-14 Thread Eric Persson
Hi,

I've been trying out backuppc for a few months now, on my small home 
network. Backing up 2 windows boxes, a linux desktop, and 3 remote 
servers. All using rsync. It works quite well. The backuppool is 120gb 
at the moment, so not extremely big from what I can tell from the 
mailinglist.

However, 2 questions have been brought up.

The backuppc_trashclean is running a lot, and causes _a lot_ of disk-io, 
the disks sounds like they are beeing grinded to dust. I read some older 
posts, and I did an strace on the backuppc_trashclean. I get a bunch of 
unlink-messages and something called getdents. Its mostly unlink though, 
and they all seem to refer to maildir-file(each mail is a file) from a 
mailserver, so lots of smaller files.

unlink("f1206112790.M463161P32730V0801I00148118_0.mail01,S=90828:2,S")
 
= 0
unlink("f1218413551.M603690P6667V0801I001480C8_0.mail01,S=46816:2,S")
 
= 0
unlink("f1206813486.M269304P6702V0801I0014809A_0.mail01,S=93095:2,S")
 
= 0

Is this normal? How long should I expect it to run? Its a raid0 with 
quite normal sata-disks, nothing fancy.

And also, I'm using ext3, is there any benefit to changeing to xfs or 
whats the optimal filesystem?

Thanks in advance,
   Eric

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] client specifid config.pl relocation

2006-05-05 Thread Eric Lepage
Title: client specifid config.pl relocation





Hello,


Sorry for reposting this message if the members received it twice, I had subscribed to the list with an email address which is aliased by our email server. Hence my post were considered as coming from a non-member.

We've been using BackupPC for a while but never try to modify it until recently. We have a setup where the backups are done on a removable disk now. Since the config file is located under backuppc pc fodler along with the backups and logs, when the disk is removed, so is each user configuration settings. Is it possible to relocate each pc config.pl elsewhere (i.e. in this case, on the fixed disk) than having this file reside next to the logs and actual backup file.

I've worked a little with Perl but I'm looking for an easier solution than creating a 2nd "TopDir" environment variable to handle the config file separately.

Regards,


Eric






[BackupPC-users] client specific config.pl relocation

2006-05-05 Thread Eric Lepage
Title: client specific config.pl relocation





Hello,


We've been using BackupPC for a while but never try to modify it until recently. We have a setup where the backups are done on a removable disk now. Since the config file is located under backuppc pc fodler along with the backups and logs, when the disk is removed, so is each user configuration settings. Is it possible to relocate each pc config.pl elsewhere (i.e. in this case, on the fixed disk) than having this file reside next to the logs and actual backup file.

I've worked a little with Perl but I'm looking for an easier solution than creating a 2nd "TopDir" environment variable to handle the config file separately.

Regards,


Eric






RE: [BackupPC-users] client specifid config.pl relocation

2006-05-10 Thread Eric Lepage
Title: RE: [BackupPC-users] client specifid config.pl relocation





Thanks Dan, misunderstood your first post. This is a very good pointer!


Eric


-Original Message-
From: Dan Pritts [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 05, 2006 3:56 PM
To: Eric Lepage
Subject: Re: [BackupPC-users] client specifid config.pl relocation



I meant just make a symlink from the topdir area for each config.pl
file you wanted to put elsewhere.


On Fri, May 05, 2006 at 02:41:05PM -0400, Eric Lepage wrote:
> Hello Dan,
> 
> Yes, but this would move everything, backups and logs. We just want to move
> the config.pl on the fixed disk because the disks will be swapped after each
> backup and if something is changed on what must actually be copied for one
> user, it would reside on the disk which was installed at the moment of the
> modification.
> 
> Regards,
> 
> Eric
> 
> 
> -Original Message-
> From: Dan Pritts [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 05, 2006 11:19 AM
> To: Eric Lepage
> Cc: backuppc-users@lists.sourceforge.net
> Subject: Re: [BackupPC-users] client specifid config.pl relocation
> 
> 
> I expect you should be able to make a symbolic link from the TopDir area
> to whatever location you want.
> 
> On Fri, May 05, 2006 at 09:08:56AM -0400, Eric Lepage wrote:
> > Hello,
> > 
> > Sorry for reposting this message if the members received it twice, I had
> > subscribed to the list with an email address which is aliased by our email
> > server. Hence my post were considered as coming from a non-member.
> > 
> > We've been using BackupPC for a while but never try to modify it until
> > recently. We have a setup where the backups are done on a removable disk
> > now. Since the config file is located under backuppc pc fodler along with
> > the backups and logs, when the disk is removed, so is each user
> > configuration settings. Is it possible to relocate each pc config.pl
> > elsewhere (i.e. in this case, on the fixed disk) than having this file
> > reside next to the logs and actual backup file.
> > 
> > I've worked a little with Perl but I'm looking for an easier solution than
> > creating a 2nd "TopDir" environment variable to handle the config file
> > separately.
> > 
> > Regards,
> > 
> > Eric
> > 
> 
> 
> danno
> --
> dan pritts - systems administrator - internet2
> 734/352-4953 office    734/834-7224 mobile
> 
> -- 
> Ce message a été vérifié par MailScanner
> pour des virus ou des polluriels et rien de
> suspect n'a été trouvé.
> MailScanner remercie transtec pour son soutien.



danno
--
dan pritts - systems administrator - internet2
734/352-4953 office    734/834-7224 mobile


-- 
Ce message a été vérifié par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.
MailScanner remercie transtec pour son soutien.







RE: [BackupPC-users] Editing the web interface

2006-05-17 Thread Eric Lepage



Hello 
Lee,
 
There 
are two lib.pm. One is located in the usr/share/backuppc/lib/BackupPC/CGI 
directory, along with attrib.pm, fileZIO, PoolWrite and View. This is not the 
one to edit.
 
You 
will find the navbar code in the lib.pm program under the 
usr/share/backuppc/lib/BackupPC/CGI directory. You should find the code itself 
in the Header function; which deals with the HTML layout.
 
Not 
being familiar with Unix/Linux, I'm not too sure whether the paths I gave you 
are consistent from one version to the other. But at least it should point in 
the right direction. Just remember that the lib.pm to edit is under the CGI 
folder.
 
Eric
 -Original Message-From: Lee 
A. Connell [mailto:[EMAIL PROTECTED]Sent: Wednesday, May 17, 2006 
1:46 PMTo: backuppc-users@lists.sourceforge.netSubject: 
[BackupPC-users] Editing the web interface

  
  Which files contains the left 
  navbar, I want to add some more links to the 
  navigation.
   
  Lee 
  Connell
  Network 
  Engineer
   
  
  15 Main St. Suite 
  10
  Littleton, NH 03561
  603-444-3937
   -- Ce 
  message a été vérifié par MailScanner pour des virus 
  ou des polluriels et rien de suspect n'a été trouvé. MailScanner 
  remercie transtec pour son soutien. 
  --No virus found in this outgoing message.Checked by 
  AVG Free Edition.Version: 7.1.392 / Virus Database: 268.5.6/339 - Release 
  Date: 5/14/2006
  



[BackupPC-users] Moving installation and Samba and/or rsyncd problems

2006-08-09 Thread Eric Snyder
Hello all:

First of all, if I can get backuppc working it looks to rock!

I have a couple of questions:
I am running Ubuntu V6.06 LTS, Backuppc V2.1.2.

1) My installation is in the wrong place. It is on my bootable 20GB hard 
drive, not my 160GB second drive. How do I move my installation and 
still keep my backups and such?

2) I am backing the server that BackupPC is loaded on, a couple of PC's 
and will soon be adding a Mac to the network. The Samba configuration 
seems to work great with the localhost but always failed on the PC. I 
was getting a "tree connect failed: NT_STATUS_BAD_NETWORK_NAME". After 
trying to work it out I switched to rsyncd and have started getting 
backups. Now the backup gets partway through and the fails with a "Got 
fatal error during xfer (Child exited prematurely)". I don't care so 
much if I use Samba or rsyncd, can comeone help with the configuration 
of one or the other?

Thanks in advance...
Eric

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


Re: [BackupPC-users] can I back up a mounted directory ?

2006-08-15 Thread Eric Snyder
Robert:

I too had problems performing backups of XP machines using Samba. The 
way I finally fixed it was to use the connect string in a terminal to 
connect to the the share with samba rather than through Nautilus (file 
browser in Ubuntu distro). I assume you are using an file browser of 
some kind to test your connection with samba. Have a look at this page 
http://backuppc.sourceforge.net/faq/debugXfer.html , it helped me. It 
turns out that I did not include the correct username and password in my 
configuration file.

Secondly, when a backup would start it would eventually bomb because 
Windows allows file names that are illegal in linux. I am not sure but 
my  theory is that after a whole bunch of errors backuppc just bombs 
out. This post here lists exclusions that really helped me out. 
http://sourceforge.net/mailarchive/forum.php?thread_id=30038283&forum_id=503 
<http://sourceforge.net/mailarchive/forum.php?thread_id=30038283&forum_id=503> 
On that same subject it seems I saw a posting in this mailing list where 
someone said that they rename everything that ends up being illegal. I 
have not returned to study this closer yet.

Also I have a main configuration file and a per machine config file for 
each machine. On the per machine config I went through and removed all 
the configuration directives that did not apply to the XP machine and 
removed any that were defaults for all machines. I am now getting my 
backups every night since last weekend.

Hope this helps...
Eric Snyder

Robert G. Ristroph wrote:
> Hi,
> I am setting my first instance of BackupPC.  I have a CentOS
> 4.3 server and I would like to backup a Windows XP computer.
>
> I tried to make the BackupPC use the smb transport.  I made
> the windows machine have a share called "backup" and I made
> sure I could see it with smbclient.  When I click on the start
> full backup button, it doesn't work -- here is what is in the LOG:
>
> 2006-08-15 19:39:56 full backup started for share backup
> 2006-08-15 19:39:58 Got fatal error during xfer (tree connect failed: 
> NT_STATUS_ACCESS_DENIED)
> 2006-08-15 19:40:03 Backup aborted (tree connect failed: 
> NT_STATUS_ACCESS_DENIED)
>
> and here is what is says in the Last bad Xfer LOG:
>
> Contents of file /home/backuppc/data/pc/192.168.1.34/XferLOG.bad.z, modified 
> 2006-08-15 19:40:03
>
> Running: /usr/bin/smbclient 192.168.1.34\\backup -U  -E -N -d 1 -c 
> tarmode\ full -Tc -
> Xfer PIDs are now 10759,10758
> Domain=[MSHOME] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
> tree connect failed: NT_STATUS_ACCESS_DENIED
> Domain=[MSHOME] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
> tree connect failed: NT_STATUS_ACCESS_DENIED
> tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 
> filesTotal, 0 sizeTotal
> Got fatal error during xfer (tree connect failed: NT_STATUS_ACCESS_DENIED)
> Backup aborted (tree connect failed: NT_STATUS_ACCESS_DENIED)
>
>
>Now, if I take that smbclient command and paste it to the
>command line, either as root or as the backuppc user, it works
>-- at least I presume it works, because endless junk characters
>go by on the screen until I hit control-C.
>
>Since I couldn't figure out that, I then thought of using
>another method.  I could mount the directories with smbmount,
>and then tar from the mount point.  That is probably what I
>will do if you guys don't have any other suggestions.
>
>Thanks,
>
> --Rob
>
>   

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


[BackupPC-users] This PC has never been backed up!!

2006-08-17 Thread Eric Snyder
When I use the CGI interface after a boot everything works fine, I can 
see my backups. If I check back in a day or two and see how things are 
going I get "This PC has never been backed up!!". If I restart the box 
with backuppc I can get access just fine. Acts the same regardless of if 
I use CGI interface from localhost or from a network computer.

Any ideas?

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


Re: [BackupPC-users] rsyncd on Windows XP Home

2006-09-30 Thread Eric Snyder




I had problems making rsyncd work on XP pro. I ended up giving up and
using Samba rather than rsyncd. After I got past the authentication
problem with rsyncd the backup would eventually not finish for some
reason that I could never track down. Samba did not work well until I
added a list of files to exclude which looks like this:
$Conf{BackupFilesExclude} = [
  '*/Cookies/*',
  '/BACKUP/*',
  '/backuppc/*',
  '/Documents and Settings/*/Application Data/Adobe/*',
  '/Documents and Settings/*/Application Data/Identities/*',
  '/Documents and Settings/*/Application Data/Macromedia/*',
  '/Documents and Settings/*/Application Data/Microsoft/*',
  '/Documents and Settings/*/Application Data/Real/*',
  '/Documents and Settings/*/Application Data/Talkback/*',
  '/Documents and Settings/*/Local Settings/History/*',
  '/Documents and Settings/*/Local Settings/Temp/*',
  '/Documents and Settings/*/Local Settings/Temporary  Internet Files/*',
  '/Documents and Settings/*/NetHood/*',
  '/Documents and Settings/*/NetHood/*',
  '/Documents and Settings/*/PrintHood/*',
  '/Documents and Settings/*/PrintHood/*',
  '/Documents and Settings/*/Recent/*',
  '/Documents and Settings/*/Recent/*',
  '/Documents and Settings/*/Templates/*',
  '/Documents and Settings/*/UserData/*',
  '/Documents and Settings/admin/*',
  '/Documents and Settings/Administrator/*',
  '/Documents and Settings/Administrator/*',
  '/Documents and Settings/All Users/*',
  '/Documents and Settings/All Users/*',
  '/Documents and Settings/Default User/*',
  '/Documents and Settings/Default User/*',
  '/Documents and Settings/DELL/*',
  '/Documents and Settings/LDAP/.',
  '/Documents and Settings/LocalService/*',
  '/Documents and Settings/LocalService/*',
  '/Documents and Settings/NetworkService/*',
  '/Documents and Settings/NetworkService/*',
  '/I386/*',
  '/Multimedia Files/*',
  '/My Downloads/*',
  '/My Music/*',
  '/ocs-ng/*',
  '/Program Files/*/*',
  '/QUARANTINE/*',
  '/QUARANTINE/*',
  '/RECYCLER/*',
  '/System Volume Information/*',
  '/Temp/*',
  '/temp/*',
  '/tmp/*',
  '/TMP/*',
  '/WINDOWS/*',
  '/WINNT/*',
  '/WUTemp/*',
  '*/openv/var/vnetd/*',
  '*.sys',
  '*/.bash_history',
  '*/*.dll',
  '*/*.DLL',
  '*/*.sys',
  '*/*.TMP',
  '*/*.tmp',
  '*/~*',
  '*/$*$',
  '*/4gl/Database/*.bin',
  '*/4gl/Database/*.bin',
  '*/4gl/Database/CardCnf.dat',
  '*/Cache/*',
  '*/DataStore/*.edb',
  '*/dllcache/*',
  '*/FOXUSER.DBF',
  '*/FOXUSER.FPT',
  '*/History.IE*/*',
  '*/ntuser.dat*',
  '*/NTUSER.DAT*',
  '*/parent.lock',
  '*/Recent/*.lnk',
  '*/ServicePackFiles/*',
  '*/System Volume Information/*',
  '*/Temporary Internet Files/*',
  '*/Thumbs.db',
  '*/UsrClass.dat.LOG',
  '*/UsrClass.dat',
  '*/*.exe',
  '*/*.EXE',
  '*/*.*_'
];
After I added the file exclusion list it has been working faithfully
every day. Every time I look at a nd browse backups I get a really warm
fuzzy that I have this info getting backed up.

One other thing I changed is the number of full backups to keep. I set
this up to look like this:
$Conf{FullKeepCnt} = [4, 4, 4, 2, 1, 1];

Make sure to read this part and see if you like how it is handling how many backups to keep. I *think* that it defaults to keeping one backup.

Hope this helps,
Eric

Aaron Throckmorton wrote:

  I have a BackupPC installation running on Ubuntu Server 6.06 LTS.  The
server is working fine, but I can't get a Windows XP Home computer to
successfully backup.  I installed the rsyncd service (downloaded from
the backuppc project page on sourceforge).  When I attempt a backup I
get the following error message:

"auth failed on module docs"

I switched it to the cDrive module, but I get the same error.  

I have double and triple checked the host config file on the backuppc
server to ensure the user name and password (RsyncdUsername and
RsyncdPasswd

[BackupPC-users] offsite storage

2006-10-04 Thread Eric Stockbridge
can backuppc be used with rsync to backup from an offsite location?
-
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.php&p=sourceforge&CID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Error: Unable to read config.pl or language strings!!

2006-11-08 Thread Eric Snyder
I upgraded to the 3.0 Beta version and get the above error when 
accessing the web interface. Any ideas?

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


Re: [BackupPC-users] Error: Unable to read config.pl or language strings!!

2006-11-08 Thread Eric Snyder




Thanks. I renamed and moved my config files. Now I cannot authenticate.
I'll work on that tomorrow.

David Relson wrote:

  On Wed, 08 Nov 2006 22:09:44 -0600
Eric Snyder wrote:

  
  
I upgraded to the 3.0 Beta version and get the above error when 
accessing the web interface. Any ideas?

  
  
Yes.  I encountered the same problem!

3.0.0 isn't finding your config files. If I recall, 2.1.2
uses /etc/backuppc while 3.0.0 uses /etc/BackupPC. Have you tried
renaming the directory?  Also, if you have config files for individual
hosts, 3.0.0 expects them in /etc/BackupPC/pc.

HTH,

David

  



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


[BackupPC-users] Upgrade Problem

2006-11-09 Thread Eric Snyder
I upgraded to 3.0 and now am having problems with Apache.

I am getting a Apache login and when I access my page but I cannot login 
no matter what. I have deleted my htpasswd file and commented out my 
authorization directives in the apache.conf file. Still didn't help. I 
think that my files are in the wrong place. Can someone please document 
for me where each file goes in a default

I think I need to start from scratch with this so that I point 
everything to the right place. I accepted all the defaults on the 
installation except the data files. I pointed the data file location to 
where I have earlier data files.

The link in etc/apache2/conf.d is broken. Where does it need to point to?
What else will I need to make sure is where?

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


[BackupPC-users] Authorization Required

2006-11-22 Thread Eric Snyder
I just installed BackupPC 3.0 on a new installation on Debian. I had a 
previous installation and have a SCSI drive with backup data from the 
old install so I am hoping to get reconfigured to use those backups. The 
problem currently is that I am getting an "Authorization Required" 
prompt and the install did not give me a username/password combination 
like that older version did.

Where is the htpasswd file located so I can change the password to 
something I can use?

- OR -

Ho do I completely get rid of the need for authentication. I am running 
in a situation that has low security risks.

-
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.php&p=sourceforge&CID=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] Authorization Required

2006-11-23 Thread Eric Snyder
OK. I have done this. For now I have commented out the 
security/authorization section. When I request http://debian/backuppc/ I 
get a file not found. When I request 
http://debian/backuppc/BackupPC_Admin I get the BackupPC_Admin file as a 
text file. I am guessing that I need perl on my Apache2. is this correct?


Ralf Gross wrote:

Eric Snyder said:
  

I just installed BackupPC 3.0 on a new installation on Debian. I had a
previous installation and have a SCSI drive with backup data from the
old install so I am hoping to get reconfigured to use those backups. The
problem currently is that I am getting an "Authorization Required"
prompt and the install did not give me a username/password combination
like that older version did.

Where is the htpasswd file located so I can change the password to
something I can use?



I just finished a fresh install on ubuntu 6.06 and put the following at
the end of my /etc/apache2/sites-enabled/000-default file (virtial host
section).

Alias /backuppc/ "/usr/local/BackupPC/cgi-bin/"

AllowOverride None

Options ExecCGI FollowSymlinks
AddHandler cgi-script .cgi
DirectoryIndex index.cgi

AuthGroupFile /etc/BackupPC/htgroup
AuthUserFile /etc/BackupPC/htpasswd
AuthType basic
AuthName "BackupPC admin"
require valid-user


I also created a symlink index.cgi -> BackupPC_Admin in the cgi directory
and put the user www-data into group backuppc.

Ralf



  
-
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.php&p=sourceforge&CID=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] Authorization Required

2006-11-24 Thread Eric Snyder
No, my BackupPC_Admin is already in my cgi-bin directory. Do both the 
symlink and the BackupPC_Admin need to be in the cgi-bin directory?


Thanks for the links on perl, I will read up and learn how to configure 
Apache2 with perl support. I am a windows guy and am only now learning 
linux. It's fun and I see why linux is much more secure than windows. It 
is however, very different to get things done in, windows being all plug 
and play and linux being very configuration file driven and compiling 
things rather than installing with exe files.


Thanks for your patience!
Eric

Ralf Gross wrote:

Eric Snyder said:
  

OK. I have done this. For now I have commented out the
security/authorization section. When I request http://debian/backuppc/ I
get a file not found.



Did you create the symlink index.cgi -> BackupPC_Admin?

  

When I request http://debian/backuppc/BackupPC_Admin I get the
BackupPC_Admin file as a text file. I am guessing that I need perl on my
Apache2. is this correct?



http://backuppc.sourceforge.net/faq/BackupPC.html#requirements
http://backuppc.sourceforge.net/faq/BackupPC.html#step_8__cgi_interface

I'm not using mod_perl but perl-suid.

Ralf


-
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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] 3.0 installation with three wrinkles

2006-11-26 Thread Eric Snyder
I finally have the cgi interface connecting to the backuppc server with 
the n! Kudos on the web config editing interface.

My problems:
1) I had a disk called helmsdeep with a folder backups on it that 
contains backups from version 2.?. I have the backups location set at 
/media/helmsdeep/backups when I ran perl config.pl. I added gandolf to 
the hosts file but when I use the cgi interface I cannot see the old 
backups. How to fix?

2) When I run the editor for the cgi interface and try to save any 
change I get two error messages at the top:
"Error: No save due to errors"
"Error: ParPath must be a valid executable path"

3) Really minor. My images do not show up in the cgi interface. Here is 
the bottom of my default file inside my sites-available folder where 
backuppc access is defined:

Alias /backuppc/ "/usr/local/BackupPC/cgi-bin/"

AllowOverride None

Options ExecCGI FollowSymLinks
AddHandler cgi-script .cgi
DirectoryIndex index.cgi


The image files did actually get installed in 
/use/local/BackupPC/cgi-bin/images and I can browse then using the file 
manager. When I try to access them using 
http://debian/backuppc/images/0010001.gif the browser does actually 
display the image.

Thanks,
Eric
*
Learning linux - liking it more and more.

-
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.php&p=sourceforge&CID=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] 3.0 installation with three wrinkles

2006-11-26 Thread Eric Snyder
I fixed issue #2. Par2 was not installed. I installed and #2 is not an 
issue. There was a bug that happened regarding how the config file ends 
up being built when I saved. Any multi line strings that use the 
concatenate operator ends up being an error because a semicolon is added 
to the end of the first string in error.

Now I just have #1 and #3 to address.

Eric Snyder wrote:
> I finally have the cgi interface connecting to the backuppc server with 
> the n! Kudos on the web config editing interface.
>
> My problems:
> 1) I had a disk called helmsdeep with a folder backups on it that 
> contains backups from version 2.?. I have the backups location set at 
> /media/helmsdeep/backups when I ran perl config.pl. I added gandolf to 
> the hosts file but when I use the cgi interface I cannot see the old 
> backups. How to fix?
>
> 2) When I run the editor for the cgi interface and try to save any 
> change I get two error messages at the top:
> "Error: No save due to errors"
> "Error: ParPath must be a valid executable path"
>
> 3) Really minor. My images do not show up in the cgi interface. Here is 
> the bottom of my default file inside my sites-available folder where 
> backuppc access is defined:
>
> Alias /backuppc/ "/usr/local/BackupPC/cgi-bin/"
> 
> AllowOverride None
>
> Options ExecCGI FollowSymLinks
> AddHandler cgi-script .cgi
> DirectoryIndex index.cgi
> 
>
> The image files did actually get installed in 
> /use/local/BackupPC/cgi-bin/images and I can browse then using the file 
> manager. When I try to access them using 
> http://debian/backuppc/images/0010001.gif the browser does actually 
> display the image.
>
> Thanks,
> Eric
> *
> Learning linux - liking it more and more.
>
> -
> 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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=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] 3.0 installation with three wrinkles

2006-11-26 Thread Eric Snyder
Turns out that I just had the wrong spec in for the images url. It 
needed to be /backuppc/images not /images.


Thanks for the help.

David Relson wrote:

On Sun, 26 Nov 2006 10:13:28 -0600
Eric Snyder wrote:

...[snip]...

  

3) Really minor. My images do not show up in the cgi interface. Here
is the bottom of my default file inside my sites-available folder
where backuppc access is defined:

Alias /backuppc/ "/usr/local/BackupPC/cgi-bin/"

AllowOverride None

Options ExecCGI FollowSymLinks
AddHandler cgi-script .cgi
DirectoryIndex index.cgi


The image files did actually get installed in 
/use/local/BackupPC/cgi-bin/images and I can browse then using the
file manager. When I try to access them using 
http://debian/backuppc/images/0010001.gif the browser does actually 
display the image.



I encountered the same problem with my gentoo system.  As I'm a
gentoo rookie and treading in the very unfamiliar waters of DIY
ebuilds, odds are the problem is one of my own creation.  In any case
I got images (and style sheets) to work by executing:

   ln -s ../image /usr/share/webapps/backuppc/3.0.0_beta2/htdocs/backuppc/ 


HTH,

David


  
-
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.php&p=sourceforge&CID=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] 3.0 installation with three wrinkles

2006-11-26 Thread Eric Snyder



Eric Snyder wrote:
1) I had a disk called helmsdeep with a folder backups on it that 
contains backups from version 2.?. I have the backups location set at 
/media/helmsdeep/backups when I ran perl config.pl. I added gandolf to 
the hosts file but when I use the cgi interface I cannot see the old 
backups. How to fix?
  
Part of the problem was that file owners and groups were wrong. I 
changed the owner and group to be backuppc:backuppc and I can now see 
some of my backup files. I have about eight backups that I cannot see at 
all even though I can see them with the file manager.  Craig, about 
eight weeks ago you helped someone with a script that could rebuild 
backups. The link here 
<http://article.gmane.org/gmane.comp.sysutils.backup.backuppc.general/8071/match=rebuild+backups+3+0>. 
I tried that and got this error:


debian:~# /usr/local/BackupPC/bin/BackupPC_fixupBackupSummary -l legolas
Can't locate Time/ParseDate.pm in @INC (@INC contains: 
/usr/local/BackupPC/lib /etc/perl /usr/local/lib/perl/5.8.4 
/usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 
/usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at 
/usr/local/BackupPC/bin/BackupPC_fixupBackupSummary line 44.
BEGIN failed--compilation aborted at 
/usr/local/BackupPC/bin/BackupPC_fixupBackupSummary line 44.


What needs to be done so that I have the best chance of getting as many 
backups visible and usable as possible?


Thanks,
Eric

-
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.php&p=sourceforge&CID=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] 3.0 installation with three wrinkles

2006-11-26 Thread Eric Snyder

Thanks Craig.

In what directory do I install Time::ParseDate?

Yes, there is not corresponding entries for each folder so I will run 
after I install Time:ParseDate.


Thanks again, I appreciate your hard work on BackupPC.

Eric

Craig Barratt wrote:

Eric writes:

  
Part of the problem was that file owners and groups were wrong. I 
changed the owner and group to be backuppc:backuppc and I can now see 
some of my backup files. I have about eight backups that I cannot see at 
all even though I can see them with the file manager.  Craig, about 
eight weeks ago you helped someone with a script that could rebuild 
backups. The link here 
<http://article.gmane.org/gmane.comp.sysutils.backup.backuppc.general/8071/match=rebuild+backups+3
+0>. 
I tried that and got this error:


debian:~# /usr/local/BackupPC/bin/BackupPC_fixupBackupSummary -l legolas
Can't locate Time/ParseDate.pm in @INC (@INC contains: 
/usr/local/BackupPC/lib /etc/perl /usr/local/lib/perl/5.8.4 
/usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 
/usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at 
/usr/local/BackupPC/bin/BackupPC_fixupBackupSummary line 44.
BEGIN failed--compilation aborted at 
/usr/local/BackupPC/bin/BackupPC_fixupBackupSummary line 44.


What needs to be done so that I have the best chance of getting as many 
backups visible and usable as possible?



You need to install Time::ParseDate from CPAN.

But you should only be running BackupPC_fixupBackupSummary if you are
sure the backups file (ie: TOP/pc/HOST/backups) is lost or corrupted.
It is not going to solve a permissions problem.

You should look in TOP/pc/HOST and look for the numbered directories.
Is there a corresponding line in the TOP/pc/HOST/backups file for every
numbered directory?  If not, then you can run BackupPC_fixupBackupSummary
to try to recover the old information.

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.php&p=sourceforge&CID=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] 3.0 installation with three wrinkles

2006-11-26 Thread Eric Snyder
Installed libtime-modules-perl per instruction I received directly from 
Holger Parplies. Ran BackupPC_fixupBackupSummary on my hosts with lost 
backups and got the following messages:


Doing host gandolf
   Reading LOG.112006
   Reading LOG.z
   Reading LOG.0.z
   *** No info for backup number 42
   *** No info for backup number 22
   *** No info for backup number 50
   *** No info for backup number 49
   *** No info for backup number 48
   No changes for host gandolf

Is there anything else I can do?

Thanks,
Eric

Eric Snyder wrote:

Thanks Craig.

In what directory do I install Time::ParseDate?

Yes, there is not corresponding entries for each folder so I will run 
after I install Time:ParseDate.


Thanks again, I appreciate your hard work on BackupPC.

Eric

Craig Barratt wrote:

Eric writes:

  
Part of the problem was that file owners and groups were wrong. I 
changed the owner and group to be backuppc:backuppc and I can now see 
some of my backup files. I have about eight backups that I cannot see at 
all even though I can see them with the file manager.  Craig, about 
eight weeks ago you helped someone with a script that could rebuild 
backups. The link here 
<http://article.gmane.org/gmane.comp.sysutils.backup.backuppc.general/8071/match=rebuild+backups+3
+0>. 
I tried that and got this error:


debian:~# /usr/local/BackupPC/bin/BackupPC_fixupBackupSummary -l legolas
Can't locate Time/ParseDate.pm in @INC (@INC contains: 
/usr/local/BackupPC/lib /etc/perl /usr/local/lib/perl/5.8.4 
/usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 
/usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at 
/usr/local/BackupPC/bin/BackupPC_fixupBackupSummary line 44.
BEGIN failed--compilation aborted at 
/usr/local/BackupPC/bin/BackupPC_fixupBackupSummary line 44.


What needs to be done so that I have the best chance of getting as many 
backups visible and usable as possible?



You need to install Time::ParseDate from CPAN.

But you should only be running BackupPC_fixupBackupSummary if you are
sure the backups file (ie: TOP/pc/HOST/backups) is lost or corrupted.
It is not going to solve a permissions problem.

You should look in TOP/pc/HOST and look for the numbered directories.
Is there a corresponding line in the TOP/pc/HOST/backups file for every
numbered directory?  If not, then you can run BackupPC_fixupBackupSummary
to try to recover the old information.

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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=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] 3.0 installation with three wrinkles

2006-11-27 Thread Eric Snyder

I actually ran

/usr/local/BackupPC/bin/BackupPC_fixupBackupSummary -l gandolf

and that is the result that I got. I have browsed the folders inside 
folder 42 and it looks like there is quite a bit of content inside these 
folders.


The owner is backuppc - BackupPC and the group is backuppc and the 
permissions are 750.


Is there any other possibilities to saving these backups?

Thanks,
Eric


Craig Barratt wrote:

Eric writes:

  
Installed libtime-modules-perl per instruction I received directly from 
Holger Parplies. Ran BackupPC_fixupBackupSummary on my hosts with lost 
backups and got the following messages:


Doing host gandolf
Reading LOG.112006
Reading LOG.z
Reading LOG.0.z
*** No info for backup number 42
*** No info for backup number 22
*** No info for backup number 50
*** No info for backup number 49
*** No info for backup number 48
No changes for host gandolf



Run:

BackupPC_fixupBackupSummary -l gandolf

The -l option is for legacy mode (pre 3.x) that makes it look through
the log files to try to extract the necessary information.

All 3.x backups store that meta data below the backup directory so
that the backups file can be readily rebuilt.

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.php&p=sourceforge&CID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Problems getting Samba connection to work - XP

2006-12-02 Thread Eric Snyder
I have successfully backed up my localhost machine that BackupPC is 
installed on so I know that it is working. I cannot connect to an XP 
machine using Samba as transfer method. I have searched and searched and 
cannot find what I need.


Using the following commands in a terminal su'd as backuppc the 
following commands work or don't work:

*Works:*
/usr/bin/smbclient -L gandolf\\ -U backuppc
This produces a list of shares on the XP machine gandolf.

*Also Works:*
/usr/bin/smbclient \\\\gandolf\\Eric -U backuppc
This connect ti the share Eric on the XP machine gandolf.

*But does not work (frustrated Gr):*
/usr/bin/smbclient gandolf\\C/$ -U backuppc
Gives me "NT_STATUS_BAD_NETWORK_NAME"

/usr/bin/smbclient gandolf\\C\$ -U backuppc
Gives me "NT_STATUS_ACCESS_DENIED"

How to fix?

Thanks,
Eric

-
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.php&p=sourceforge&CID=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] Problems getting Samba connection to work - XP

2006-12-03 Thread Eric Snyder

Addition...
I can connect to a specific share (Eric) on gandolf like this:
/usr/bin/smbclient gandolf\\Eric -U backuppc

When I list the shares on gandolf by using
/usr/bin/smbclient -Lgandolf -U backuppc
both Eric and C$ show up.
It seems that when I try to connect to C$ that is when I run into the 
problem.


What I am trying to do is to be able to add a host nae to the hosts file 
and have BackupPC backup everything that is shared on that Windows host 
without specifically calling out each share in the config file for that 
host. Possible?


Eric Snyder wrote:
I have successfully backed up my localhost machine that BackupPC is 
installed on so I know that it is working. I cannot connect to an XP 
machine using Samba as transfer method. I have searched and searched 
and cannot find what I need.


Using the following commands in a terminal su'd as backuppc the 
following commands work or don't work:

*Works:*
/usr/bin/smbclient -L gandolf\\ -U backuppc
This produces a list of shares on the XP machine gandolf.

*Also Works:*
/usr/bin/smbclient \\\\gandolf\\Eric -U backuppc
This connect ti the share Eric on the XP machine gandolf.

*But does not work (frustrated Gr):*
/usr/bin/smbclient gandolf\\C/$ -U backuppc
Gives me "NT_STATUS_BAD_NETWORK_NAME"

/usr/bin/smbclient gandolf\\C\$ -U backuppc
Gives me "NT_STATUS_ACCESS_DENIED"

How to fix?

Thanks,
Eric



-
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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=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] Problems getting Samba connection to work - XP

2006-12-03 Thread Eric Snyder

I have found the following in the documentation:

All Windows NT based OS (NT, 2000, XP Pro), are configured by default to 
share the entire C drive as C$. This is a special share used for various 
administration functions, one of which is to grant access to backup 
operators. All you need to do is create a new domain user, specifically 
for backup. Then add the new backup user to the built in ``Backup 
Operators'' group. You now have backup capability for any directory on 
any computer in the domain in one easy step. This avoids using 
administrator accounts and only grants permission to do exactly what you 
want for the given user, i.e.: backup. Also, for additional security, 
you may wish to deny the ability for this user to logon to computers in 
the default domain policy.


In windows I have added a user named "backup" and have added them to the 
built in "Backup Operators" group. I tried to connect using the terminal 
from my linux machine and still could not. I added the backup user to 
the password file using smbpasswd. I gave that user the same passwd that 
I gave it when I added them as a user on the Windows box. I still cannot 
connect to gandolf/C or gandolf/C$.



Eric Snyder wrote:
I have successfully backed up my localhost machine that BackupPC is 
installed on so I know that it is working. I cannot connect to an XP 
machine using Samba as transfer method. I have searched and searched 
and cannot find what I need.


Using the following commands in a terminal su'd as backuppc the 
following commands work or don't work:

*Works:*
/usr/bin/smbclient -L gandolf\\ -U backuppc
This produces a list of shares on the XP machine gandolf.

*Also Works:*
/usr/bin/smbclient gandolf\\Eric -U backuppc
This connect ti the share Eric on the XP machine gandolf.

*But does not work (frustrated Gr):*
/usr/bin/smbclient gandolf\\C/$ -U backuppc
Gives me "NT_STATUS_BAD_NETWORK_NAME"

/usr/bin/smbclient gandolf\\C\$ -U backuppc
Gives me "NT_STATUS_ACCESS_DENIED"

How to fix?

Thanks,
Eric



-
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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=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] Installation on Fedora Core 5 login to CGI pagetrouble.

2006-12-04 Thread Eric Snyder
I'll bet you have an Apache password issue. When BackupPC installed it
should have set up a username of backuppc and an 8 character long random
looking password. Every time I have run install it comes up with a screen
that gives you this password. This username and password is stored in a file
in the directory, I believe that the file is called htpasswd. This is an
Apache web server password. To set the password you need to do an htpasswd
command. You will find general instructions on using htpasswd with Apache
here:
http://www.apacheweek.com/features/userauth

I am sorry I do not remember where the htpasswd file is stored in the
directory structure.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Krsnendu
dasa
Sent: Monday, December 04, 2006 9:57 AM
To: backuppc-users@lists.sourceforge.net
Subject: [BackupPC-users] Installation on Fedora Core 5 login to CGI
pagetrouble.

I have previously (several months ago) installed Backuppc on Ubuntu.
This time I am trying to install it on K12LTSP 5 (Fedora Core 5)I
installed using yum. Then I edited config.pl and hosts the same way
the files on Ubuntu were set up. Next I tried to connect to the CGI
interface.
I typed http://localhost/BackupPC I was then presented with the
username and password screen. I can't get past it. I tried backuppc,
root my username (which defined in config.pl)
I tried setting adminusers to * also.
No joy. What should I do next?

-
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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=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] Problems getting Samba connection to work - XP

2006-12-04 Thread Eric Snyder
Yes, I created a user called "backup" and they are a member of the 
backup operators group. I gave that user a password. I am not escaping 
the $ but use a command similar to what you show below and get 
"NT_STATUS_ACCESS_DENIED". Again, If I change the command from 
"/usr/bin/smbclient gandolf\\C$ -U backup" to "/usr/bin/smbclient 
gandolf\\Eric -U backup" it connects to the Eric folder just fine.


I don't know that much about sharing and networking but it's like the 
default share on "C" is messed up.


What next?

Jason Hughes wrote:

Eric,

You may need to do two things... Are you creating a user on the 
Windows box that is a member of the backup operators group?  You can 
either do that, or use the administrator account.  In either case, you 
will probably want to use a username that exists on the Windows 
machine that *requires a password*.  Using an account that has a blank 
password may work only for certain folders, but fail when accessing 
others, inexplicably.


Second, don't escape the $.  I just did this:
/usr/bin/smbclient dev1\\C$ -U jhughes

It worked fine.  However, if I use a username that doesn't exist on 
the windows machine, it gives NT_STATUS_ACCESS_DENIED.


Good luck,
JH

Eric Snyder wrote:
Using the following commands in a terminal su'd as backuppc the 
following commands work or don't work:

*Works:*
/usr/bin/smbclient -L gandolf\\ -U backuppc
This produces a list of shares on the XP machine gandolf.

*Also Works:*
/usr/bin/smbclient gandolf\\Eric -U backuppc
This connect ti the share Eric on the XP machine gandolf.

*But does not work (frustrated Gr):*
/usr/bin/smbclient gandolf\\C/$ -U backuppc
Gives me "NT_STATUS_BAD_NETWORK_NAME"

/usr/bin/smbclient gandolf\\C\$ -U backuppc
Gives me "NT_STATUS_ACCESS_DENIED"

How to fix?
  
-
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.php&p=sourceforge&CID=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] Problems getting Samba connection to work - XP

2006-12-05 Thread Eric Snyder
The XP machine is messed up. It is XP pro but I do not have a "Folder
Options" in my control panel or in Windows Explorer in order to turn off
simple file sharing. I confirmed that the current user was a member of the
Administrator group. What I did is go in and create a new Admin user and
that new user had the Folder Options. I used the new Admin user to turn off
simple file sharing and then deleted the C$ share. I then rebooted and the
C$ share gets reestablished either on a reboot or a start/restart of
"server" in services.

After I did all this I could connect to the C$ share. This is not a BackupPC
or Samba issue. Last night I did a full backup of C$ and this morning I saw
that it took over 600 minutes to get over 30 GB backed up. I did notice that
there was no compression of files even though compression was set to default
3. This may be a misunderstanding on my part of how BackupPC works (maybe
compression only works using tar or rsync, I don't know). I will play with
that for a while to gain an understanding before posting here.

I will be chasing the C$ share/Folder Options issue on a Windows forum
somewhere.

Thanks for all your help! BackupPC is awesome!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam
Goryachev
Sent: Monday, December 04, 2006 8:39 PM
To: Backuppc-Users (E-mail)
Subject: Re: [BackupPC-users] Problems getting Samba connection to work - XP

Eric Snyder wrote:
> Yes, I created a user called "backup" and they are a member of the 
> backup operators group. I gave that user a password. I am not escaping 
> the $ but use a command similar to what you show below and get 
> "NT_STATUS_ACCESS_DENIED". Again, If I change the command from 
> "/usr/bin/smbclient \\\\gandolf\\C$ -U backup" to "/usr/bin/smbclient 
> gandolf\\Eric -U backup" it connects to the Eric folder just fine.
Just a thought, have you tried:
/usr/bin/smbclient gandolf\\C\$ -U backup

Regards,
Adam

-- 

Adam Goryachev
Website Managers
Ph: +61 2 8304 [EMAIL PROTECTED]
Fax: +61 2 8304 0001www.websitemanagers.com.au


-
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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Not pooling or compressing

2006-12-07 Thread Eric Snyder
Hello:
It seems that my files are not pooling. I have read the docs and have 
looked in the folders that the pooled files should be in and they are 
not there. For each backup there is a folder and the backed up files are 
all contained inside that folder. I am using SMB for transport and am 
backing up one linux and two xp machines.

Are there settings that I can check to make sure pooling happens? Also, 
my files are not compressing, could this be causing the pooling issue?

-
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.php&p=sourceforge&CID=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] Not pooling or compressing

2006-12-08 Thread Eric Snyder
Here is a summary of a host that I did a full backup on. I thin changed 
the config file to share and backup just one folder with just 1 1.6 MB 
file. Backup #2 and #3 are two back to back backups of that file. I 
think that it is not pooling and compressing. I am still coming yup to 
speed with Linux, any help would be appreciated.

File Size/Count Reuse Summary

Existing files are those already in the pool; new files are those added 
to the pool. Empty files and SMB errors aren't counted in the reuse and 
new counts.

   Totals  Existing 
Files   New Files
Backup# Type#Files  Size/MB MB/sec  #Files  
Size/MB#Files   Size/MB
0   full46240   17139.3 1.03 894 
0.0  0   0.0
1   full1   1.6 0.33 0   
0.0  0   0.0
2   full1   1.6 0.33 0   
0.0  0   0.0


Compression Summary

Compression performance for files already in the pool and newly 
compressed files.
   Existing Files
New Files
Backup#   TypeComp LevelSize/MB   Comp/MBComp
Size/MBComp/MBComp
0 full3  0.0  0.0 
   
1 full3  0.0  0.0 
   
2 full3  0.0  0.0 
   

Eric Snyder wrote:
> Hello:
> It seems that my files are not pooling. I have read the docs and have 
> looked in the folders that the pooled files should be in and they are 
> not there. For each backup there is a folder and the backed up files are 
> all contained inside that folder. I am using SMB for transport and am 
> backing up one linux and two xp machines.
>
> Are there settings that I can check to make sure pooling happens? Also, 
> my files are not compressing, could this be causing the pooling issue?
>
> -
> 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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Web admin will not execute after installing 3.0

2007-03-20 Thread Eric Snyder
After installing 3.0 in slackware I can list the BackupPC_Admin file 
contents in my web browser but it will not execute.

The files is marked as executable and the default group for the file was 
"user". I have tried various user and group permissions and they are 
currently "backuppc" and group is currently "nobody". I have looked at 
Apache's user and it is "root" for the parent and "nobody" for the child 
processes.

Can anyone help me get the web admin running?

-
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.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] BackupPC_link errors

2007-04-08 Thread Eric Snyder
First of all...Craig, for all the times I have posted I don't know if I 
ever thanked you for this great piece of software! I sleep much better 
knowing that I have a good backup plan working.

I had BackupPC running under Ubuntu. I abandon Ubuntu because it was 
having too many problems. I have installed Slackware. I am liking it 
much better!

My backup files were on an additional hard drive and I preserved that 
hard drive in the new install. I have installed Apache with mod_perl, 
Samba and BackupPC. I have placed a symbolic link in the backup data 
directory that points to the backup data on the additional drive.

I can see my old backups and can run new backups. The problem is 
currently that I am getting linking errors like the following:


2007-04-08 21:20:02 BackupPC_link got error -4 when calling 
MakeFileLink(/data/BackupPC/backups/pc/slacker/2/fEric/fhello.txt, 
5ee4aa1b190383553c1a7712ad260358, 1)
2007-04-08 21:20:02 BackupPC_link got error -4 when calling 
MakeFileLink(/data/BackupPC/backups/pc/slacker/2/fEric/attrib, 
4e852a5ce7de7b42cc837be992d50f80, 1)
2007-04-08 21:20:02 Finished slacker (BackupPC_link slacker)


I have looked in the archives and have found that this is usually caused by:

1) Running out of nodes. This is not the case in my situation:

  FilesystemInodes   IUsed   IFree IUse% Mounted on
  /dev/hdb139075840 1011307 380645333% /dev/backupdisk

2) Having the pool or cpool directory on a different volume. Also not 
the case as all are on the hard drive under the directory backups.

Below are the permissions of the folders on the hard drive (hdb).

hdb:
drwxr-x--- 6 backuppc backuppc  4096 2006-11-23 18:09 backups

hdb/backups:
drwxr-x--- 2 backuppc backuppc 4096 2006-11-23 18:09 cpool
drwxr-x--- 7 backuppc backuppc 4096 2007-04-08 21:08 pc
drwxr-x--- 2 backuppc backuppc 4096 2006-12-23 19:53 pool
drwxr-x--- 2 backuppc backuppc 4096 2007-02-04 01:10 trash

I have confirmed that backuppc is running as backuppc.

Can anyone help with this linking error?

Also (possible related) is that when I had backuppc running on Ubuntu it 
was not pooling. I never figured that problem out.

Thanks,
Eric


-
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.php&p=sourceforge&CID=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] BackupPC_link errors

2007-04-09 Thread Eric Snyder



Craig Barratt wrote:

Eric writes:

  
2007-04-08 21:20:02 BackupPC_link got error -4 when calling 
MakeFileLink(/data/BackupPC/backups/pc/slacker/2/fEric/fhello.txt, 
5ee4aa1b190383553c1a7712ad260358, 1)



The -4 error means that a file cannot be added to the pool
(ie: a new hardlink cpool/5/e/e/5ee4aa1b190383553c1a7712ad260358
to /data/BackupPC/backups/pc/slacker/2/fEric/fhello.txt).

You've checked the obvious things.

  

  FilesystemInodes   IUsed   IFree IUse% Mounted on
  /dev/hdb139075840 1011307 380645333% /dev/backupdisk



Your TOPDIR is /data/BackupPC/backups, but your disk is mounted
on /dev/backupdisk.  Is that right?
  

Yes, This is correct.

What happens when you run:

df /data/BackupPC/backups/pc/slacker
df /data/BackupPC/backups/cpool
  

I get:
[EMAIL PROTECTED]:~# df /data/BackupPC/backups/pc/slacker
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/hdb1307663800 144787820 147247548  50% /dev/backupdisk
[EMAIL PROTECTED]:~# df /data/BackupPC/backups/cpool
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/hdb1307663800 144787820 147247548  50% /dev/backupdisk


Does it show the same file system?

Does the directory /data/BackupPC/backups/cpool/5/e/e exist?  What happens when
you try to manually make the link:

su backuppc
link /data/BackupPC/backups/pc/slacker/2/fEric/fhello.txt 
/data/BackupPC/backups/cpool/5/e/e/5ee4aa1b190383553c1a7712ad260358
  
link: cannot create link 
`/data/BackupPC/backups/cpool/5/e/e/5ee4aa1b190383553c1a7712ad260358' to 
`/data/BackupPC/backups/pc/slacker/2/fEric/fhello.txt': No such file or 
directory


I did a couple of things.

1) I changed the backup directory to be the one on the same drive that 
BackupPC runs from (hda) that holds the symlinks to the other drive. It 
created the links when I ran the backup. We know that my installation of 
BackupPC will make links OK to the same drive that it is installed on.


2) I created individual links for each directory (pc, cpool and pool) 
that point to actual directories on hdb and then tried the backup. The 
backup run fine and links were created on the target drive (hdb) inside 
dev/backupdisk/backups/cpool.


It seems that the problem only shows up when I have a single link of my 
topmost directory rather than individual links to each directory one 
level down.

???

Thanks,
Eric
-
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.php&p=sourceforge&CID=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] BackupPC_link errors

2007-04-10 Thread Eric Snyder
Craig Barratt wrote:
> Does the file /data/BackupPC/backups/pc/slacker/2/fEric/fhello.txt exist
> or not?
>   
I did not check, I missed your question. Sorry about that, my bad.
> Does the directory /data/BackupPC/backups/cpool/5/e/e exist or not, and
> is it writable by BackupPC?
>   
Non it did not. That is when I started playing with the individual links.
Thanks for your help.

Eric

-
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.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Backing up localhost - permission question

2007-04-11 Thread Eric Snyder

Hello all:

I am setting up localhost to be backed up. In the help file at 
http://backuppc.sourceforge.net/faq/localhost.html there is the 
following blurb:


"Make sure this script and all parent directories have no write 
permission. Then remove the -c from $Conf{TarClientCmd} 
<http://backuppc.sourceforge.net/faq/BackupPC.html#item__conf_tarclientcmd_> 
and change the tar path:"


Is this write permission for owner, group, others or all three?

Thanks,
Eric Snyder
-
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.php&p=sourceforge&CID=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] Backing up localhost - permission question

2007-04-14 Thread Eric Snyder


Carl Wilhelm Soderstrom wrote:
> Here's the localhost.pl file that I use.
>
> #
> # Local server backup of /etc as user backuppc
> #
> $Conf{XferMethod} = 'tar';
>
> $Conf{TarShareName} = ['/etc'];
>
> $Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C /usr/bin/sudo $tarPath' 
> . ' -c -v -f - -C $shareName --totals';
>
> # let it back itself up anytime it wants to.
> $Conf{BlackoutPeriods} = [];
>
>
> I also have this entry in /etc/sudoers:
> backuppc ALL=NOPASSWD: /bin/tar 
>
> the suggestion to make that 
> backuppc ALL=NOPASSWD: /bin/tar -c
>
> is a good one tho.
>
>   
Thanks. I have done everything and I get the folowing result:
Contents of file /data/BackupPC/pc/slacker/XferLOG.bad.z, modified 
2007-04-14 21:20:47 (Extracting only Errors)

Running: /usr/bin/env LC_ALL=C /usr/bin/sudo /usr/bin/tar -c -v -f - -C 
/etc --totals .
full backup started for directory /etc
Xfer PIDs are now 2025,2024

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
[ skipped 3 lines ]
Password:
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 
0 filesTotal, 0 sizeTotal
Got fatal error during xfer (No files dumped for share /etc)
Backup aborted (No files dumped for share /etc)

My localhost.pl file is as follows:

$Conf{XferMethod} = 'tar';
$Conf{TarShareName} = [
  '/etc'
];
$Conf{TarClientCmd} = '/usr/bin/env LC_ALL=C /usr/bin/sudo $tarPath'
. ' -c -v -f - -C $shareName --totals';
$Conf{SmbShareName} = [
  'backupshare'
];
$Conf{SmbSharePasswd} = 'removed';
$Conf{SmbShareUserName} = 'removed';

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] How to have multiple directories excluded from backups on a single server

2006-12-13 Thread Eric J. Feldhusen
I'm running BackupPC 2.1.2pl2 under RHEL4 and I have a single server
with multiple directories that I don't want to backup, since the
directories are just linux distribution iso's or the iso's exploded.  I
have a single $Conf{BackupFilesExclude} with two directories.  If I put
two directories in that line, as it is below, the first directory listed
will be excluded, but the second directory is fully backed up.  If I
change the line to just one directory, that directory is excluded.

Any suggestions?

My config.pl for the server in question is below.

do "/backupdata/conf/config.pl";

$Conf{RsyncShareName} = ['/', '/boot', '/var/ftp'];

$Conf{BackupFilesExclude}=['/var/ftp/pub/INSTALL',
'/var/ftp/pub/linux-iso'];

-- 
Eric Feldhusen
Network Administratorhttp://www.remc1.org
[EMAIL PROTECTED]
PO Box 270  (906) 482-4520  x239
809 Hecla St(906) 482-5031 fax
Hancock, MI  49930  (906) 370 6202 mobile


-
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.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Problems getting BackupPC to use individual PC config.pl files

2007-04-14 Thread Eric J. Feldhusen
 = 12;
$Conf{DumpPreUserCmd} = undef;
$Conf{DumpPostUserCmd} = undef;
$Conf{DumpPreShareCmd} = undef;
$Conf{DumpPostShareCmd} = undef;
$Conf{RestorePreUserCmd} = undef;
$Conf{RestorePostUserCmd} = undef;
$Conf{ArchivePreUserCmd} = undef;
$Conf{ArchivePostUserCmd} = undef;
$Conf{UserCmdCheckStatus} = 0;
$Conf{ClientNameAlias} = undef;


Windows rsyncd client config.pl under /backupdata/pc/"servername"/config.pl

do "/etc/BackupPC/config.pl";
$Conf{XferMethod}='rsyncd';
$Conf{RsyncdUser}='backuppc';
$Conf{RsyncdPasswd} = 'UDypBSUg6s';
$Conf{RsyncShareName} = ['cDrive'];
$Conf{ClientTimeout} = 43300;
$Conf{BackupFilesExclude}=['/RECYCLER'];
$Conf{EMailAdminUserName} = '[EMAIL PROTECTED]';
$Conf{EMailNotifyOldBackupDays} = 3.0;


-- 
Eric Feldhusen
Network Administratorhttp://www.remc1.org
[EMAIL PROTECTED]
PO Box 270  (906) 482-4520  x239
809 Hecla St(906) 482-5031 fax
Hancock, MI  49930  (906) 370 6202 mobile


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Problems getting BackupPC to use individual PC config.pl files

2007-04-14 Thread Eric J. Feldhusen
My apologies, I found a solution in the backuppc-user archives that I 
hadn't seen on the first several times in the archives.

I just had to create a /etc/BackupPC/pc/"server name".pl file with the 
standard client specific options  for each server.  It's working for 
every client now.

My thanks to Craig and the other developers, I've been pleased with our 
first server running BackupPC 2.1.3 and now our second backup server 
with BackupPC 3.0.0 is just excellent.

Eric Feldhusen

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/