Re: [BackupPC-users] problem in backuppc

2006-12-08 Thread Nils Breunese (Lemonbit)
louie aguilos wrote:

 got this problem backing up a linux box. ssh was configured already  
 but still got this error.

 Running: /usr/bin/ssh -q -x -l root 192.168.6.50 /usr/bin/rsync -- 
 server --sender --numeric-ids --perms --owner --group --devices -- 
 links --times --block-size=2048 --recursive --ignore-times . /home/

You need to change --devices to -D for recent versions of rsync.

Nils Breunese.



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


Re: [BackupPC-users] BackupPC 3.0, rsyncd and UTF-8 support?

2006-12-08 Thread Tomasz Chmielewski
Craig Barratt wrote:
 
 Rsync uses the native client charset coding (ie: it doesn't change anything).
 On a windows machine that is typically cp1250.
 
 BackupPC 3.0 uses utf8 on the server and can optionally translate
 to/from the client charset coding by setting $Conf{ClientCharset},
 eg:
 
 $Conf{ClientCharset} = 'cp1250';
 
 In western europe you might need to use cp1252.
 
 Unlike rsync, samba by default converts to/from utf8, so there is
 no need to have BackupPC 3.0 do any conversion for smb.

Still, it doesn't work perfectly well for me.
Windows machine is a 2003, German version. It mostly has filenames in 
German, so setting ClientCharset to cp1252 works well for German characters.

There are also filenames written for example in Russian or Greek, or 
some other languages not covered by cp1252.
In such cases, I get info that the file has vanished, which is not 
really true.

Is there a setting that will cover all languages?
The files in question can be read just fine on the Windows 2003 server.


Below, an example log showing problems with other languages:


Remote[2]: file has vanished: 
ygdrive/c/WINDOWS/system32/u:/Archiv/new/Profiles/user1/Recent/ 
(c)_ ?? ? ?_  ?_ 123 ?_ ??? 
?? _ ??? ??_ ??? ?? ? .lnk (in 
uDrive)


Remote[2]: file has vanished: 
ygdrive/c/WINDOWS/system32/u:/Freigaben/mig/Homes/user2/my/µet?f?as? 
pt? a?a??t ?a?µ?a?-d?µ???.doc (in uDrive)



-- 
Tomasz Chmielewski

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


[BackupPC-users] How to Troubleshoot BackupPC

2006-12-08 Thread John Cianfarani
Hello All,

 

I'm been testing BackupPC for awhile now (currently trying Beta3) and I'm
having some troubles with Rsyncd backups on windows machine.  I have 2 BPC
machines setup for testing one at home and one in a remote colo location.
If I backup a WinXP machine at my home (just a test directory with about
3500 files and directories approx 900meg) it works and completes fine.  When
I try the same backup from the colo location it seems to always fail.  When
I check the host status it's listed as a partial backup but it has the
correct number of files and the size looks right.  I have turned
XferLogLevel to 5 but I cannot find any reason in the error file or the log
file for the error.  The only thing I see is 'Got exit from child' I'm not
even sure if that is a bad thing.  Any advice on what might the cause of
this problem is most welcome.

 

Some Relevant Settings:

---

PingMaxMsec = 500 (Colo peers with my provider so pingtimes are very low)

Compression = 3

ClientTimeout = 72000 (Always seems to complete well within this time)

BackupZeroFilesisFatal = 0

 

 

 

Last lines of error files. 



Finished deltaGet phase 0
Child is sending done
Got done from child
Finished deltaGet phase 1
Got stats: 2109233 1639372 930763695 0 ('errorCnt' = 0,'ExistFileSize' =
930763695,'ExistFileCnt' = 3494,'TotalFileCnt' = 3494,'ExistFileCompSize'
= 501763531,'TotalFileSize' = 930763695)
attribWrite(dir=fTest) - /backup/BackupPC/data/pc/aegis/new/fTest/attrib
attribWrite(dir=) - /backup/BackupPC/data/pc/aegis/new//attrib
Got exit from child
Done: 3494 files, 930763695 bytes
Backup aborted ()

 

 

Also noticing some other oddities in another host I'm testing but I will
post that in another thread.

 

Thanks

John

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


Re: [BackupPC-users] How to Troubleshoot BackupPC

2006-12-08 Thread Tomasz Chmielewski
John Cianfarani wrote:
 Hello All,
 
  
 
 I’m been testing BackupPC for awhile now (currently trying Beta3) and 
 I’m having some troubles with Rsyncd backups on windows machine.  I have 
 2 BPC machines setup for testing one at home and one in a remote colo 
 location.  If I backup a WinXP machine at my home (just a test directory 
 with about 3500 files and directories approx 900meg) it works and 
 completes fine.  When I try the same backup from the colo location it 
 seems to always fail.  When I check the host status it’s listed as a 
 partial backup but it has the correct number of files and the size looks 
 right.  I have turned XferLogLevel to 5 but I cannot find any reason in 
 the error file or the log file for the error.  The only thing I see is 
 ‘Got exit from child’ I’m not even sure if that is a bad thing.  Any 
 advice on what might the cause of this problem is most welcome.
 
  
 
 Some Relevant Settings:
 
 ---
 
 PingMaxMsec = 500 (Colo peers with my provider so pingtimes are very low)
 
 Compression = 3
 
 ClientTimeout = 72000 (Always seems to complete well within this time)
 
 BackupZeroFilesisFatal = 0

Did you try to start the backup manually?
You will see the errors should there be any...

backuppc$ /srv/backuppc/bin/BackupPC_dump -v -f destination_machine


-- 
Tomasz Chmielewski
http://wpkg.org

-
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] 555 errors: Unable to read 65536 bytes from

2006-12-08 Thread David Koski
Two days in  a row I got 555 lines of error that are all the same for
both days:

Unable to read 65536 bytes from /home/backuppc/pc/mail/new//f%2f/RStmp got=0, 
seekPosn=402653184 (0,4,24581,401604608,402727821)

The curious thing is that the size is exactly 64k. And every line
of error is the same for two days. I looked at the system logs
and there were no errors.  Where is this error comming from? Is
it a media error? Is it on the client? The server? Is it a bug
in backuppc?

Thank you,
David Koski




-
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] Per-PC config problem

2006-12-08 Thread JW Smythe
  G'afternoon everyone.

  I'm having a stupid problem with BackupPC and it's per-pc
configuration.  I know I've done it before at another company, but I
don't have access to their stuff any more to see what stupid thing I'm
doing.

  This is a nice fresh installation of 3.0.0beta3

These are from my main config.pl

$Conf{TopDir}  = '/host/backuppc_data';
$Conf{ConfDir} = '/etc/BackupPC';
$Conf{LogDir}  = '/var/log/BackupPC';
$Conf{InstallDir}  = '/host/backuppc';
$Conf{CgiDir}  = '/host/httpd/htdocs';
$Conf{XferMethod} = smb;

  I'm still trying to get the first (and most important, of course)
site to back up.   It's per-pc config is at:

/host/backuppc_data/pc/domain.com/config.pl

which contains:

$Conf{XferMethod} = rsyncd;
$Conf{RsyncdUserName = user;
$Conf{RsyncdPasswd} = pass;
$Conf{RsyncShareName} = ['CDrive', 'EDrive'];

  When the backup runs, it's still trying to use the default smb, so I
know it's not reading the config.

Running: /usr/bin/smbclient domain.com\\C\$ -U  -E -N -d 1 -c
tarmode\ full -Tc -
full backup started for share C$
[SNIP]
Got fatal error during xfer (No files dumped for share C$)
Backup aborted (No files dumped for share C$)

I've made symlinks all over the place, trying to get this to work.
The real per-pc config is at
/host/backuppc_data/pc/domain.com/config.pl

I've symlinked:
/host/backuppc_data/pc /host/backuppc/pc

/host/backuppc_etc/pc -- /host/backuppc_data/pc
/host/backuppc/pc   -- /host/backuppc_data/pc
/var/lib/backuppc-- /host/backuppc

That last one, in turn makes /var/lib/backuppc/pc/domain.com link to
/host/backuppc_data/pc/domain.com

  I can't figure out where these stupid per-pc configs go.  I have
about 20 machines to get backed up sometime soon (like, this afternoon
would have been nice, but...)  Of course, each one is owned by a
different person, which needs it's own custom config, because none of
them can have the same password as another.  Some will use samba, some
rsync, blah, blah, blah.

  I know it can be done.  I had this working on a site with about 150
servers.  I'm at a loss to why it doesn't work this time.  Maybe a bug
in 3.0.0beta3, or a change that is escaping me, or complete user
failure?

-
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] dump failed: No files dumped for share

2006-12-08 Thread jschar28
Hi there,

trying to get my backuppc running I am at a dead end right now and dont
know what to do next. Maybe someone can give me a hint. This is the
output of Backuppc_dump:



[EMAIL PROTECTED]:/home/jo /home/backuppc/backuppc-install/bin/BackupPC_dump
-v -f 192.168.123.112
cmdSystemOrEval: about to system /bin/ping -c 1 -w 3 192.168.123.112
cmdSystemOrEval: finished: got output PING 192.168.123.112
(192.168.123.112) 56(84) bytes of data.
64 bytes from 192.168.123.112: icmp_seq=1 ttl=32 time=4.00 ms

--- 192.168.123.112 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 4.005/4.005/4.005/0.000 ms

cmdSystemOrEval: about to system /bin/ping -c 1 -w 3 192.168.123.112
cmdSystemOrEval: finished: got output PING 192.168.123.112
(192.168.123.112) 56(84) bytes of data.
64 bytes from 192.168.123.112: icmp_seq=1 ttl=32 time=0.143 ms

--- 192.168.123.112 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.143/0.143/0.143/0.000 ms

CheckHostAlive: returning 0.143
Running: /usr/bin/smbclient 192.168.123.112\\public -U backuppc -E
-N -d 1 -c tarmode\ full -Tc -
started full dump, share=public
Xfer PIDs are now 11235,11234
xferPids 11235,11234
cmdExecOrEval: about to exec /usr/bin/smbclient
192.168.123.112\\public -U backuppc -E -N -d 1 -c tarmode\ full -Tc -
WARNING: The printer admin option is deprecated
Unknown parameter encountered: character set
Ignoring unknown parameter character set
Unknown parameter encountered: mangle case
Ignoring unknown parameter mangle case
tarmode is now full, system, hidden, noreset, verbose
NT_STATUS_OK listing \\*
tar: dumped 0 files and directories
Total bytes written: 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 public)
cmdSystemOrEval: about to system /bin/ping -c 1 -w 3 192.168.123.112
cmdSystemOrEval: finished: got output PING 192.168.123.112
(192.168.123.112) 56(84) bytes of data.
64 bytes from 192.168.123.112: icmp_seq=1 ttl=32 time=0.189 ms

--- 192.168.123.112 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.189/0.189/0.189/0.000 ms

cmdSystemOrEval: about to system /bin/ping -c 1 -w 3 192.168.123.112
cmdSystemOrEval: finished: got output PING 192.168.123.112
(192.168.123.112) 56(84) bytes of data.
64 bytes from 192.168.123.112: icmp_seq=1 ttl=32 time=0.145 ms

--- 192.168.123.112 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.145/0.145/0.145/0.000 ms

CheckHostAlive: returning 0.145
Backup aborted (No files dumped for share public)
dump failed: No files dumped for share public


-
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] Error: Cannot connect to BackupPC

2006-12-08 Thread Krsnendu dasa
Can someone help me with this error.
I have fixed permissions to allow web interface to work and to access
log files from the web interface, but I still get the above error.

-
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] Error: Cannot connect to BackupPC

2006-12-08 Thread Nils Breunese (Lemonbit)
Krsnendu dasa wrote:

 Can someone help me with this error.
 I have fixed permissions to allow web interface to work and to access
 log files from the web interface, but I still get the above error.

Are you sure the backuppc service is running?

Nils Breunese.

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


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

   

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


[BackupPC-users] : Out of space on the backup volume. (Craig Barratt)

2006-12-08 Thread Brian Albright

I'm out of space on my backup volume as well.  I changed the config file to
hold less fulls and less incrementals but it won't clean what are my
options.  This reply below seems to state it won't clean up files until it
can do another backup which it can't because the drive is full.
-Original Message-

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, November 30, 2006 12:21 AM
To: backuppc-users@lists.sourceforge.net
Subject: BackupPC-users Digest, Vol 7, Issue 58

Send BackupPC-users mailing list submissions to
backuppc-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/backuppc-users
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than Re: Contents of BackupPC-users digest...


Today's Topics:

   1. lang=C for tar does not seem to work (Torsten Sadowski)
   2. Re: Out of space on the backup volume. (Craig Barratt)
   3. merging two servers (Klaas Vantournhout)
   4. Re: Rsyncd (Byron Trimble)
   5. NT_STATUS_BAD_NETWORK_NAME (Jean-Michel Beuken)
   6. Re: NT_STATUS_BAD_NETWORK_NAME (Craig Barratt)
   7. Upgrade to 3.0.0beta2 (Jason Hughes)
   8. Re: Rsyncd (Les Mikesell)
   9. Using mod_auth_pam (Alex Schaft)
  10. Re: Using mod_auth_pam (Craig Barratt)


--

Message: 1
Date: Wed, 29 Nov 2006 18:44:06 +0100
From: Torsten Sadowski [EMAIL PROTECTED]
Subject: [BackupPC-users] lang=C for tar does not seem to work
To: backuppc-users@lists.sourceforge.net
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;  charset=us-ascii

Hi, 

I ran into exactly the same problem today (quite suddenly, it worked
before). 
I put the LANG=C before sudo and for me it worked:

$Conf{TarClientCmd} =  '$sshPath -l backuppc tmac 
LANG=C /usr/bin/sudo ./GetTar -v -f - -C '

Cheers, Torsten




--

Message: 2
Date: Wed, 29 Nov 2006 09:46:05 -0800
From: Craig Barratt [EMAIL PROTECTED]
Subject: Re: [BackupPC-users] Out of space on the backup volume.
To: Daniel Nowacki [EMAIL PROTECTED]
Cc: backuppc-users@lists.sourceforge.net
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;   charset=US-ASCII

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



--

Message: 3
Date: Wed, 29 Nov 2006 19:00:44 +0100
From: Klaas Vantournhout [EMAIL PROTECTED]
Subject: [BackupPC-users] merging two servers
To: backuppc-users@lists.sourceforge.net
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1

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



--

Message: 4
Date: Wed, 29 Nov 2006 15:48:58 -0500
From: Byron Trimble [EMAIL PROTECTED]
Subject: Re: [BackupPC-users] Rsyncd
To: 'Les Mikesell' [EMAIL PROTECTED]
Cc: Backuppc-Users \(E-mail\) backuppc-users@lists.sourceforge.net
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain;   charset=iso-8859-1

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