Re: [BackupPC-users] Tried installing BackupPC to two different machines with no luck

2007-02-06 Thread Nils Breunese (Lemonbit)

George Avrunin wrote:


I'm running BackupPC on Fedora Core 6.  I'm not at the BackuPC server
right now (and can't even get to the web interface from here), but  
as I
recall the only problems were with the cgi script.  In FC 5 and 6,  
you can

modify the SELinux policy from a GUI (System --> Administration -->
Security Level and Firewall, click on the SELinux tab).  I don't  
remember

exactly which booleans I had to change, but changing some of the ones
connected to the httpd service lets BackupPC run just fine without
disabling SELinux in general.


I'm sure a lot of BackupPC servers aren't running X (like mine), but  
I'm sure there is an equivalent command-line way to get this done. I  
can imagine only the CGI interface needs some policy and if you've  
figured out what you needed to change (and why) I'm sure that'd be  
something for inclusion in the docs for BackupPC.


Nils Breunese.




PGP.sig
Description: Dit deel van het bericht is digitaal ondertekend
-
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] Tried installing BackupPC to two different machines with no luck

2007-02-06 Thread George Avrunin
On Tue, 6 Feb 2007 16:26:26 +0100, "Nils Breunese (Lemonbit)"
<[EMAIL PROTECTED]> wrote:

> No, not all distributions use SELinux. I know Fedora and Red Hat  
> Enterprise Linux are the major ones using it. See Wikipedia [0] for  
> other implementations. SELinux is nice, but since almost every  
> package needs a specialised policy something often doesn't work when  
> you install a package that doesn't come from the standard  
> repositories. Someone could probably write a policy for BackupPC, but  
> it can be a lot of working to get it right. See the "Writing SE Linux  
> policy HOWTO" [1] for more information if you're interested.
> 
> Nils Breunese.

I'm running BackupPC on Fedora Core 6.  I'm not at the BackuPC server
right now (and can't even get to the web interface from here), but as I
recall the only problems were with the cgi script.  In FC 5 and 6, you can
modify the SELinux policy from a GUI (System --> Administration -->
Security Level and Firewall, click on the SELinux tab).  I don't remember
exactly which booleans I had to change, but changing some of the ones
connected to the httpd service lets BackupPC run just fine without
disabling SELinux in general.

  George


signature.asc
Description: PGP signature
-
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] Spacing out load on BackupPC server

2007-02-06 Thread Les Mikesell
Timothy J. Massey wrote:
> 
> For some reason, the backups tend to get bunched up, so that the fulls 
> seem to be happening on the same days.  I would like to spread this out 
> some:  I can't get *all* the fulls done during a single day's backup 
> window, whereas when they're spaced out, I easily can.
> 
> Is there a way to do this outside of manually starting the backups on 
> different days and hoping it stays that way?  I can't think of a way 
> without changing the code.  One thought I had was the idea of splitting 
> the blackout period into full and incremental periods, or some other way 
> of differentiating between full and incrementals during scheduling.
>
> Does anyone else have this problem?  Does anyone have a solution that 
> works for them?

What's the problem with the obvious way of starting one by hand and 
letting the FullPeriod setting control the subsequent cycle?  That will 
work as long as backups continue to run on schedule.  If they aren't 
working on schedule, anything else you do would be equally broken.

-- 
   Les Mikesell
[EMAIL PROTECTED]


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


Re: [BackupPC-users] Spacing out load on BackupPC server

2007-02-06 Thread Carl Wilhelm Soderstrom
On 02/06 01:05 , Timothy J. Massey wrote:
> Is there a way to do this outside of manually starting the backups on 
> different days and hoping it stays that way?  

you could do things like:
change the FullPeriod value to something other than 7 days, setting
different hosts to different values. This way they wouldn't typically go off
on the same day, except (I believe) at intervals of the Least Common
Multiple of the different values.

Change $Conf{MaxBackups} from it's default of 4 to something smaller (like
'2'); which will keep too many backups from going off at the same time and
crushing the backup server. I find a value of '2' is usually much better.

Manually schedule your full backups through crontab.
# do a full backup on fridays
00 12 * * 5 backuppc /usr/share/backuppc/bin/BackupPC_serverMesg backup 
foo.bar.tld foo.bar.tld backuppc 1


Hope some of these ideas will be helpful to you.

-- 
Carl Soderstrom

"A strong conviction that something must be done 
is the parent of many bad measures"
--Daniel Webster


-
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] Spacing out load on BackupPC server

2007-02-06 Thread Timothy J. Massey
Hello!

I've got a couple of servers that are responsible for backing up a 
number of larger hosts.  For example, in one case, the server stores 
almost 1TB of data stored on a half-dozen or so hosts.  In some cases, 
the data is large and the deltas small (~300GB of data, <1GB in deltas); 
  in other cases, the data is smaller, but the deltas are very large 
(~50GB of data, >40GBB in deltas!).

For some reason, the backups tend to get bunched up, so that the fulls 
seem to be happening on the same days.  I would like to spread this out 
some:  I can't get *all* the fulls done during a single day's backup 
window, whereas when they're spaced out, I easily can.

Is there a way to do this outside of manually starting the backups on 
different days and hoping it stays that way?  I can't think of a way 
without changing the code.  One thought I had was the idea of splitting 
the blackout period into full and incremental periods, or some other way 
of differentiating between full and incrementals during scheduling.

Does anyone else have this problem?  Does anyone have a solution that 
works for them?

Timothy J. Massey

-
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] Tried installing BackupPC to two different machines with no luck

2007-02-06 Thread Nils Breunese (Lemonbit)

Arch Willingham wrote:

I don't know that much about LinuxI have only been using it for  
about a year and have never used anything but Fedora. I just  
figured that the selinux thing was not used in all the flavor??


No, not all distributions use SELinux. I know Fedora and Red Hat  
Enterprise Linux are the major ones using it. See Wikipedia [0] for  
other implementations. SELinux is nice, but since almost every  
package needs a specialised policy something often doesn't work when  
you install a package that doesn't come from the standard  
repositories. Someone could probably write a policy for BackupPC, but  
it can be a lot of working to get it right. See the "Writing SE Linux  
policy HOWTO" [1] for more information if you're interested.


Nils Breunese.

[0] 
[1] 


PGP.sig
Description: Dit deel van het bericht is digitaal ondertekend
-
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] Tried installing BackupPC to two different machines with no luck

2007-02-06 Thread Arch Willingham
I don't know that much about LinuxI have only been using it for about a 
year and have never used anything but Fedora. I just figured that the selinux 
thing was not used in all the flavor??

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 06, 2007 8:15 AM
To: Arch Willingham
Cc: backuppc-users@lists.sourceforge.net
Subject: Re: [BackupPC-users] Tried installing BackupPC to two
differentmachines with no luck


[EMAIL PROTECTED] wrote on 02/06/2007 09:18:47 
AM:

> I messed around with it until 2:00AM last night. Bit, by bit, I 
> started getting things to work. I finally found that I had to turn 
> off selinux

That bit me for a few hours, too.

Might that be added to the documentation?

Tim Massey


-
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] Tried installing BackupPC to two differentmachines with no luck

2007-02-06 Thread Arch Willingham
I messed around with it until 2:00AM last night. Bit, by bit, I started getting 
things to work. I finally found that I had to turn off selinux and the access 
for this machine is http://machine2/cgi-bin/backuppc/BackupPC_Admin

Now to try to figure out how to make it do backups!

Tanks for you help!

Arch

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Nils
Breunese (Lemonbit)
Sent: Tuesday, February 06, 2007 5:03 AM
To: backuppc-users@lists.sourceforge.net
Subject: Re: [BackupPC-users] Tried installing BackupPC to two
differentmachines with no luck


Arch Willingham wrote:

> Machine 1 - If I go to http://linuxmachine1/backuppc/ I get a web  
> page that says
>
> 

You're looking at the dir where BackupPC stores it's css and  
graphics. You're probably looking for the BackupPC_Admin web  
interface instead, which you probably installed somewhere under /cgi- 
bin/. You might want to check if you've followed the installation  
instructions [1] correctly and check where BackupPC_Admin was  
installed. You might want to try http://linuxmachine1/cgi-bin/ 
BackupPC_Admin or  http://linuxmachine1/cgi-bin/BackupPC/ 
BackupPC_Admin (all depends on what you set as your __CGIDIR__).

> On machine2, I did "su -s /bin/bash backuppc" followed by "/usr/ 
> share/BackupPC/sbin/BackupPC_Admin" and get a bunch of HTML stuff  
> that starts with:
>
> Content-Type: text/html; charset=ISO-8859-1
>
> 
> 
> BackupPC Server Status

Well, that's the BackupPC web interface! But you probably don't want  
to look at it on a terminal, but rather in a web browser. :o)

Good luck!

Nils Breunese.

[1] http://backuppc.sourceforge.net/faq/BackupPC.html



-
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] Tried installing BackupPC to two different machines with no luck

2007-02-06 Thread Nils Breunese (Lemonbit)

Arch Willingham wrote:

Machine 1 - If I go to http://linuxmachine1/backuppc/ I get a web  
page that says





You're looking at the dir where BackupPC stores it's css and  
graphics. You're probably looking for the BackupPC_Admin web  
interface instead, which you probably installed somewhere under /cgi- 
bin/. You might want to check if you've followed the installation  
instructions [1] correctly and check where BackupPC_Admin was  
installed. You might want to try http://linuxmachine1/cgi-bin/ 
BackupPC_Admin or  http://linuxmachine1/cgi-bin/BackupPC/ 
BackupPC_Admin (all depends on what you set as your __CGIDIR__).


On machine2, I did "su -s /bin/bash backuppc" followed by "/usr/ 
share/BackupPC/sbin/BackupPC_Admin" and get a bunch of HTML stuff  
that starts with:


Content-Type: text/html; charset=ISO-8859-1



BackupPC Server Status


Well, that's the BackupPC web interface! But you probably don't want  
to look at it on a terminal, but rather in a web browser. :o)


Good luck!

Nils Breunese.

[1] http://backuppc.sourceforge.net/faq/BackupPC.html




PGP.sig
Description: Dit deel van het bericht is digitaal ondertekend
-
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] No Files dumped for share

2007-02-06 Thread Randy Barlow
OK, so I am trying to backup a windows client (vista, if that matters) (I've 
always just done Linux and Mac clients before) and I decided to just go with 
the smb transfer scheme.  I have put these four lines in my per-pc config 
file for the machine:

$Conf{SmbShareName} = 'rpbarlow';
$Conf{XferMethod} = 'smb';
$Conf{SmbShareUserName} = 'rpbarlow';
$Conf{SmbSharePasswd} = '***';

Now on the windows side of things, I made sure to share the folder, to open 
the "File and Print Sharing" ports on the firewall, and I made sure that 
rpbarlow had full permissions on the folder in the security and sharing tabs 
for the folder.  It seems like I can access the folder from the windows 
machine itself.  In fact, I have indeed verified that I can mount the shared 
folder on my linux machine, so I'm pretty confident that the permissions are 
correct on the windows side of things.  So why is backuppc having trouble?

The error just says that no files were dumped for the share.  No explicit 
errors.  The log just has these contents:

Running: /usr/bin/smbclient lappy786\\rpbarlow -U rpbarlow -E -N -d 1 -c 
tarmode\ full -Tc -
Xfer PIDs are now 14710,14709
session setup failed: SUCCESS - 0
session setup failed: SUCCESS - 0
tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 
filesTotal, 0 sizeTotal
Got fatal error during xfer (No files dumped for share rpbarlow)
Backup aborted (No files dumped for share rpbarlow)
I tried running that command directly as the backuppc users, and I get the 
famous NT_STATUS_ACCESS_DENIED message.  BUT, I can change -U rpbarlow to -U 
rpbarlow[%passwordHere] and I get

session setup failed: SUCCESS - 0
session setup failed: SUCCESS - 0

instead.  So something's still not quite right, and I'm guessing it's with 
the command I am using to call the backup.  Any hints?

R 



-
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] Minor quip about ParPath

2007-02-06 Thread Craig Barratt
Jason writes:

> First and foremost, love the software.  Thanks so much.

Thanks.

> I noticed that in 3.0.0, if you try to edit any of the config from the 
> web interface, it refuses to save for me on the basis that ParPath 
> points to a utility that I do not have installed.  Funny thing is, I 
> don't recall par being a requirement.  I am going to install it today 
> just to get the UI working, but since the vanilla Centos 4.4 install 
> doesn't put it on a machine, I am guessing there may be others with the 
> same issue.  It could be that 2.1.2pl2 placed a path in the config and 
> 3.0.0 didn't clear it when upgrading (although it seems to require it).  
> I certainly didn't put a path in there manually.

Yes, this was a bug in 2.1.x where it filled in a hardcoded path
for ParPath.  3.0.0 doesn't overwrite the value, so the config
editor complains that it isn't a valid path.

It should do the right thing with a clean install - ParPath
will be empty.

> Would setting the path to an empty string shut the error up?

Yes.  You can do that from the config editor by going to the
right tab and finding the ParPath entry.

Craig

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