Re: [BackupPC-users] Rsyncd

2006-11-29 Thread Byron Trimble
On the Win2k side, are the directory paths in the rsyncd.conf supposed to be
\ (windows) or /(unix)?

-Original Message-
From: Les Mikesell [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 28, 2006 5:13 PM
To: Byron Trimble
Cc: Backuppc-Users (E-mail)
Subject: Re: [BackupPC-users] Rsyncd


On Tue, 2006-11-28 at 16:57 -0500, Byron Trimble wrote:

 One question. I have BackupPC running on a Linux server. I'm trying to
 backup a Win2k server. Should I have the rsync daemon running on the Linux
 or Win2k server? 

The rsync daemon would run on the win2k box.  Backuppc has a version
of rsync embedded, but you can test the setup with the linux
command line rsync like:
rsync target_host::
The double-colons indicate that the remote is running in standalone
daemon mode and omitting a destination makes it give a listing.
After you see the module name list you can:
rsync target_host::module/
for a directory listing.  If those aren't working, you have a problem
on the windows side.

-- 
  Les Mikesell
   [EMAIL PROTECTED]

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Rsyncd

2006-11-29 Thread Les Stott

Byron Trimble wrote:

On the Win2k side, are the directory paths in the rsyncd.conf supposed to be
\ (windows) or /(unix)?

  

/

path = c:/test/

or

path = /cygdrive/c/test/


Regards,

Les

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Out of space on the backup volume.

2006-11-29 Thread Daniel Nowacki
Craig Barratt wrote:
 Daniel writes:
 
 Now, in config.pl I trimmed down to keep only 1 full and 6 incrementals 
 and 10 (instead of 12) and 20 incrementals for the main storage. The 
 next day (today) I still see that there are 2 (or more) Full backups for 
 many, many hosts. Statistics:
 
 You will often have an additional full backup since every incremental
 forces the dependent full to be kept.  Look at the list of backups
 for a specific host.

Here is the list for one random host:

Backup# Type Filled Start Date Duration/mins Age/days Server Backup Path
17 full yes 10/24 20:49 53.1 35.6 /var/lib/backuppc/pc/blackbird/17
20 incr no 10/30 20:54 9.1 29.6 /var/lib/backuppc/pc/blackbird/20
21 full yes 11/1 21:06 44.6 27.6 /var/lib/backuppc/pc/blackbird/21
22 incr no 11/2 21:20 8.7 26.6 /var/lib/backuppc/pc/blackbird/22
23 incr no 11/5 21:05 10.7 23.6 /var/lib/backuppc/pc/blackbird/23
24 incr no 11/7 21:13 9.0 21.6 /var/lib/backuppc/pc/blackbird/24
25 full yes 11/13 21:14 77.5 15.6 /var/lib/backuppc/pc/blackbird/25
26 incr no 11/14 21:29 7.7 14.6 /var/lib/backuppc/pc/blackbird/26
27 incr no 11/15 21:52 9.3 13.6 /var/lib/backuppc/pc/blackbird/27

So, as you can see, there are three full and incrementals between them. 
That to my understanding is not right...

 You mention some hosts have 3 fulls.  I'm not sure why that would
 be unless there were incrementals after each (ie: a manual full
 mid-week could make this happen), or most of the extra fulls are
 the main storage host.

We do not use manual backups... It is a set it and forget it type of 
thing. We monitor it, but mid-week backups do not happen.
So I am just wondering if there is a way to run this nightly cleanup 
manually? Or get any output from the backup?

Thanks for your response!

Dan

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Out of space on the backup volume.

2006-11-29 Thread Craig Barratt
Daniel writes:

 Craig Barratt wrote:
  Daniel writes:
  
  Now, in config.pl I trimmed down to keep only 1 full and 6 incrementals 
  and 10 (instead of 12) and 20 incrementals for the main storage. The 
  next day (today) I still see that there are 2 (or more) Full backups for 
  many, many hosts. Statistics:
  
  You will often have an additional full backup since every incremental
  forces the dependent full to be kept.  Look at the list of backups
  for a specific host.
 
 Here is the list for one random host:
 
 Backup# Type Filled Start Date Duration/mins Age/days Server Backup Path
 17 full yes 10/24 20:49 53.1 35.6 /var/lib/backuppc/pc/blackbird/17
 20 incr no 10/30 20:54 9.1 29.6 /var/lib/backuppc/pc/blackbird/20
 21 full yes 11/1 21:06 44.6 27.6 /var/lib/backuppc/pc/blackbird/21
 22 incr no 11/2 21:20 8.7 26.6 /var/lib/backuppc/pc/blackbird/22
 23 incr no 11/5 21:05 10.7 23.6 /var/lib/backuppc/pc/blackbird/23
 24 incr no 11/7 21:13 9.0 21.6 /var/lib/backuppc/pc/blackbird/24
 25 full yes 11/13 21:14 77.5 15.6 /var/lib/backuppc/pc/blackbird/25
 26 incr no 11/14 21:29 7.7 14.6 /var/lib/backuppc/pc/blackbird/26
 27 incr no 11/15 21:52 9.3 13.6 /var/lib/backuppc/pc/blackbird/27
 
 So, as you can see, there are three full and incrementals between them. 
 That to my understanding is not right...

This is correct.  Your configuration asks for at least one full
and at least 6 incrementals.  It looks like this machine isn't
regularly on the network.  The oldest incremental is quite old
(10/30) and the 10/24 full has to be kept for this incremental.
That full won't be deleted until another incremental occurs
(allowing the 10/30 incremental to be deleted).

In fact, the next time this machine is backed up, another full will
be done, not an incremental, since the oldest full is more than 7
days old. At this point, if you want fewer fulls you should either
reduce the number of old incrementals (see: $Conf{IncrKeepCntMin}
and $Conf{IncrAgeMax}), or reduce the total number of incrementals
(see $Conf{IncrKeepCnt}).

The basic point is that the number of incrementals (and their timing)
affects the number of fulls that needs to be kept.  However, the
additional storage for each full is more modest than you might
expect beacuse of pooling.

Craig

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Out of space on the backup volume.

2006-11-29 Thread Daniel Nowacki
Craig Barratt wrote:

 
 This is correct.  Your configuration asks for at least one full
 and at least 6 incrementals.  It looks like this machine isn't
 regularly on the network.  The oldest incremental is quite old
 (10/30) and the 10/24 full has to be kept for this incremental.
 That full won't be deleted until another incremental occurs
 (allowing the 10/30 incremental to be deleted).
 
 In fact, the next time this machine is backed up, another full will
 be done, not an incremental, since the oldest full is more than 7
 days old. At this point, if you want fewer fulls you should either
 reduce the number of old incrementals (see: $Conf{IncrKeepCntMin}
 and $Conf{IncrAgeMax}), or reduce the total number of incrementals
 (see $Conf{IncrKeepCnt}).
 
 The basic point is that the number of incrementals (and their timing)
 affects the number of fulls that needs to be kept.  However, the
 additional storage for each full is more modest than you might
 expect beacuse of pooling.

The thing is... that the nightly cleanups do not happen. And thus, we 
get this in log files:

Contents of file /var/lib/backuppc/log/LOG, modified 2006-11-29 05:00:00

2006-11-28 13:00:00 Running 2 BackupPC_nightly jobs from 0..15 (out of 
0..15)
2006-11-28 13:00:00 Running BackupPC_nightly -m 0 127 (pid=14374)
2006-11-28 13:00:00 Running BackupPC_nightly 128 255 (pid=14375)
2006-11-28 13:00:00 Next wakeup is 2006-11-28 19:00:00
2006-11-28 19:00:00 Next wakeup is 2006-11-28 20:00:00
2006-11-28 20:00:00 Next wakeup is 2006-11-28 21:00:00
2006-11-28 21:00:00 Next wakeup is 2006-11-28 22:00:00
2006-11-28 21:06:38 Finished  admin1  (BackupPC_nightly 128 255)
2006-11-28 21:06:39 BackupPC_nightly now running BackupPC_sendEmail
2006-11-28 21:06:39 Disk too full (96%); skipping 61 hosts
2006-11-28 21:06:44 Finished  admin  (BackupPC_nightly -m 0 127)
2006-11-28 21:06:44 Pool nightly clean removed 0 files of size 0.00GB
2006-11-28 21:06:44 Pool is 0.00GB, 0 files (0 repeated, 0 max chain, 0 
max links), 1 directories
2006-11-28 21:06:44 Cpool nightly clean removed 0 files of size 0.00GB
2006-11-28 21:06:44 Cpool is 327.32GB, 5121905 files (2053 repeated, 44 
max chain, 31999 max links), 4369 directories
2006-11-28 22:00:00 Disk too full (96%); skipping 61 hosts
2006-11-28 22:00:00 Next wakeup is 2006-11-28 23:00:00
2006-11-28 23:00:00 Disk too full (96%); skipping 61 hosts
2006-11-28 23:00:00 Next wakeup is 2006-11-29 01:00:00
2006-11-29 01:00:00 Disk too full (96%); skipping 61 hosts
2006-11-29 01:00:00 Next wakeup is 2006-11-29 02:00:00
2006-11-29 02:00:00 Disk too full (96%); skipping 61 hosts
2006-11-29 02:00:00 Next wakeup is 2006-11-29 03:00:00
2006-11-29 03:00:00 Disk too full (96%); skipping 61 hosts
2006-11-29 03:00:00 Next wakeup is 2006-11-29 04:00:00
2006-11-29 04:00:00 Disk too full (96%); skipping 61 hosts
2006-11-29 04:00:00 Next wakeup is 2006-11-29 05:00:00
2006-11-29 05:00:00 Disk too full (96%); skipping 61 hosts
2006-11-29 05:00:00 Next wakeup is 2006-11-29 13:00:00

Hm, I will make the suggested changes and see tomorrow, how it goes. 
Thanks! I really appreciate pointing me in the right direction!
:)

[d]

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Out of space on the backup volume.

2006-11-29 Thread Craig Barratt
Daniel writes:

  This is correct.  Your configuration asks for at least one full
  and at least 6 incrementals.  It looks like this machine isn't
  regularly on the network.  The oldest incremental is quite old
  (10/30) and the 10/24 full has to be kept for this incremental.
  That full won't be deleted until another incremental occurs
  (allowing the 10/30 incremental to be deleted).
  
  In fact, the next time this machine is backed up, another full will
  be done, not an incremental, since the oldest full is more than 7
  days old. At this point, if you want fewer fulls you should either
  reduce the number of old incrementals (see: $Conf{IncrKeepCntMin}
  and $Conf{IncrAgeMax}), or reduce the total number of incrementals
  (see $Conf{IncrKeepCnt}).
  
  The basic point is that the number of incrementals (and their timing)
  affects the number of fulls that needs to be kept.  However, the
  additional storage for each full is more modest than you might
  expect beacuse of pooling.
 
 The thing is... that the nightly cleanups do not happen. And thus, we 
 get this in log files:

My guess is that nothing is getting deleted from the pool since no
further backups have been deleted.

Craig

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] merging two servers

2006-11-29 Thread Klaas Vantournhout
Hi,

In our department, we might combine several backup servers to one big one.

The question is of course, how do you start with that. Can you just copy
all the stuff?

Thanks

klaas
-- 
Several billion trillion tons of superhot
exploding hydrogen nuclei rose slowly above
the horizon and managed to look small, cold
and slightly damp.
Douglas Adams - The Hitch Hickers
Guide to the Galaxy

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Rsyncd

2006-11-29 Thread Byron Trimble
When I ran rsync target_host::, this is the message that I reeived:

@ERROR: auth failed on module MSSQL
rsync error: error starting client-server protocol (code 5) at main.c(1296)
[receiver=2.6.8]

Any advice on what this error means?

Thanks,

-Original Message-
From: Les Mikesell [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 28, 2006 5:13 PM
To: Byron Trimble
Cc: Backuppc-Users (E-mail)
Subject: Re: [BackupPC-users] Rsyncd


On Tue, 2006-11-28 at 16:57 -0500, Byron Trimble wrote:

 One question. I have BackupPC running on a Linux server. I'm trying to
 backup a Win2k server. Should I have the rsync daemon running on the Linux
 or Win2k server? 

The rsync daemon would run on the win2k box.  Backuppc has a version
of rsync embedded, but you can test the setup with the linux
command line rsync like:
rsync target_host::
The double-colons indicate that the remote is running in standalone
daemon mode and omitting a destination makes it give a listing.
After you see the module name list you can:
rsync target_host::module/
for a directory listing.  If those aren't working, you have a problem
on the windows side.

-- 
  Les Mikesell
   [EMAIL PROTECTED]

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] NT_STATUS_BAD_NETWORK_NAME

2006-11-29 Thread Jean-Michel Beuken
Hello,

I have a common config for all PC and particularly, for ShareName

$Conf{SmbShareName} = ['SYSTEM$','DATA$','USERS$','E$'];

when the share doesn't exist on a client, the remainder of backup fails :

2006-11-29 21:53:44 full backup started for share SYSTEM$
2006-11-29 22:15:31 full backup started for share DATA$
2006-11-29 22:15:33 Got fatal error during xfer (tree connect failed: 
NT_STATUS_BAD_NETWORK_NAME)
2006-11-29 22:15:38 Backup aborted (tree connect failed: 
NT_STATUS_BAD_NETWORK_NAME)
2006-11-29 22:15:39 Saved partial dump 0

nevertheless I put this :

$Conf{BackupZeroFilesIsFatal} = '0';

the backup fails...

is there a parameter or a method to carry on the backup nevertheless a 
'NT_STATUS_BAD_NETWORK_NAME' 
error ?

regards

jmb


---
Dr Ir Jean-Michel Beuken  |  University of Louvain-La-Neuve
Computer Scientist|  CISM, Bat P. Curie
UCL PowerComputing Manager|  1, Rue du Compas
   |  1348 Louvain-La-Neuve
   |  BELGIUM
---
Tel : +32 10473570   Fax : +32 10473452
HTTP://www.mapr.ucl.ac.be/~beuken
---

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] NT_STATUS_BAD_NETWORK_NAME

2006-11-29 Thread Craig Barratt
Jean-Michel Beuken writes:

 I have a common config for all PC and particularly, for ShareName
 
 $Conf{SmbShareName} = ['SYSTEM$','DATA$','USERS$','E$'];
 
 when the share doesn't exist on a client, the remainder of backup fails :
 
 2006-11-29 21:53:44 full backup started for share SYSTEM$
 2006-11-29 22:15:31 full backup started for share DATA$
 2006-11-29 22:15:33 Got fatal error during xfer (tree connect failed: 
 NT_STATUS_BAD_NETWORK_NAME)
 2006-11-29 22:15:38 Backup aborted (tree connect failed: 
 NT_STATUS_BAD_NETWORK_NAME)
 2006-11-29 22:15:39 Saved partial dump 0
 
 nevertheless I put this :
 
 $Conf{BackupZeroFilesIsFatal} = '0';
 
 the backup fails...
 
 is there a parameter or a method to carry on the backup nevertheless a 
 'NT_STATUS_BAD_NETWORK_NAME' 
 error ?

No.  If you ask for a share to be backed up, it is considered
a fatal error if you can't connect to that share.

$Conf{BackupZeroFilesIsFatal} only determines what happens with
an otherwise successful backup that has no files.  That defaults
to on, since it usually means there is some underlying problem
(permissions, failed mount etc).

Craig

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Upgrade to 3.0.0beta2

2006-11-29 Thread Jason Hughes
Since I finally got 2.1.2pl2 working, I decided to upgrade to 3.0.0beta2 
(a glutton for punishment, I am).  Everything went swimmingly until I 
tried to look at any logs or view the config files either for clients or 
the general system, via the CGI interface.

Here's what I get from the web server when looking at the LOG file:

Global symbol $LogDir requires explicit package name at 
/home/backuppc/lib/BackupPC/CGI/View.pm line 99.
Compilation failed in require at /var/www/cgi-bin/BackupPC_Admin line 107.


Here's what I get when trying to view a client's config file:

Undefined subroutine BackupPC::CGI::View::action called at 
/var/www/cgi-bin/BackupPC_Admin line 109.


I traced through the logic and it looks like it should work, at least 
requiring the View.pm package.  I checked the path and dates of all the 
files, and they were definitely installed a few hours ago.  Any ideas?

Thanks,
JH

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Rsyncd

2006-11-29 Thread Les Mikesell
On Wed, 2006-11-29 at 14:48, Byron Trimble wrote:
 When I ran rsync target_host::, this is the message that I reeived:
 
 @ERROR: auth failed on module MSSQL
 rsync error: error starting client-server protocol (code 5) at main.c(1296)
 [receiver=2.6.8]
 
 Any advice on what this error means?

It may just mean you didn't supply the right password.  Try a
backup run and look at the log.

-- 
  Les Mikesell
   [EMAIL PROTECTED]



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Using mod_auth_pam

2006-11-29 Thread Alex Schaft
Hi,

I've successfully configured mod_auth_pam, and can now log on using 
domain user name and password. I have also put user names in the host 
file as domain\user. The only problem I still have is that when I set 
$Conf{CgiAdminUsers} to domain\user, the admin interface does not come up.

What other format can I try?

Alex

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/