Re: [BackupPC-users] Tar errors all of a sudden for localhost only

2007-06-29 Thread Randy Barlow
Rob Morin wrote:
 2007-06-29 13:35:40 Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h 
 localhost http://joe.dido.ca:888/backuppc/index.cgi?host=localhost -n 16 -s 
 /etc -t /updatedb.conf
 2007-06-29 13:35:45 Restore failed (BackupPC_tarCreate failed)
 
 I do not get it?  Backup works fine just restore does not..
 
 What else should i be checking... any logs?

Hmm, try using su - backuppc to become the backuppc user, and try the 
restore command there and see if you can do it or not.  You can also 
look at the logs on the CGI interface to see if they give you any useful 
info...

-- 
Randy Barlow
http://electronsweatshop.com

But you are a chosen race, a royal priesthood, a holy nation, a people 
for his own possession, that you may proclaim the excellencies of him 
who called you out of darkness into his marvelous light. Once you were 
not a people, but now you are God's people; once you had not received 
mercy, but now you have received mercy. ~1 Peter 2:9-10


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] CGI Problems

2007-06-28 Thread Randy Barlow
Brian Butler wrote:
 I have other web applications running on this server, i.e., 
 SquirrelMail, SugarCRM, etc., so it would be difficult to running as a 
 user other than apache.

Hi Brian,

My approach to this problem is to just run a separate instance of 
Apache for BackupPC, which allows you to run that instance as user 
backuppc without interfering with your other apps.  In Gentoo, this just 
means copying the init script and httpd.conf and /etc/conf.d/apache to 
BackupPC-named ones, and making the necessary changes.  Works like a 
charm for me!  Let us know if you need help on how to do this!

-- 
Randy Barlow
http://electronsweatshop.com

But you are a chosen race, a royal priesthood, a holy nation, a people 
for his own possession, that you may proclaim the excellencies of him 
who called you out of darkness into his marvelous light. Once you were 
not a people, but now you are God's people; once you had not received 
mercy, but now you have received mercy. ~1 Peter 2:9-10


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] The web interface may be confusing for BackupFilesExclude

2007-06-23 Thread Randy Barlow
Randy Barlow wrote:
 I noticed that I have a ton of errors on the backup of my laptop of a 
 folder that I thought I had in the BackupFilesExclude, and it turns out 
 that I had simply misinterpreted the Web Interface.  I had used the New 
 Key: part to put in the paths I didn't want to backup, rather then 
 putting the share name there and then next to it putting the paths in 
 that share that I didn't want to backup.  I see how it works now, but it 
 wasn't completely intuitive to me, and I honestly didn't figure out the 
 problem until I took a look at /etc/BackupPC/config.pl and had a big 
 Aha! moment :)  Not sure what I would suggest to improve it though, 
 except perhaps to use different language.  Perhaps say Share Name 
 instead of New Key and in the boxed that appear next to the share 
 names, some kind of label like Paths relative to share to be excluded 
 (maybe that's too long...) so it's more clear?

Sorry for replying to my own thread, but one more thought I had: I think 
the web interface should generate an error for a user that tries to put 
values in New Key that aren't listed as a share name (Such as the 
variable RsyncShareName if rsync in the transport method).  Since my 
RsyncShareName = '/', it shouldn't allow me to list '/tmp' as a New 
Key, as an example.  If this had given me an error, I might have 
figured out what was going on, and at least wouldn't have been trying to 
backup NCSU's entire distributed file system (gobs and gobs of 
terrabytes onto my tiny 160 GB HD :))

Thanks again!

-- 
Randy Barlow
http://electronsweatshop.com

But you are a chosen race, a royal priesthood, a holy nation, a people 
for his own possession, that you may proclaim the excellencies of him 
who called you out of darkness into his marvelous light. Once you were 
not a people, but now you are God's people; once you had not received 
mercy, but now you have received mercy. ~1 Peter 2:9-10


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] The web interface may be confusing for BackupFilesExclude

2007-06-23 Thread Randy Barlow
I noticed that I have a ton of errors on the backup of my laptop of a 
folder that I thought I had in the BackupFilesExclude, and it turns out 
that I had simply misinterpreted the Web Interface.  I had used the New 
Key: part to put in the paths I didn't want to backup, rather then 
putting the share name there and then next to it putting the paths in 
that share that I didn't want to backup.  I see how it works now, but it 
wasn't completely intuitive to me, and I honestly didn't figure out the 
problem until I took a look at /etc/BackupPC/config.pl and had a big 
Aha! moment :)  Not sure what I would suggest to improve it though, 
except perhaps to use different language.  Perhaps say Share Name 
instead of New Key and in the boxed that appear next to the share 
names, some kind of label like Paths relative to share to be excluded 
(maybe that's too long...) so it's more clear?

I love BackupPC and I recommend it to all my friends, thanks for the 
killer F/OSS app!

-- 
Randy Barlow
http://electronsweatshop.com

But you are a chosen race, a royal priesthood, a holy nation, a people 
for his own possession, that you may proclaim the excellencies of him 
who called you out of darkness into his marvelous light. Once you were 
not a people, but now you are God's people; once you had not received 
mercy, but now you have received mercy. ~1 Peter 2:9-10


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Howto create and keep yearly backups

2007-06-23 Thread Randy Barlow
Matthias Meyer wrote:
 How I can reach the goals:
 - get and keep till end of the year one full backup each month
 - get and keep forever one full backup each year

 From the config file:
 # Exponential expiry is specified using an array for $Conf{FullKeepCnt}:
 #
 #   $Conf{FullKeepCnt} = [4, 2, 3];
 #
 # Entry #n specifies how many fulls to keep at an interval of
 # 2^n * $Conf{FullPeriod} (ie: 1, 2, 4, 8, 16, 32, ...).
 #
 # The example above specifies keeping 4 of the most recent full backups
 # (1 week interval) two full backups at 2 week intervals, and 3 full
 # backups at 4 week intervals, eg:
 #
 #full 0 19 weeks old   \
 #full 1 15 weeks old---  3 backups at 4 * $Conf{FullPeriod}
 #full 2 11 weeks old   / 
 #full 3  7 weeks old   \  2 backups at 2 * $Conf{FullPeriod}
 #full 4  5 weeks old   /
 #full 5  3 weeks old   \
 #full 6  2 weeks old\___  4 backups at 1 * $Conf{FullPeriod}
 #full 7  1 week old /
 #full 8  current   /
 #
 # On a given week the spacing might be less than shown as each backup
 # ages through each expiry period.  For example, one week later, a
 # new full is completed and the oldest is deleted, giving:
 #
 #full 0 16 weeks old   \
 #full 1 12 weeks old---  3 backups at 4 * $Conf{FullPeriod}
 #full 2  8 weeks old   / 
 #full 3  6 weeks old   \  2 backups at 2 * $Conf{FullPeriod}
 #full 4  4 weeks old   /
 #full 5  3 weeks old   \
 #full 6  2 weeks old\___  4 backups at 1 * $Conf{FullPeriod}
 #full 7  1 week old /
 #full 8  current   /

Suppose that the Full Period is set to 6.97 as the default install set 
it.  Let's just call this 7.

Then $Conf{FullKeepCnt} = [4, 0, 12, 0, 0, 100];

will do something close to what you want.  You will get 1 Backup per 
week for 4 weeks, then 1 backup per month for 12 months (one full per 
month till the end of the year) and then you will get 100 (this just 
should be a big number) backups that are every 7-8 months, which is as 
close to yearly as you can get without skipping any years.  You could 
add another 0 before the 100 and it would keep a backup about every 15 
months or so, which would skip years from time to time.  To make it more 
exactly to years, you can play with $Conf{FullPeriod}.  Hope this helps!

-- 
Randy Barlow
http://electronsweatshop.com

But you are a chosen race, a royal priesthood, a holy nation, a people 
for his own possession, that you may proclaim the excellencies of him 
who called you out of darkness into his marvelous light. Once you were 
not a people, but now you are God's people; once you had not received 
mercy, but now you have received mercy. ~1 Peter 2:9-10


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] cross backups (gentoo - WinXP)

2007-06-22 Thread Randy Barlow
Wojtek Swiatek wrote:
 Thank you for the hint. I understand the limitations of WinXP with 
 hardlinks, but at the same time  I would like to make backups as 
 automatic as possible (I have the bad feeling that I will forget to 
 download the .tar files you mention).
 
 Would there be a way to backup on an SMB mounted filesystem (which 
 physically is on the laptop) directly into a .tar file? In that case I 
 would not need to browse and download it manually.

A less manual way would be to have the BackupPC server mount the SMB 
share, use BackupPC_Restore (I think - I haven't ever done this mind 
you, so I'm just speaking hypothetically!) and have it place the 
resultant .tar file somewhere on the laptop's SMB share, and then 
unmount.  You could use cron to do this regularly and automagically. 
Hope this helps!

-- 
Randy Barlow
http://electronsweatshop.com

But you are a chosen race, a royal priesthood, a holy nation, a people 
for his own possession, that you may proclaim the excellencies of him 
who called you out of darkness into his marvelous light. Once you were 
not a people, but now you are God's people; once you had not received 
mercy, but now you have received mercy. ~1 Peter 2:9-10


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] cross backups (gentoo - WinXP)

2007-06-19 Thread Randy Barlow
Wojtek Swiatek wrote:
 My goal is to back up on my laptop some parts of the desktop when the 
 laptop is available on the network (say, /etc to be backed up in 
 C:\SERVER_BACKUP\etc).
 In other words, the backup store for desktop (which also hosts 
 BackupPC) should be on the WinXP laptop.
 
 Is there a straightforward way to achieve this? I would be grateful for 
 any pointers.

The trouble is that the windows machine won't do hard links so you won't
be able to do this the traditional backuppc way.  I'd recommend that you
backup the gentoo machine with itself (I'd recommend using tar with sudo
permissions as the backup transfer method) and then periodically use the
laptop to navigate to the BackupPC web interface and download a tar
archive of a recent backup (maybe keep a couple if you have the space)
and keep those files on the laptop in a spot that won't be backed up
again by the gentoo box.

-- 
Randy Barlow
http://electronsweatshop.com

But you are a chosen race, a royal priesthood, a holy nation, a people
for his own possession, that you may proclaim the excellencies of him
who called you out of darkness into his marvelous light. Once you were
not a people, but now you are God's people; once you had not received
mercy, but now you have received mercy. ~1 Peter 2:9-10


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Backup from localhost failed

2007-06-17 Thread Randy Barlow
Matthias Meyer wrote:
 Is it right that localhost use ssh?

Well it will work if the backuppc user has the proper credentials to
login to localhost as root.  It seems that this might not be the case.
You don't need to use ssh and probably shouldn't however.  I'd recommend
using rsync or tar to backup localhost and just give the backuppc user
sudo permissions.

-- 
Randy Barlow
http://electronsweatshop.com

But you are a chosen race, a royal priesthood, a holy nation, a people
for his own possession, that you may proclaim the excellencies of him
who called you out of darkness into his marvelous light. Once you were
not a people, but now you are God's people; once you had not received
mercy, but now you have received mercy. ~1 Peter 2:9-10


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Should you have to patch BackupPC/Lib.pm?

2007-05-23 Thread Randy Barlow
Tony Shadwick wrote:
 I run into problems however when attempting to start backuppc.  I've 
 seen references to it on the net in various places. all pointing execing 
 as the wrong user:
 
 backup# perl BackupPC
 No language setting
 BackupPC::Lib-new failed

I am working on writing a Gentoo ebuild for backuppc, and I am seeing 
this same exact error when I call the init script.  The relevant section 
from my ebuild using configure.pl is:


./configure.pl \
 --batch \
 --bin-path perl=$(type -p perl) \
 --bin-path ptar=$(type -p tar) \
 --bin-path rsync=$(type -p rsync) \
 --bin-path ping=$(type -p ping) \
 --bin-path df=$(type -p df) \
 --bin-path ssh=$(type -p ssh) \
 --bin-path sendmail=$(type -p sendmail) \
 --bin-path hostname=$(type -p hostname) \
 --bin-path gzip=$(type -p gzip) \
 --bin-path bzip2=$(type -p bzip2) \
 --bin-path hostname=$(type -p hostname) \
 --hostname $(hostname) \
 --uid-ignore \
 --dest-dir ${D} \
 --html-dir ${MY_HTDOCSDIR}/image \
 --html-dir-url /backuppc/image \
 --cgi-dir ${MY_CGIBINDIR}/ \
 ${myconf} || die failed the configure.pl script

What sorts of things should I be looking for to find why the Lib-new is 
failing?  Tony, did you ever find a good solution to this problem?

R

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Should you have to patch BackupPC/Lib.pm?

2007-05-23 Thread Randy Barlow
Tony Shadwick wrote:
 As you're seeing 
 below, configure.pl seems to ignore pathing of the config file. :\

 I simply passed the parameter of the actual path inside Lib.pm, and 
 everything has worked well since.

I've got a bug that I'm making my comments on about this problem at 
http://bugs.gentoo.org/show_bug.cgi?id=141018 for anyone who is 
interested.  I think I may patch this Lib.pm file as well - could you 
provide the details of what you changed, perhaps a patch?  I'm no perl 
programmer!  Craig, can you verify if this is a problem in the 
configure.pl file, or if I/we simply just aren't using it correctly?

 We need to get this worked out though.  To be this close to having a 
 proper installer and stuck on this silly detailtsk. :P

Yes sir :)  I prefer not to install things outside of my packager :)

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Should you have to patch BackupPC/Lib.pm?

2007-05-23 Thread Randy Barlow
Tony Shadwick wrote:
 I don't have a lot of time to keep creating 
 patches, and I don't actually know *how* to properly create a patch. :P

First off, thanks for sending your changes to the file.  I just woke up 
(I have a very strange sleep schedule!) so I will get to work to see if 
that fixes my problem too!

To create a patch, you can use the program diff.  Suppose you have 
Lib.pm.original and Lib.pm (fixed for your distro).  This command will 
make a patch for you:

diff -u Lib.pm.original Lib.pm  Lib.pm.patch

Then you can use the patch program to apply the patch.  Hope this helps!

R

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Should you have to patch BackupPC/Lib.pm?

2007-05-23 Thread Randy Barlow
Randy Barlow wrote:
 I've got a bug that I'm making my comments on about this problem at 
 http://bugs.gentoo.org/show_bug.cgi?id=141018 for anyone who is 
 interested.

Sweet, I've got it I think.  Under Gentoo, it is customary to use 
/etc/backuppc and not /etc/BackupPC, and I think that me changing the 
directory in that way was the problem.  I'd still like the ability to 
move the configuration directory, but this will work just fine for now! 
  This is good though because it didn't require me to patch any files...

R

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Problems with per-PC config file

2007-05-22 Thread Randy Barlow
Dawn Susini Wallis wrote:
 I'm wondering what a non-FHS version of 
 BackupPC is.

The versions before 3.0.0 didn't follow the Linux File Hierarchy 
Standard (FHS), which is a standard (use Google to find it!) that 
specifies where files of each type should go.  For example, 
configuration files belong in the /etc directory.

R


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Advice on BackupPC

2007-05-16 Thread Randy Barlow
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Vetch wrote:
 The Rsync method presumably from your previous comment would check then
 send...?

Correct.

 I see - so you wouldn't compress the file, you'd compress the tunnel...
 Makes sense...
 Would it then still get compressed when stored at the other end?

Yes, if you set the backuppc server to do so.  Compression of the tunnel
just sends the bits across the line more efficiently, but at the other
end they are decompressed to be the same bits when received.  Then the
backuppc server can optionally store them in a compressed pool.  If you
don't compress them, my understanding is that they will be stored in a
much more easy to access format on the filesystem, which is handy if the
backup server goes down for some reason, though I've never tried it
since I always use compression...

 How well would that work for something like LVM snapshotting?
 I'm thinking of migrating my windows servers to Xen Virtual Machines on LVM
 drives
 If I take a snapshot of the drive and then mount it somewhere, could I get
 BackupPC to copy only the changed data as rsynch files?

I've not done this, but it should work if you dd the LV to a file
regularly...

 With regards to the storage - does it keep copies of all the versions of
 the
 file that is backed up, with differences stored and are they separated into
 chunks at that level, or are they stored as distinctive files?

It does intelligent pooling as far as I understand, meaning it will
store the big file once, and then store the next versions as differences
to the original.  Am I correct on this list readers?

R

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGS3wb7So1xaF/eR8RAi0/AJ0d885TDYgyRM2EKJnn8cX1wZyv9QCfUScK
VL1UMtY6Hclev/mWypXkL1M=
=Ndm8
-END PGP SIGNATURE-

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Permission Denied in Rsyncd

2007-04-16 Thread Randy Barlow
Howdy ya'll.  I'm using rsyncd as the transport mechanism for BackupPC 
3.0.0, and the backup is finishing fine, but lots of files and folders 
are giving me errors such as:

Remote[1]: rsync: opendir /lost+found (in root) failed: Permission 
denied (13)

My rsyncd on the system that I am trying to backup has a simple 
/etc/rsyncd.conf:

pid file = /var/run/rsyncd.pid
use chroot = no
read only = no

[root]
path = /
comment = root
exclude = /proc /tmp /data /mnt /dev /var/tmp /sys
auth users = backuppc
secrets file = /etc/rsyncd.secrets
hosts allow = a b c


Any ideas of what I can look at to see why I'm getting permission 
denied?  I thought that rsyncd runs as user root, which would give it 
full access to all files on the system, but it seems to be running as 
someone else since it's getting permission problems.  Who does rsyncd 
run as and how do I find out?  Better yet, how do I solve these errors?  
Thanks!

R

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] No Files dumped for share

2007-02-06 Thread Randy Barlow
OK, so I am trying to backup a windows client (vista, if that matters) (I've 
always just done Linux and Mac clients before) and I decided to just go with 
the smb transfer scheme.  I have put these four lines in my per-pc config 
file for the machine:

$Conf{SmbShareName} = 'rpbarlow';
$Conf{XferMethod} = 'smb';
$Conf{SmbShareUserName} = 'rpbarlow';
$Conf{SmbSharePasswd} = '***';

Now on the windows side of things, I made sure to share the folder, to open 
the File and Print Sharing ports on the firewall, and I made sure that 
rpbarlow had full permissions on the folder in the security and sharing tabs 
for the folder.  It seems like I can access the folder from the windows 
machine itself.  In fact, I have indeed verified that I can mount the shared 
folder on my linux machine, so I'm pretty confident that the permissions are 
correct on the windows side of things.  So why is backuppc having trouble?

The error just says that no files were dumped for the share.  No explicit 
errors.  The log just has these contents:

Running: /usr/bin/smbclient lappy786\\rpbarlow -U rpbarlow -E -N -d 1 -c 
tarmode\ full -Tc -
Xfer PIDs are now 14710,14709
session setup failed: SUCCESS - 0
session setup failed: SUCCESS - 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 rpbarlow)
Backup aborted (No files dumped for share rpbarlow)
I tried running that command directly as the backuppc users, and I get the 
famous NT_STATUS_ACCESS_DENIED message.  BUT, I can change -U rpbarlow to -U 
rpbarlow[%passwordHere] and I get

session setup failed: SUCCESS - 0
session setup failed: SUCCESS - 0

instead.  So something's still not quite right, and I'm guessing it's with 
the command I am using to call the backup.  Any hints?

R 



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Signal =PIPE?

2007-01-27 Thread Randy Barlow
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Howdy,

Every now and then (2 - 3 days or so) I get an e-mail like this:

 The following hosts had an error that is probably caused by a
 misconfiguration.  Please fix these hosts:
   - abc.ece.ncsu.edu (aborted by signal=PIPE)
 
 Regards,
 PC Backup Genie

It's always about the same PC, and I don't get these errors with other
machines.  The things that make this PC unique from my other machines
are that it is a remote host (so backup over Internet), and I use rsync
over ssh rather than rsyncd.  It's not something I'm worried about, but
I was wondering if anyone might have any helpful comments...

Randy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFu9GThOwpC65EoKARAtRiAKCeQlDzsiJlxT7kcgVky74/kS9WvQCfYMMZ
/X0G2fieF/x9i+GjYkxAcdQ=
=+ozv
-END PGP SIGNATURE-

-
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] avoidable failure?

2007-01-12 Thread Randy Barlow
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Cristian Tibirna wrote:
 The file named in the error is almost always a temporary one. It is thus 
 conceivable that the file was created before rsync's index building and was 
 destroyed before rsync finishing the syncing. But this is only my 
 supposition. I don't know exactly what happens.
 
 So, I wonder if this kind of problem (and the consequent generation of a 
 partial backup, thus the absence of a leggit backup from the set) is 
 avoidable.

Usually, temporary files are created in the /tmp or /var/tmp directories
- - I would recommend that you add these to the excludes directory since
they can cause problems as you have noted, and also since there is no
advantage to backing up temporary files.  Hope this helps!

R
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFp75S7So1xaF/eR8RAmqeAJ9RYQYqNrAChi841cTHgThxKy7grACgt92L
ZKv376vWpHZhgwbSQGwKNlU=
=G2Et
-END PGP SIGNATURE-

-
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] Defunct BackupPC Process

2007-01-11 Thread Randy Barlow
Howdy all.  I started a backup manually of a remote host (read: backup
using rsync over ssh through the public internet) yesterday morning at
~10am EST.  I was seeing network traffic all day yesterday of ~600K as
expected.  Last night the network traffic stopped, and so I looked at the
web interface to see if the backup had finished successfully.  The cgi
seems to think the backup is still happening, but there is no CPU
utilization, network traffic, or I/O traffic.  Top just shows the system
as being idle.  So I ran a ps -A | grep Backup to see what I could see,
and got this:

16897 ?00:00:03 BackupPC
16901 ?00:00:00 BackupPC_trashC
16928 ?00:00:13 BackupPC_dump defunct
16942 ?01:56:27 BackupPC_dump

What does the defunct mean?  I imagine it means something's not right. 
The Xfer PID processes seem to be the BackupPC_dump as well as an ssh.  It
may be relevant that this is the first backup for this particular host.  I
was thinking of giving it smaller pieces to backup next time so it doesn't
have the all at once problem, as someone on this list recently suggested,
but I wanted to ask first if there's any good reason to wait on these
processes, or if I should just assume them to be dead.  Strace doesn't
seem to think anything is happening with PIDs 16928 or 16942.  Comments?

-- 
Randy Barlow
http://www.electronsweatshop.com
Oh me of little faith...




-
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] Securing backuppc

2007-01-07 Thread Randy Barlow
On Sunday 07 January 2007 10:53, Bradley Alexander wrote:
 With the default installation method, you are supposed to create an ssh key
 for root on each of the client machines, and one for the backuppc user on
 the server. Unfortunately, the ideal way to create the key would be to use
 a passwordless ssh key, a method with which I am not overly comfortable. I
 considered using the ssh-agent and ssh-add...But if a machine (especially a
 remote one) reboots, the agent gets lost and you have to lay hands on the
 box to re-establish the ssh-agent.

I would personally recommend using rsyncd rather than rsync over ssh to avoid 
this issue (rsyncd uses its own authentication system, and can be run in a 
chrooted environment).  Also, be aware that rsyncd does not encrypt the 
traffic over the network, so if you are working over an untrusted network I 
would recommend running this through the VPN.

-- 
Randy Barlow
http://www.electronsweatshop.com
Oh me of little faith...

-
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] Returned mail: see transcript for details

2006-12-18 Thread Randy Barlow
On Mon, December 18, 2006 11:06 am, Michael Mansour wrote:
 I'm brand new to BackupPC and have gone through all the docs for
 configuration.

 I'm upto the bit where I've made the mod_perl cgi-bin work, but the
 webpage
 produced has a white background with the top left icon missing (the one
 which links to http://backuppc.sourceforge.net/

 Going to the properties of this image takes me to:

 http://logo.gif/

 Where can I check/set the web path correctly here?

 The web page I see from the cgi script looks nothing like the sample
 screens
 on the backuppc sourceforge site.

I'm guessing that you didn't set up something with the Backup PC images
directory correctly.  Check $Conf{CgiImageDir} =
'/var/www/backuppc/htdocs/BackupPC/'; (that's just an example of how I set
it up on my machine, but this should point to the location on the file
system where the actual .gif images for Backup PC are stored.  Also, check
$Conf{CgiImageDirURL} = '/BackupPC'; (again, that's just an example of how
it's set up on my machine, but it should be the / after
http://backupServerName where you can access the files.  Also, check the
httpd.conf file for permissions problems with the directory that contains
the images...

-- 
Randy Barlow
http://www.electronsweatshop.com
Oh me of little faith...

-
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] Child exited prematurely

2006-12-14 Thread Randy Barlow
On Thursday 14 December 2006 06:18, veeraa bose wrote:
 i chceked with small amount of data with two modules its working.

 could any body guide me how to rectify it

Is the backuppc data partition running out of space?  This same error happened 
to me when that was the case...

-
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] rsync error ssh_askpass w/ cygwin

2006-12-14 Thread Randy Barlow
On Thursday 14 December 2006 21:50, Jim McNamara wrote:
 [UPC]
 /cygdrive/f/UPC
 hosts allow = 192.168.2.1
 strict modes = false

 Connected to mas90-server:873, remote version 29
 Negotiated protocol version 26
 Error connecting to module /UPC/ at mas90-server:873: Unknown module
 '/UPC/' Got fatal error during xfer (Unknown module '/UPC/')
 Backup aborted (Unknown module '/UPC/')

 It seems to me that module /UPC/ is pretty well defined, but obviously
 this is new territory to me. Do I need to define it differently
 somehow?

In your per PC config for this machine (or in your general config if not using 
per PC config), do you have

$Conf{RsyncShareName} = '/UPC/';

or do you have

$Conf{RsyncShareName} = 'UPC';

?  For rsyncd it should be the latter, not the former!

R

-
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] Child Exited Prematurely

2006-12-11 Thread Randy Barlow
On Sun, 2006-12-10 at 19:55 -0500, Randy Barlow wrote:
 Howdy, I am seeing on one of my machines the Child exited prematurely 
 error.  
 It's BackupPC 2.1.2pl2 and the bizarre thing is that there are no further 
 errors (logs are empty).  What does this mean?  (I am using RsyncD as 
 transport method and backing up a Linux host).

Well it turns out that the partition was full, and so there wasn't any
space to write the data.  But it took me forever to notice that!!!

R


-
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] problem in backuppc

2006-12-07 Thread Randy Barlow
On Thursday 07 December 2006 21:23, 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/ Xfer PIDs are now
 5508
 Rsync command pid is 5508
 Fetching remote protocol
 Got remote protocol 1953722184
 Fatal error (bad version): Host key verification failed.

I think you need to su - backuppcUserNameHere and try to ssh -l root 
192.168.6.50 as that user so it gets the key for the remote host stored in 
~/.ssh/known_hosts.  Also, I would personally recommend using rsyncd rather 
than rsync over ssh just so you don't have a non-priveliged user of one 
machine becoming root on another, but that's just my advice.  If you choose 
to go the ssh route, this should work!  HTH!

Randy

-
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 on Windows XP

2006-08-24 Thread Randy Barlow
Barry Robinson wrote:
 Remote[1]: rsync: opendir
 ygdrive/c/WINDOWS/system32/C:/Documents and
 Settings/Administrator/.nx/D-wolf-29747BE96EB94528967E88C81B0BD7DC

Shouldn't that be cygdrive/c/...?

R

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Understanding rsync

2006-07-25 Thread Randy Barlow
Craig Barratt wrote:
 ..plus drop the + from $argList:
 
 $Conf{RsyncClientCmd} = '/usr/bin/sudo $rsyncPath $argList';
 
 since there is no shell that needs escaping of arguments.

Thanks 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] Understanding rsync

2006-07-24 Thread Randy Barlow
Les Mikesell wrote:
 Recent versions of rsync have changed their behavior so sockets
 are included (and generally hang) if you specify --devices.  Try
 changing --devices with -D in $Conf{RsyncArgs} and
 $Conf{RsyncRestoreArgs}.

Awesome!  This worked.  Now I just have one more question: since I'm
backing up localhost here, it's a bit of a waste to use ssh as the
transport method.  Can I just use:

$Conf{RsyncClientCmd} = '$rsyncPath $argList+';

instead of:

$Conf{RsyncClientCmd} = '$sshPath -q -x -l root $host $rsyncPath $argList+';

???  Thanks!

Randy



-
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] Understanding rsync

2006-07-23 Thread Randy Barlow
don Paolo Benvenuto wrote:
 I'm using it (on ubuntu): I configured the server the same way I
 configured the other clients, i.e. I configured the backuppc user
 accessing with ssh the same machine as root without password (the faq
 explain perfectly all this stuff).

I've actually been able to do this successfully - as in, I can su to
backuppc and log in as root without a password with no problems.  Is
there something else I need to look at then?

R

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

2006-06-14 Thread Randy Barlow
Never got an answer to this question - anybody have an idea?

Randall Barlow wrote:
 Suppose you are using a machine that is not on all the time as your 
 backuppc server.  If BackupPC_Nightly is supposed to run, say at 1am, 
 and the machine is off at 1 am, will BackupPC_Nightly automagically run 
 the next time the machine is on during a wakeup?  Or will it wait until 
 the next time the machine is on at 1 am?

 Thanks,
 Randy


 ___
 BackupPC-users mailing list
 BackupPC-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/backuppc-users
 http://backuppc.sourceforge.net/
   



___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/