Re: [BackupPC-users] Backup fails after running 8-10 hours

2009-11-19 Thread Adam Goryachev
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Holger Parplies wrote:
> Nick Bright wrote on 2009-11-09 17:57:11 -0600 [Re: [BackupPC-users] Backup 
> fails after running 8-10 hours]:
>> Les Mikesell wrote:
>>> Nick Bright wrote:
 Got remote protocol 1768191091
 Fatal error (bad version): stdin: is not a tty
> 
> note the error message here. "stdin: is not a tty".
> 
>> [...]
>> Thank you for your reply. I checked in to it, and determined that there 
>> isn't anything being output by logging in to the backuppc system and "su 
>> backuppc" then "ssh r...@cpanel":
> 
> It's not output, it's probably an 'stty' or something else that expects its
> stdin to be a tty. Note that if you try it like you did ("ssh -l root cpanel"
> without command argument), that's not the same as BackupPC is doing. stdin
> *will* be a tty in this case, so you won't get the error. You should try
> something like "ssh -l root cpanel /bin/true" instead.

Or better would be:
ssh -l root -T cpanel /bin/true
and you should get this:
backu...@host:~$ ssh -l root -T remotehost /bin/true
backu...@host:~$

ie, no blank line, no error, no text, nothing at all. If you see
*anything* then you need to fix that first.

BTW, the -T means "Disable pseudo-tty allocation."

Regards,
Adam

- --
Adam Goryachev
Website Managers
www.websitemanagers.com.au
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAksF8G8ACgkQGyoxogrTyiUPPQCfVgEDJe33YH7W15Axd6DIYSJU
4QMAn1cX+l1sQ44S85nLz3WSfy21d6mA
=R9gq
-END PGP SIGNATURE-

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] removing an old backup

2009-11-19 Thread Matthias Meyer
Jeffrey J. Kosowsky wrote:

> There is a bash script written by Matthias Meyer (and available by
> googling on the web).
> I think called BackupPC_deleteBackup (or maybe that's just what I
> called it ;)
> 

Hi Jeffrey,

I can't answer your mail:

   - Transcript of session follows -
... while talking to smtp.secureserver.net.:
>>> DATA
<<< 550 5.7.1 SPF unauthorized mail is prohibited.
554 5.0.0 Service unavailable

br
Matthias
-- 
Don't Panic


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Backup fails after running 8-10 hours

2009-11-19 Thread Holger Parplies
Hi,

Nick Bright wrote on 2009-11-09 17:57:11 -0600 [Re: [BackupPC-users] Backup 
fails after running 8-10 hours]:
> Les Mikesell wrote:
> > Nick Bright wrote:
> >> [...]
> >> 
> >> full backup started for directory /
> >> Running: /usr/bin/ssh -q -x -l root cpanel /usr/bin/rsync --server 
> >> --sender --numeric-ids --perms --owner --group -D --links --hard-links 
> >> --times --block-size=2048 --recursive --ignore-times . /
> >> Xfer PIDs are now 27778
> >> Got remote protocol 1768191091
> >> Fatal error (bad version): stdin: is not a tty

note the error message here. "stdin: is not a tty".

> [...]
> Thank you for your reply. I checked in to it, and determined that there 
> isn't anything being output by logging in to the backuppc system and "su 
> backuppc" then "ssh r...@cpanel":

It's not output, it's probably an 'stty' or something else that expects its
stdin to be a tty. Note that if you try it like you did ("ssh -l root cpanel"
without command argument), that's not the same as BackupPC is doing. stdin
*will* be a tty in this case, so you won't get the error. You should try
something like "ssh -l root cpanel /bin/true" instead.

The reason it is working with tar is probably just that the tar XferMethod is
less strict about its input. rsync *needs* to agree on a protocol version
first and then speak that protocol (which doesn't accomodate for arbitrary
garbage in the protocol stream). tar just parses messages and treats
everything it doesn't recognize as an error message. You could look at your
error counts and the XferLOG error messages to confirm that.

I would encourage you to find the problem and switch back to rsync (if that is
what you had first planned on using).

Regards,
Holger

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Incremental Errors

2009-11-19 Thread Heath Yob
Looks like I had 2 backuppc daemons running.  So both daemons were  
starting the backup at the same time and then they were tripping over  
each other.  I killed the second one and and restarted the daemon.   
Looks like it's working again with no issues.

Heath
On Nov 18, 2009, at 5:13 PM, Adam Goryachev wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Michael Stowe wrote:
>>> I'm getting an new error with my incremental.
>>> It would seem when the incremental runs on it's own I sometimes get
>>> the following error:
>>> 2009-11-18 16:00:00 incr backup started back to 2009-11-17 15:00:01
>>> (backup #11) for share C$
>>> 2009-11-18 16:00:00 incr backup started back to 2009-11-17 15:00:01
>>> (backup #11) for share C$
>>> 2009-11-18 16:04:51 Got fatal error during xfer (No backup  
>>> directory /
>>> var/lib/backuppc/pc/spangler-dc7900/new)
>>> 2009-11-18 16:04:51 incr backup 12 complete, 78 files, 1244034627
>>> bytes, 1 xferErrs (0 bad files, 0 bad shares, 1 other)
>>> 2009-11-18 16:04:51 removing incr backup 5
>>> 2009-11-18 16:04:56 Backup aborted (No backup directory /var/lib/
>>> backuppc/pc/spangler-dc7900/new)
>>> If I run the incremental manually there are no errors and it runs  
>>> just
>>> fine.  Anyone else run into this?
>>
>> No, but I'd be pretty concerned about your /var/lib/backuppc/.../new
>> directory apparently going away in the middle of a backup.  You  
>> should
>> probably check for filesystem corruption.
>
> Or work out why you have two backups starting for the same host at the
> same time!
>
> Regards,
> Adam
>
> - --
> Adam Goryachev
> Website Managers
> www.websitemanagers.com.au
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAksEm7oACgkQGyoxogrTyiWXzACgzKy0XNzaNWz02AP6cmlAARZZ
> FfkAoJQwe4aXmssV56n+Gvo+1WRaINJN
> =dyEV
> -END PGP SIGNATURE-
>
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008  
> 30-Day
> trial. Simplify your report design, integration and deployment - and  
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> 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/
>


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Multi Profiles

2009-11-19 Thread Steven J. Reilly
Tony,

Thanks for your help.

Steve

Tony Molloy wrote:
> On Wednesday 18 November 2009 17:50:40 Steven J. Reilly wrote:
>> Hi,
>>
>> Just started using backuppc and it is a great tool.
>>
>> I was wondering if it is possible to have multiple profiles for the one
>> host.
>>
> 
> No problem. I have 10's of "profiles" for a particular file server. One for 
> each user. So that I can allow individual users do their own restores.
> 
>> For example if you want to backup /home daily but only backup the system
>> files (/etc, /boot etc.) on a weekly basis.
>>
>> This sounds like I would need two hostname.pl files but how would that
>> be handled.
> 
> Yep, two different hostname.pl files using the same $Con{ClientNameAlias} 
> setting in each pointing to the actual hostname.
> 
> 
> Regards,
> 
> Tony
>> Regards,
>>
>> Steve
> 
> 
> 

-- 

=
Steven J. Reilly, EDA Engineer
Allegro Microsystems Europe Ltd
Stuart House, Eskmills Park,
Musselburgh, EH21 7PB, Scotland.
Tel:+44 (0)131 273 4306
Fax:+44 (0)131 273 4301
e-mail: srei...@allegromicro.com

Any views expressed by me in this mail are mine ... all mine!

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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/