Re: [BackupPC-users] Almost working

2008-10-15 Thread Kenneth L. Owen
Well, I'll work on remote access later.

Now that I have BackupPC working on the system in the original distribution
file setup, I am ready to change the storage location to a large hard disk
just for archiving.  I stopped BackupPC and removed the client definition.
I then removed the /var/lib/BackupPC directory and all sub trees.  Next, I
created a LVM for the 500 GB disk and mounted it as /var/lib/BackupPC and
created the directories:
   cpoolpoolpc  trash   .ssh (containing my ssh keys)

When I thought I had everything back like it needed to be, I rebooted and
verified service BackupPC started with no errors.  Next I logged into
BackupPC.  I am getting a SELinux AVC error "SELinux is preventing
nm-system-setti (NetworkManager_t) "read" to ./PolicyKit (hald_var_lib_t).
It also said "You could try to restore the default system file context for
./PolicyKit,

restorecon -v './PolicyKit'

I ran this as root and got the following response:

[EMAIL PROTECTED] ~]# restorecon -v './PolicyKit'
restorecon:  stat error on ./PolicyKit:  No such file or directory
[EMAIL PROTECTED] ~]# restorecon -v './PolicyKit(hald_var_lib_t)'
restorecon:  stat error on ./PolicyKit(hald_var_lib_t):  No such file or
directory

Below is my resulting disk structure when adding the 500 GB hd (/dev/sdc).
See if you see where this novice user failed to follow standard Linux
procedure.

[EMAIL PROTECTED] ~]$ ssh archiver
[EMAIL PROTECTED]'s password: 
Last login: Wed Oct 15 15:39:59 2008 from winserver
[EMAIL PROTECTED] ~]$ su -
Password: 
[EMAIL PROTECTED] ~]# fdisk -l

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x49e249e1

   Device Boot  Start End  Blocks   Id  System
Note:  This is my WinXP boot system.
/dev/sda1   *   13825307242817  HPFS/NTFS
/dev/sda23826   38913   281844360f  W95 Ext'd (LBA)
/dev/sda53826   21303   140392003+   7  HPFS/NTFS
/dev/sda6   21304   38913   141452293+   7  HPFS/NTFS

Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xaf4d

   Device Boot  Start End  Blocks   Id  System
Note:  This is my Linux boot system.
/dev/sdb1   *   1  26  208813+  83  Linux
/dev/sdb2  27391431230360   8e  Linux LVM
/dev/sdb33915   38913   281129467+   f  W95 Ext'd (LBA)
/dev/sdb539153978  514048+  83  Linux
/dev/sdb63979   21444   140295613+  83  Linux
/dev/sdb7   21445   38913   140319711   83  Linux

Disk /dev/sdc: 500.1 GB, 500107862016 bytes
Note:  This is the disk that to be used for archive storage.
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x

Disk /dev/sdc doesn't contain a valid partition table   <<< Is this normal
when a disk is set up as LVM storage?

Disk /dev/dm-0: 29.8 GB, 2986380 bytes
255 heads, 63 sectors/track, 3630 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 2080 MB, 2080374784 bytes
255 heads, 63 sectors/track, 252 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x30307800

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/dm-2: 483.1 GB, 483183820800 bytes
255 heads, 63 sectors/track, 58743 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x

Disk /dev/dm-2 doesn't contain a valid partition table

[EMAIL PROTECTED] ~]# lvdisplay
  --- Logical volume ---
  LV Name/dev/archive/BackupPC  <<<  BackupPC
storage
  VG Namearchive
  LV UUIDVXNkp0-40rE-V9of-xAzx-SRoO-JkJY-0DMftP
  LV Write Accessread/write
  LV Status  available
  # open 1
  LV Size450.00 GB
  Current LE 115200
  Segments   1
  Allocation inherit
  Read ahead sectors 0
  Block device   253:2
   
  --- Logical volume ---
  LV Name/dev/VolGroup00/LogVol00   <<<  Linux System
  VG NameVolGroup00
  LV UUID3Kd6WX-G3ZO-e41S-TIuA-w8VN-jR3Z-BDY1VE
  LV Write Accessread/write
  LV Status  available
  # open 1
  LV Size27.81 GB
  Current LE 890
  Segments   1
  Allocation inherit
  Read ahead sectors 0
  Block device   253:0
   
  --- Logical volume ---
  LV Name/dev/VolGroup00/LogVol01   
  VG NameVolGroup00
  LV UUIDIjSXzH-Ujtu-sWb0-56LC-gTLT-71sv-MfRZv

Re: [BackupPC-users] Backup_dump - Wrong User

2008-10-15 Thread Huxtable, Brian R.
I've seen other users here have had this problem as well (judging from
the archives) but there has never been a solution posted.  I believe
that I have found the answer to this problem, somewhat accidentally:

 

In the process of setting up a script that would periodically check the
BackupPC log for the 'BackupPC::Lib->new failed' error, I needed to do
several restarts of the server.  Apache wasn't starting on its own
giving 'nodename nor servname provided, or not known: mod_unique_id' in
the error log.  Simply commenting out this module solved the apache
startup problem ... and also, apparently, the 'BackupPC::Lib->new
failed' error as well.  The script I wrote has not once fired a restart
procedure since I commented out the module.  Previous behavior was that
the error would crop up at least twice a day and persist until I
restarted BackupPC.

 

Now, I'm not quite certain what mod_unique_id does but I haven't been
using it in any other apache installation so I haven't been too worried
to do the research.  If anyone would kindly explain any portion of this
problem, I'd be much appreciative.  I plan on writing a howto for
BackupPC for Debian and Mac OS X and this piece of info would be pretty
handy.

 

B

 

From: Huxtable, Brian R. [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 07, 2008 10:13 AM
To: backuppc-users@lists.sourceforge.net
Subject: [BackupPC-users] Backup_dump - Wrong User

 

I've recently needed to reinstall BackupPC on Mac OS X 10.5 Leopard.
While it had worked previously on this platform, I'm getting some very
odd errors that driving me insane:

 

I'm able to run backups for a period of time but some point in time
during the day I'll begin to get repeated iterations of the following:

 

/opt/local/BackupPC/bin/BackupPC_dump: Wrong user: my userid is 501,
instead of  (tlctoor)

Please su tlctoor first

BackupPC::Lib->new failed

 

After I get this, newly initiated processes will fail but previously
active processes seem to continue.  I then need to restart the BackupPC
service to get backups back on track.

 

What am I missing, where should I look?

 

Brian

-
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] backuppc fails after updating opensuse to 11.0

2008-10-15 Thread Ali3n0

I think this could help:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=501057

I had the same problem and I solved it by removing -N from the 
$Conf{SmbClientFullCmd} string.

+--
|This was sent by [EMAIL PROTECTED] via Backup Central.
|Forward SPAM to [EMAIL PROTECTED]
+--



-
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] Incremental Backup Never Finishes

2008-10-15 Thread Kimball Larsen
I am running BackupPC 3.0.0 on Ubuntu Hardy - installed from the apt  
repository.

I have been using it for several months without issue - its backing up  
all the machines in my office (6 or 7 of them) as well as 1 server  
that was on a different subnet though located in the same room as the  
backuppc machine.

2 days ago I switched this server to be on the same subnet as the rest  
of the office so that the backups could run more quickly (the traffic  
would not have to go all the way out to the modem and back, just hit  
the switch between machines - gigabit instead of 100/T).

The old IP address of the server was 207.70.x.x, the new one is  
192.168.x.x.  I went into /var/lib/backuppc/pc and simply renamed the  
directory from 207.70.x.x to 192.168.x.x.  I also changed the host  
details in the backuppc setup screens to reflect the new IP change.   
After doing so (and updating some ssh keys) all the backups appeared  
correctly under the listing for 192.168.x.x from when it was the  
207.70.x.x.

I then ran a full backup, which took about an hour or so (expected)  
and completed successfuly.

I then attempted to run an incremental backup.  This is where problems  
started:  The incremental never finished.  I let it run overnight  
(about 17 hours) and it was steadily transferring data at a very high  
rate of speed (verified with iftop and other network monitoring  
software), but the backup never finished.  The drive on the server  
being backed up only has about 70GB of data to backup, yet many  
hundreds of GB of data were transferred to the backup server.

So, what gives?  Is there something more I need to change when  
switching the IP of a backed up machine?

(oh, and I'm using rsync for the backups everywhere - mixture of linux  
and os x hosts being backed up, and all the other hosts backup (both  
full and incremental) correctly).

Thanks!


- Kimball
http://www.kimballlarsen.com


-
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] Feature Request - longer path name support

2008-10-15 Thread Craig Barratt
Ski writes:

> Running Backuppc 2.1.2 on a debian linux server and backing up a linux
> machine, I ran into a problem backing up a file where the entire path
> length was 318 characters.  Once I shrunk the path length it worked
> perfectly.  Has this been fixed in version 3.1?  If not, could you add
> this to the feature request queue.  Thanks.

No, it hasn't been fixed in 3.x.  There are several areas where the
file name paths can be limited in length (none of them in BackupPC).
I'll add this to the todo list.

Craig

-
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] Almost working

2008-10-15 Thread Nils Breunese (Lemonbit)
Kenneth L. Owen wrote:

> That only leaves one issue:  I can't log into the web GUI from the  
> Windows
> server.  I have ssl setup and can get the default web page with
> https://Archiver/  but https://Archiver/BackupPC/ gets a 403 screen  
> - Not
> Authorized .  This is the same line that I use on Archiver to pull  
> up the
> BackupPC GUI.  -- ken

I guess the default config shipping with the package you installed  
only allows access from localhost.

Nils Breunese.

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