Re: [BackupPC-users] BackupPC_copyPcPool error

2011-09-05 Thread Tyler J. Wagner
On 2011-09-02 18:06, Jeffrey J. Kosowsky wrote:
 Why do you assume something is wrong with how you are using the
 program?
 
 The error message is saying that you have a bunch of files in the pc
 tree that are linked to each other but not to the pool (actually there
 is a small bug in my program in that the attrib file should say VALID
 pc file not INVALID pc file - I will fix that). Such cases can
 happen when a backup fails to link to the file. Alternatively, it
 could mean the attrib file is broken (in an upcoming version, I will
 separate these cases...)

I assumed it was in error because that was the first backup of the first
host, and I'd never received any indication that it failed to link.

 Can you confirm if those files are indeed in the pool?

The files are not in the pool. How can I manually force them to link?

Regards,
Tyler

-- 
Anti-vax people will try to avoid discussing how much mercury is in a
vaccine vs a tuna fish sandwich, they just keep repeating a facetiously
simplistic party line that toxins are bad. Thimerosal has nonetheless
been phased out of vaccines to humor poorly informed, panicky people
with poor risk estimation skills.
   -- Soren Ragsdale

--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
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] Would a noob-oriented HowTo be useful on the wiki?

2011-09-05 Thread Holger Parplies
Hi,

hans...@gmail.com wrote on 2011-09-05 09:49:35 +0700 [[BackupPC-users] Would a 
noob-oriented HowTo be useful on the wiki?]:
 [...]
 On the other hand if more people feel like Tim (at least based on my
 interpretation of what he wrote), perhaps you'd prefer to only
 encourage people already advanced in Linux skills to implement
 BackupPC?

I believe you totally misunderstood Tim there. My point would be - and I think
his was similar - that if you don't have the required skills (Linux, BackupPC,
whatever may be relevant), you shouldn't ignore the list's recommendations, or
if you do, you shouldn't be surprised to find you are on your own. Jeffrey
explained this quite well. We simply won't be able to keep track of what you
have done, and even if we do, we won't enjoy telling you how to undo mistakes
you would never have made, if you had listened in the first place (besides some
mistakes not being easily undoable). We will regret that user mistakes have a
tendency to reflect badly on BackupPC if we don't resolve them or at least
verbosely explain why BackupPC could not have avoided them.

Actually, you probably *won't* find that you are on your own. Someone will
usually answer. It's just that if that answer is not correct, nobody more
knowledgeable will bother to step in. And that's not just your problem, it's
a problem for every user finding your thread via Google and being mislead by
bogus information.

I believe it is ok for anyone to ask questions about BackupPC here. But there
are some things to keep in mind.

* Not every question is on-topic, just because BackupPC is installed on your
  system. If you don't have basic Unix system administration skills, you
  will have questions that are better asked and answered elsewhere. It may
  not always be easy for you to distinguish whether your issue is BackupPC-
  specific or not, and you might even get away with asking off-topic questions
  here occasionally, but you *will* eventually need some skills that you won't
  learn here. If that's unacceptable for you, then, indeed, you shouldn't be
  running BackupPC.

* A lot of questions - especially basic issues - have been encountered by
  other people before you and have been repeatedly discussed here and
  elsewhere. A lot of questions - especially basic issues - are answered by
  the documentation. If you have a question - especially a basic issue - it
  is a good idea to search for an answer first before posting here. There is
  no point in asking us to read an existing answer to you, because you'll
  have to read our responses, just like you would need to read the original.
  Yes, the wiki needs a lot of work, but the original BackupPC documentation
  is excellent.

* If you ask a question, you should do that in a sensible way. For details,
  see http://linuxmafia.com/faq/Essays/smart-questions.html or a similar
  guide. In fact, the introduction of that essay gives a good answer to your
  above question.

 [...]
 For example - I have extremely detailed notes on my most recent
 step-by-step process - which I'm happy to say is proceeding
 successfully with a matched set of Ubuntu's Lucid 10.04 (current
 LTS) server and its official BackupPC package, rather than mixing the
 latest Natty with the older package.

 These notes could easily be cleaned up into a Basic installation of
 BackupPC on Ubuntu howto for Linux beginners, and I would be happy to
 post that to the wiki, if TPTB on the list think it would be helpful
 to the project.

I don't think anyone on the list has more votes than anyone else, and there
are no requirements for joining the list.

Contributions to the wiki are always welcome, though I'm not quite sure there
*should be* many steps to installing BackupPC in Ubuntu. For write access to
the wiki, create a SourceForge account and send me a note off-list so I can
add you.

 watching the files opened by the backuppc process, matching on an
 appropriate string
 
   -  watch -n 5 lsof -n -u backuppc | egrep 'cygdrive' | awk '{print }'

Err, does awk '{print}' do anything meaningful? Does egrepping for
'cygdrive' do anything better than awking for /cygdrive/ would? :)
Will lsof show you anything meaningful if you don't run it as root (or
backuppc)?

 The latter assumes your client is windoze with the traditional
 cygdrive path setup - using backuppc as your search string will give
 more general results.

Would grepping for 'backuppc' *discard* any lines?

Regards,
Holger

--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:

Re: [BackupPC-users] Would a noob-oriented HowTo be useful on the wiki?

2011-09-05 Thread Arnold Krille
On Monday 05 September 2011 04:49:35 hans...@gmail.com wrote:
 For example - I have extremely detailed notes on my most recent
 step-by-step process - which I'm happy to say is proceeding
 successfully with a matched set of Ubuntu's Lucid 10.04 (current
 LTS) server and its official BackupPC package, rather than mixing the
 latest Natty with the older package.

Here is what I had to do to get backuppc running on ubuntu 10.04:

sudo aptitude install backuppc

What more is there in your documentation that is really needed in addition to 
the above and the docs for backuppc?

Have fun,

Arnold


signature.asc
Description: This is a digitally signed message part.
--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev___
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] BackupPC_copyPcPool error

2011-09-05 Thread Jeffrey J. Kosowsky
Tyler J. Wagner wrote at about 09:46:39 +0100 on Monday, September 5, 2011:
  On 2011-09-02 18:06, Jeffrey J. Kosowsky wrote:
   Why do you assume something is wrong with how you are using the
   program?
   
   The error message is saying that you have a bunch of files in the pc
   tree that are linked to each other but not to the pool (actually there
   is a small bug in my program in that the attrib file should say VALID
   pc file not INVALID pc file - I will fix that). Such cases can
   happen when a backup fails to link to the file. Alternatively, it
   could mean the attrib file is broken (in an upcoming version, I will
   separate these cases...)
  
  I assumed it was in error because that was the first backup of the first
  host, and I'd never received any indication that it failed to link.
  
   Can you confirm if those files are indeed in the pool?
  
  The files are not in the pool. How can I manually force them to link?

You probably want to read the documentation under --help (and also
perhaps at the head of the executable). But you probably want to use
the --fixlinks|-f option which will create links between any pc file
that is not linked to the pool to either the appropriate existing pool
element (if it's there but not linked) or it will create a new
properly named pool element linked to the pc file if the pool element
doesn't already exist.

I am attaching a slightly updated version of the executable that makes the
error reporting a little more clear for non-linked pc files:


BackupPC_copyPcPool.pl
Description: Binary data

Good luck and please let me know how this works out for you...

--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev___
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] WINS server (nmbd) puzzle

2011-09-05 Thread Kenneth Porter
My client Windows XP boxes are failing to register with my WINS server
(running nmbd from Samba). I'm puzzled how to figure out what I'm doing
wrong.

I'm setting up BackupPC to back up my Windows clients using rsync. I've 
installed cwRsync to the clients. BackupPC uses nmblookup to find the 
client's IP address given its Windows NETBIOS name.

I'm distributing the WINS server address via DHCP and see it on the client
using ipconfig /all. I can run tcpdump on the server (filtering for this
client and the NETBIOS port) and see the register/response sequence at UDP
137:

MULTIHOMED REGISTRATION; REQUEST; UNICAST
REGISTRATION; POSITIVE; RESPONSE; UNICAST
REGISTRATION; REQUEST; UNICAST
REGISTRATION; POSITIVE; RESPONSE; UNICAST

If I signal the nmbd process with SIGHUP to make it dump its table to
nmbd.log, I don't see client in the list. I do see the server and my
Windows Active Directory server's records in the list, but no clients.

nmblookup finds the client by broadcast (the client responds with the
record) but nmblookup -U 127.0.0.1 says there's no record of it. (A query
for the server's own record finds it, so I know the WINS service is at
least working to that degree.)

So why is nmbd not remembering client records?

One thing I realized is that the Samba server is configured for one 
workgroup, and the client in question is in a different workgroup. Will 
nmbd not record records for workstations outside its workgroup?


--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
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] Getting backuppc to wol a client

2011-09-05 Thread Robert E. Wooden
Answer to No. 1 question:Yes.
Answer to No. 2 question:Part 1: Because ten hours is, in my case, 
sufficient time for it to have safely completed it's tasks.Part 2: 
Been backing up my four computers like this since January, 2011. Had a 
completed backup everyday for each computer.

I have a small system. If I had, for example, 10 computers to backup, I 
would let backuppc server run all the time, backup during the night 
(like I do now) and all would be great. But, like I said, I'm small, so 
. . . .

Now I just need to get my clients to shutdown when they have completed 
their backup, hum . . . . next project!

Robert Wooden
Nashville, TN. USA

Computer Freedom? . . . Linux


On 09/04/2011 08:43 PM, Holger Parplies wrote:

 1. Is BackupPC_nightly getting a chance to run (regularly)?
 2. Supposing you are automatically shutting down your BackupPC server, how
 do you make sure you are doing that when everything is idle? In 
 particular,
 if the first backup attempt ever fails, will BackupPC get a chance to 
 retry,
 or will you miss a backup that day?

--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
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] Getting backuppc to wol a client

2011-09-05 Thread Michael Stowe
 Answer to No. 1 question:Yes.
 Answer to No. 2 question:Part 1: Because ten hours is, in my case,
 sufficient time for it to have safely completed it's tasks.Part 2:
 Been backing up my four computers like this since January, 2011. Had a
 completed backup everyday for each computer.

 I have a small system. If I had, for example, 10 computers to backup, I
 would let backuppc server run all the time, backup during the night
 (like I do now) and all would be great. But, like I said, I'm small, so
 . . . .

 Now I just need to get my clients to shutdown when they have completed
 their backup, hum . . . . next project!

 Robert Wooden
 Nashville, TN. USA

Funnily enough, I put something like this together just tonight -- I
altered the original script to save the state of the machine (i.e.,
already on or off before the backup started) and then return it to that
state in a postcmd.

The latter part is a fairly trivial addition to the scripts I use to
invoke shadow copies ... I'll provide details (and scripts) if anybody's
interested.

--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
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/