Re: [BackupPC-users] first "full" never completes

2011-09-02 Thread Timothy J Massey
Les Mikesell wrote on 09/02/2011 11:05:22 PM: > On Fri, Sep 2, 2011 at 5:03 PM, wrote: > > I've now tried to uninstall/re-install twice times without success. > > Apparently the failure of the hardlink test during the postinstall also > > prevented the creation of the default config.pl and hos

Re: [BackupPC-users] first "full" never completes

2011-09-02 Thread Les Mikesell
On Fri, Sep 2, 2011 at 5:03 PM, wrote: > >>>In the past I was running the init start/stop via sudo - would that have >>> messed things up? > > Should I run the start/stop with su backuppc instead? I don't use debian/ubuntu that much. On a RedHat/Centos system you run the init scripts as root (u

Re: [BackupPC-users] first "full" never completes

2011-09-02 Thread Timothy J Massey
Quick reply (on iPad): I have used symlink for most of a decade now with zero issues on a dozen severs. Timothy J. Massey Out of the Box Solutions Inc. Sent from my iPad On Sep 2, 2011, at 5:09 PM, hans...@gmail.com wrote: > Sorry, editing mangled the referents of my pronouns: > > I've heard

Re: [BackupPC-users] Backing up slash partition

2011-09-02 Thread Arnold Krille
On Saturday 03 September 2011 00:57:48 Timothy Murphy wrote: > Can one sensibly back up / with BackupPC? As linux allows reading of "locked" files / has no concept of locking files exclusively, the answer is yes. The result you get is the same as if you would hard power-off your machine and rest

Re: [BackupPC-users] Backing up slash partition

2011-09-02 Thread Les Mikesell
On Fri, Sep 2, 2011 at 5:57 PM, Timothy Murphy wrote: > Can one sensibly back up / with BackupPC? Sure, but if you don't use --one-file-system in the options, be sure to exclude the pseudo mounts like /proc, /sys (and maybe /dev, depending on the version). -- Les Mikesell lesmikes...@gma

[BackupPC-users] Backing up slash partition

2011-09-02 Thread Timothy Murphy
Can one sensibly back up / with BackupPC? -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland -- Special Offer -- D

Re: [BackupPC-users] first "full" never completes

2011-09-02 Thread hansbkk
> > On Sat, Sep 3, 2011 at 5:03 AM, wrote: > >> >> This time I'm planning to delete the backuppc user >> > > Is anything more than removing the line from /etc/passwd required for this? > > >> as well as: >> >> /var/lib/backuppc >> /etc/backuppc >> /var/log/backuppc >> /usr/share/backuppc >> >> >>

Re: [BackupPC-users] first "full" never completes

2011-09-02 Thread hansbkk
On Sat, Sep 3, 2011 at 5:03 AM, wrote: > > This time I'm planning to delete the backuppc user > Is anything more than removing the line from /etc/passwd required for this? > as well as: > > /var/lib/backuppc > /etc/backuppc > /var/log/backuppc > /usr/share/backuppc > > > I'm not going to do an

Re: [BackupPC-users] first "full" never completes

2011-09-02 Thread hansbkk
On Sat, Sep 3, 2011 at 4:46 AM, Les Mikesell wrote: > On Fri, Sep 2, 2011 at 4:38 PM, wrote: > > > > Or is the message "link host-name" in my log when running "_dump > > -v" manually indicate a hardlinkng problem kicking in **after** the pc > > filesystem's already been created? > > I think the

Re: [BackupPC-users] first "full" never completes

2011-09-02 Thread hansbkk
On Sat, Sep 3, 2011 at 4:38 AM, Les Mikesell wrote: > In general, backuppc needs rw permission on everything, and apache > (www-data on debian/ubuntu) needs read access to some of it. > Sorry to need such hand-holding, but if I'm above my TOPDIR and execute chown -R backuppc TOPDIR chgrp -R www

Re: [BackupPC-users] first "full" never completes

2011-09-02 Thread Les Mikesell
On Fri, Sep 2, 2011 at 4:38 PM, wrote: > > Or is the message "link host-name" in my log when running "_dump > -v" manually indicate a hardlinkng problem kicking in **after** the pc > filesystem's already been created? I think the fact that the link step isn't completing is your real problem, but

Re: [BackupPC-users] first "full" never completes

2011-09-02 Thread hansbkk
On Sat, Sep 3, 2011 at 4:27 AM, Les Mikesell wrote: > I mean try to create a hardlink between a file under the pc directory > to under the cpool directory. > > Backuppc does approximately the same test at startup but in perl and > you may not see the real error message. > > Does the drive in qu

Re: [BackupPC-users] first "full" never completes

2011-09-02 Thread Les Mikesell
On Fri, Sep 2, 2011 at 4:24 PM, wrote: > > OK, I wiped and re-installed again. > > The four empty folders under TOPDIR are all "root root", I chown'd to > backuppc and chgrp'd to www-data and the init start worked fine. > > Now I'm just guessing that if I need to reset permissions in the future I

Re: [BackupPC-users] first "full" never completes

2011-09-02 Thread Les Mikesell
On Fri, Sep 2, 2011 at 4:10 PM, wrote: >> The ubuntu package should create a backuppc user and that should be >> the owner of everything under TOPDIR.  I think you need to diagnose >> why the link fails but trying the same operation from the shell (su -s >> /bin/bash backuppc if it doesn't have

Re: [BackupPC-users] first "full" never completes

2011-09-02 Thread hansbkk
On Sat, Sep 3, 2011 at 3:50 AM, Les Mikesell wrote: > The ubuntu package should create a backuppc user and that should be > the owner of everything under TOPDIR. I think you need to diagnose > why the link fails but trying the same operation from the shell (su -s > /bin/bash backuppc if it doesn

Re: [BackupPC-users] first "full" never completes

2011-09-02 Thread hansbkk
Sorry, editing mangled the referents of my pronouns: I've heard of some software/systems being unable to traverse them [SYMLINKS] - in fact I've read they're [BIND MOUNTS] pretty much transparent right down to the kernel level. --

Re: [BackupPC-users] Linux backups with rsync vs tar

2011-09-02 Thread Timothy J Massey
"Jeffrey J. Kosowsky" wrote on 09/02/2011 02:37:31 PM: > Timothy J Massey wrote at about 10:43:37 -0400 on Friday, September 2, 2011: > > > Your old backups should be 100% fine. They will remain in the pool just > > fine, etc. I do not believe that files transferred by rsync will pool

Re: [BackupPC-users] first "full" never completes

2011-09-02 Thread hansbkk
On Sat, Sep 3, 2011 at 3:50 AM, Les Mikesell wrote: > > The ubuntu package should create a backuppc user and that should be > the owner of everything under TOPDIR. I think you need to diagnose > why the link fails but trying the same operation from the shell (su -s > /bin/bash backuppc if it doe

Re: [BackupPC-users] Swapping drives for offsite - the whole shebang

2011-09-02 Thread hansbkk
On Sat, Sep 3, 2011 at 3:38 AM, Les Mikesell wrote: > It turns out that a linux raid1 mirror looks just like the non-raid > filesystem it contains - or enough that you can mount the single drive > as if it were a normal partition. So you can treat the rotated member > just the same as your sing

Re: [BackupPC-users] first "full" never completes

2011-09-02 Thread Les Mikesell
On Fri, Sep 2, 2011 at 3:32 PM, wrote: > > Re-installed, this time without anything extra in the fstab, just letting > the package go where it wants, but in the end of the post-install script, > get a message that the hard-link test failed. > > Did I miss something in uninstalling that may have i

Re: [BackupPC-users] first "full" never completes

2011-09-02 Thread hansbkk
On Sat, Sep 3, 2011 at 3:32 AM, wrote: > If you do this before the install, everything should land in the right >> place and get the right permissions. The critical things are that >> the pool/cpool/pc directories must all be in the same filesystem so >> hardlinks can work >> >> > Just to confi

Re: [BackupPC-users] Swapping drives for offsite - the whole shebang

2011-09-02 Thread Les Mikesell
On Fri, Sep 2, 2011 at 3:17 PM, wrote: > Obviously my proclivity for simplicity is overriding the advantages of the > other methods. For my situation, one key consideration is for a non-geek > staffer to be able to get the data back if there's a fire/explosion whatever > while I'm away on holida

Re: [BackupPC-users] first "full" never completes

2011-09-02 Thread hansbkk
On Sat, Sep 3, 2011 at 3:14 AM, Les Mikesell wrote: > I don't see any other message yet, but the way to get it right is to > just mount the partition you want to use for storage in the place > where backuppc wants it (should be /var/lib/backuppc with the deb > package). Or put a symlink there po

Re: [BackupPC-users] Swapping drives for offsite - the whole shebang

2011-09-02 Thread hansbkk
On Sat, Sep 3, 2011 at 2:59 AM, Les Mikesell wrote: > There has been a vast amount of discussion on this list covering this > topic so you should probably wade through the archives. > My approach is a 3-member software RAID1 where 2 drives are always in > the server and the 3rd is a set rotated o

Re: [BackupPC-users] first "full" never completes

2011-09-02 Thread Les Mikesell
On Fri, Sep 2, 2011 at 2:47 PM, wrote: >> >> The ubuntu package should have set everything up correctly.   You >> didn't change TOPDIR or mount something underneath it after the >> install, did you? >> > > Of course I did Les, precisely as outlined in the post crossed in the mail > just now. I

Re: [BackupPC-users] Offline backuppc mirror with rotating external drives

2011-09-02 Thread hansbkk
Was this post in response to mine just now asking for feedback on pretty much the same topic? If not, pretty amazing example of synchronicity (in Jung's sense, not regarding data mirroring 8-) I considered using RAID mirroring or other partition-cloning methods, but at this point I'm thinking I pre

Re: [BackupPC-users] Swapping drives for offsite - the whole shebang

2011-09-02 Thread Les Mikesell
On Fri, Sep 2, 2011 at 2:36 PM, wrote: > Here's an idea I have completely unrelated to my problem posting, looking > for feedback. > > Goal: using single large HDDs as backup media rotating them offsite, in as > simple and bullet-proof as possible a way. > > Strategy: > >   two hard drives >    

Re: [BackupPC-users] first "full" never completes

2011-09-02 Thread hansbkk
On Sat, Sep 3, 2011 at 2:23 AM, Les Mikesell wrote: > The ubuntu package should have set everything up correctly. You > didn't change TOPDIR or mount something underneath it after the > install, did you? > > -- > Les Mikesell > lesmikes...@gmail.com > 8-) Of course I did Les, precisely as

[BackupPC-users] Offline backuppc mirror with rotating external drives

2011-09-02 Thread Pavel Hofman
Hi, Since the $SUBJ topic appears in this mailing list on a regular basis, I wrote a short description of the solution we have been using for a few years, incl. the scripts. It is by no means a comprehensive writeup, nor is it a rocket science. Yet it may provide inspiration. http://blog.ivite

[BackupPC-users] Swapping drives for offsite - the whole shebang

2011-09-02 Thread hansbkk
Here's an idea I have completely unrelated to my problem posting, looking for feedback. Goal: using single large HDDs as backup media rotating them offsite, in as simple and bullet-proof as possible a way. Strategy: two hard drives one with the base server OS installed, install BackupPC 3.

Re: [BackupPC-users] first "full" never completes

2011-09-02 Thread Les Mikesell
On Fri, Sep 2, 2011 at 2:10 PM, wrote: > I just ran the _dump script manually again, this time fully deleting > everything under TOPDIR except the pool directories and with the -v verbose > option. > > The ending of the process was the same, except for a "link host_name" just > before the end abo

Re: [BackupPC-users] cannot get backuppc to wol a client

2011-09-02 Thread Tim Fletcher
On Fri, 2011-09-02 at 00:34 -0700, egrimisu wrote: > Hi guys, > > backuppc won't wol client pc > > NmbLookupFindHostCmd = /etc/backuppc/wakeup.sh 00:1a:4d:8c:0a:78 1 $host > > wakeup.sh has 777 rights and contains: > > > #!/bin/bash > wakeonlan $1 > sleep ${2}m > /usr/bin/nmblookup $3 > > usi

Re: [BackupPC-users] first "full" never completes

2011-09-02 Thread hansbkk
I just ran the _dump script manually again, this time fully deleting everything under TOPDIR except the pool directories and with the -v verbose option. The ending of the process was the same, except for a "link host_name" just before the end aborted message. I'm thinking maybe a permissions issu

Re: [BackupPC-users] Linux backups with rsync vs tar

2011-09-02 Thread Jeffrey J. Kosowsky
Timothy J Massey wrote at about 10:43:37 -0400 on Friday, September 2, 2011: > Your old backups should be 100% fine. They will remain in the pool just > fine, etc. I do not believe that files transferred by rsync will pool > with files transferred by tar (due to the attribute issue you men

[BackupPC-users] first "full" never completes

2011-09-02 Thread hansbkk
Running 3.1.0, installed via synaptic on Ubuntu 11.04. After spending a lot of time refining my excludes, thinking windows open files were preventing a successful full backup completing, I tried making the whole target one very small and static directory tree with the same result. There isn't any

Re: [BackupPC-users] BackupPC_copyPcPool error

2011-09-02 Thread Jeffrey J. Kosowsky
Tyler J. Wagner wrote at about 17:40:16 +0100 on Friday, September 2, 2011: > Hi all (well, Jeff, really), > > I'm trying to copy a very large pool (1 TB, 70 hosts, about 20 backups > each) to another server with a bigger disk array. I'm using > BackupPC_copyPcPool. However, on running it I g

[BackupPC-users] BackupPC_copyPcPool error

2011-09-02 Thread Tyler J. Wagner
Hi all (well, Jeff, really), I'm trying to copy a very large pool (1 TB, 70 hosts, about 20 backups each) to another server with a bigger disk array. I'm using BackupPC_copyPcPool. However, on running it I get a lot of errors. cd /var/local/backuppc su - backuppc -c "/usr/local/bin/BackupPC_copyP

Re: [BackupPC-users] Large file backup problem (12GB)

2011-09-02 Thread Timothy J Massey
Dag wrote on 08/31/2011 09:03:42 AM: > I apologise if my question is answered before (I didn’t find it) > > I have a problem when BackupPC (3.2.1) tries to backup a large file, > about 12GB in size. > I use a CentOS BackupPC server backing up an CentOS client with > rsync over ssh. > I first sa

Re: [BackupPC-users] Linux backups with rsync vs tar

2011-09-02 Thread Timothy J Massey
charlesboyo wrote on 08/31/2011 05:53:43 AM: > I'm using BackupPC to take daily backups of a maildir totaling 250 > GB with average file sizes of 500 MB (text mailboxes, these files > change everyday). > Currently, my setup take full backups once a week and incremental > backups every day bet

[BackupPC-users] cannot get backuppc to wol a client

2011-09-02 Thread egrimisu
Hi guys, backuppc won't wol client pc NmbLookupFindHostCmd = /etc/backuppc/wakeup.sh 00:1a:4d:8c:0a:78 1 $host wakeup.sh has 777 rights and contains: #!/bin/bash wakeonlan $1 sleep ${2}m /usr/bin/nmblookup $3 using the dos command wolcmd.exe 001a4d8c0a78 192.168.2.74 255.255.255.0 wakes the