Re: [BackupPC-users] UPDATED: Fully automated script for creating shadow copies a

2009-11-09 Thread Michael Stowe
 Matthias Meyer wrote at about 14:56:02 +0100 on Sunday, November 8, 2009:
   Hello Jeffrey,
  
   Did your script work in Vista too?
 I have not tried it under Vista, but I would like to get it to work
 there. One potential issue could be that shadow mounts (and
 vshadow.exe) might have a different interface. Feel free to look into
 that and if you get back to me on differences, I will try to fix the
 code. Also, make sure you have the right version of vshadow for Vista.

My scripts are quite different, but they do work under Vista and Windows 7
without changes; a different version of vshadow is required, but that's
the extent of the changes required.  I have to imagine the same would be
the case for your scripts.

   Within a ssh-session I try at 14:39 attrib in Vista but I get an
 access
   denied.

 I'm not sure what you are doing here. Are you trying to test whether
 'at' works from an ssh session? I see no reason why it shouldn't. But
 running attrib wouldn't do much unless you piped the output
 elsewhere. Check to make sure your path and permissions are right.

   If I try it from a vista command box it will work.
   In both, ssh-session as well as vista command box, I use the same user.
  

 If you are interested, I would be happy to send you updated versions of my
 scripts...


--
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] UPDATED: Fully automated script for creating shadow copies a

2009-11-09 Thread Anand Gupta

Hi,

Can you please post a download link for all files ?

--

Thanks and Regards,

Anand Gupta



Jeffrey J. Kosowsky wrote:


If you are interested, I would be happy to send you updated versions of my 
scripts...


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


[BackupPC-users] Help uploading scripts to BackupPC media wiki

2009-11-09 Thread Jeffrey J. Kosowsky
Not sure if I am missing something obvious here, but the BackupPC
Mediawiki page seems to only allow the upload of *media* files with
extensions like .jpegg, .png, etc.

Even 'faking' the extension doesn't seem to work for me.
Note Craig has given me editing access so that is not the problem
unless there are different levels of access that would deny certain
types of uploads.

--
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] How to reenable/reactivate a host for backup

2009-11-09 Thread Matthias Meyer
ckandreou wrote:

 
 In the host summary I get the following:
 Host User #Full Full Age (days) Full Size (GB) Speed (MB/s) #Incr Incr Age
 (days) Last Backup (days) State Last attempt emsportal backuppc 1 529.9
 14.14 3.38 1 30.9 30.9 auto disabled
 
 
 How do I reenable host to be backed up?
 

In the GUI. Select the host and Edit Config, Schedule
or direct within the config (/etc/backuppc/host.pl) of your host.

$Conf{BackupsDisable} = 0

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] Help uploading scripts to BackupPC media wiki

2009-11-09 Thread Jeffrey J. Kosowsky
Michael Stowe wrote at about 11:21:39 -0600 on Monday, November 9, 2009:
   Not sure if I am missing something obvious here, but the BackupPC
   Mediawiki page seems to only allow the upload of *media* files with
   extensions like .jpegg, .png, etc.
  
   Even 'faking' the extension doesn't seem to work for me.
   Note Craig has given me editing access so that is not the problem
   unless there are different levels of access that would deny certain
   types of uploads.
  
  It's not a permissions issue; by default, MediaWiki a) only accepts
  certain extensions, and b) rejects certain mime types.  So, short of
  reconfiguring MediaWiki, you'll have to link to somewhere else that the
  files are hosted.  (MediaWiki wasn't designed to host files, per se, but
  it was designed so that files could be linked to.)

OK... but shouldn't we be using a wiki service that allows posting of
more general files since we are dealing here with support or
extensions to BackupPC that typically is written in perl or bash (or
in my case also a one-liner cmd script)?

I guess we could link to someplace else but that has two problems:
1. There is no natural place to host such files and I don't even
know where I would put them.

2. It makes it hard to back-up the wiki, ensure consistency, do
version control, etc. if important scripts are stored in (random) 3rd
party links.

I don't know anything about Wikis but I would have thought that such
functionality would be available for open source projects which often
by their nature have multiple code contributors and extensions that
are not part of the core tree.

--
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] UPDATED: Fully automated script for creating shadow copies a

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

 Matthias Meyer wrote at about 14:56:02 +0100 on Sunday, November 8, 2009:
   Hello Jeffrey,
   
   Did your script work in Vista too?
 I have not tried it under Vista, but I would like to get it to work
 there. One potential issue could be that shadow mounts (and
 vshadow.exe) might have a different interface. Feel free to look into
 that and if you get back to me on differences, I will try to fix the
 code. Also, make sure you have the right version of vshadow for Vista.
I have the vista version of vshadow.
 
 
   Within a ssh-session I try at 14:39 attrib in Vista but I get an
   access denied.
 
 I'm not sure what you are doing here. Are you trying to test whether
 'at' works from an ssh session? I see no reason why it shouldn't. But
 running attrib wouldn't do much unless you piped the output
 elsewhere. Check to make sure your path and permissions are right.
This is only a test. at 14:39 attrib  test.txt would be better.
 
   If I try it from a vista command box it will work.
   In both, ssh-session as well as vista command box, I use the same user.
   
 
 If you are interested, I would be happy to send you updated versions of my
 scripts...
Thanks. But I have no fully cygwin installation. Some programmes you need
(e.g. dirname) are not installed on my windoze.
I just try to steal your ideas ;-)

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] UPDATED: Fully automated script for creating shadow copies a

2009-11-09 Thread Matthias Meyer
Michael Stowe wrote:

 Matthias Meyer wrote at about 14:56:02 +0100 on Sunday, November 8, 2009:
   Hello Jeffrey,
  
   Did your script work in Vista too?
 I have not tried it under Vista, but I would like to get it to work
 there. One potential issue could be that shadow mounts (and
 vshadow.exe) might have a different interface. Feel free to look into
 that and if you get back to me on differences, I will try to fix the
 code. Also, make sure you have the right version of vshadow for Vista.
 
 My scripts are quite different, but they do work under Vista and Windows 7
 without changes; a different version of vshadow is required, but that's
 the extent of the changes required.  I have to imagine the same would be
 the case for your scripts.
 
Your scripts run within a normal user which is in admin group?
My problem, what is inexplicable for me, is that the at command will work
from a vista command box but not from a ssh-session. Even thought both use
the same account.

Did you have to rebase cygwin within Windows7?
I tried cygwin within the release canditate but it wasn't stable. The cygwin
newsgroup told me I have to rebase all within Windows7.

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] BackupPC Newbie

2009-11-09 Thread Matthias Meyer
Robert Furman wrote:

 Hey Everyone,
 
  
 
 I recently found BackupPC and like what I see.  A few questions though..
 Most of these are related to backing up on a Windows ServerWorktation.
 Which of these can BackupPC satisfy?
 
  
 
  
 
  
 
 Support for OpenFiles/VSS
Yes. There are pre execute scripts as well as a rsync patch which support
VSS.
I do successfull back up Windows XP as well as Windows Vista with VSS.
 FTP and/or SSH and/or WebDav
Backuppc supports SSH out of the box.
 Encryption
Only transport encryption (SSH). For content encryption you can use
rsyncrypto which must encrypt the data before rsync will transport them.
The disadvantage is you have the data twice on the client. Encrypted as well
as in cleartext.
 Compression
Yes. I believe gzip based.
 Local Backups
What you mean with that?
 Ghosting/Image Level Backups Images
 (Can be separate Application - Remote Triggered) 
No Image Backup. As for encryption/rsyncrypto you can create an Image local
and backup this with backuppc.
 Brick Level Updates
What you mean with that?
 E-Mail Notification of Success/Failure
Yes, but only in case of failures (I blieve)
 Exchange Support
No, if you mean something other than VSS
 Resource Efficient
Yes, yes and yes. I have backed up 3TB which use 400GB on my drives.
 Support for Server 2000 - 2008R2 and Desktop XP - Windows 7
Yes, if you provide the fileshares from windows clients to your backuppc
server. I would advise to use rsync and then it depends if cygwin (or
cwRsync as an alternative) would run on this.

 Thanks,
 Robert

In principal backuppc call user defined routines before and after backups.
You have to write this routines to do things what you want.
e.g. login into the client and create a volume shadow copy, or encrypt data
or make a image copy from a volume. You can do that with windows tools or
with linux/cygwin tools.
Backuppc do nothing of this Out of the Box.
Backuppc use tools like rsync or samba to receive data from the client.
Compress them, find identical files and save space on the servers harddisk.
It provide a usefull Web-GUI to start backups manual as well as select and
restore data.

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] Help uploading scripts to BackupPC media wiki

2009-11-09 Thread Michael Stowe
 Michael Stowe wrote at about 11:21:39 -0600 on Monday, November 9, 2009:
Not sure if I am missing something obvious here, but the BackupPC
Mediawiki page seems to only allow the upload of *media* files with
extensions like .jpegg, .png, etc.
   
Even 'faking' the extension doesn't seem to work for me.
Note Craig has given me editing access so that is not the problem
unless there are different levels of access that would deny certain
types of uploads.
  
   It's not a permissions issue; by default, MediaWiki a) only accepts
   certain extensions, and b) rejects certain mime types.  So, short of
   reconfiguring MediaWiki, you'll have to link to somewhere else that the
   files are hosted.  (MediaWiki wasn't designed to host files, per se,
 but
   it was designed so that files could be linked to.)

 OK... but shouldn't we be using a wiki service that allows posting of
 more general files since we are dealing here with support or
 extensions to BackupPC that typically is written in perl or bash (or
 in my case also a one-liner cmd script)?

 I guess we could link to someplace else but that has two problems:
 1. There is no natural place to host such files and I don't even
 know where I would put them.

 2. It makes it hard to back-up the wiki, ensure consistency, do
 version control, etc. if important scripts are stored in (random) 3rd
 party links.

 I don't know anything about Wikis but I would have thought that such
 functionality would be available for open source projects which often
 by their nature have multiple code contributors and extensions that
 are not part of the core tree.

I believe what SourceForge expects (in the sense of going with the
grain, and generally accepted practices) is to actually set up a small
SourceForge project, which then provides version control, download
capabilities, and so forth.

(Personally, this seems like a lot of overhead to me, so I just host my
scripts on my own servers.)

--
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] Help uploading scripts to BackupPC media wiki

2009-11-09 Thread Stephen Joyce
It's not as nice as having a file attached to just click and download, but 
why not just include the script(s) on the page as long as they're just 1 or 
2 files?

See 
http://sourceforge.net/apps/mediawiki/backuppc/index.php?title=Distribute_Full_Backups
 
for an example.

Cheers, Stephen
--
  A human being should be able to change a diaper, plan an invasion, butcher a 
hog,
  conn a ship, design a building, write a sonnet, balance accounts, build a 
wall,
  set a bone, comfort the dying, take orders, give orders, cooperate, act alone,
  solve equations, analyze a new problem, pitch manure, program a computer, 
cook a
  tasty meal, fight efficiently, die gallantly. Specialization is for insects.
   -Robert A. Heinlein

On Mon, 9 Nov 2009, Michael Stowe wrote:

 Michael Stowe wrote at about 11:21:39 -0600 on Monday, November 9, 2009:
  Not sure if I am missing something obvious here, but the BackupPC
  Mediawiki page seems to only allow the upload of *media* files with
  extensions like .jpegg, .png, etc.
 
  Even 'faking' the extension doesn't seem to work for me.
  Note Craig has given me editing access so that is not the problem
  unless there are different levels of access that would deny certain
  types of uploads.
 
  It's not a permissions issue; by default, MediaWiki a) only accepts
  certain extensions, and b) rejects certain mime types.  So, short of
  reconfiguring MediaWiki, you'll have to link to somewhere else that the
  files are hosted.  (MediaWiki wasn't designed to host files, per se,
 but
  it was designed so that files could be linked to.)

 OK... but shouldn't we be using a wiki service that allows posting of
 more general files since we are dealing here with support or
 extensions to BackupPC that typically is written in perl or bash (or
 in my case also a one-liner cmd script)?

 I guess we could link to someplace else but that has two problems:
 1. There is no natural place to host such files and I don't even
 know where I would put them.

 2. It makes it hard to back-up the wiki, ensure consistency, do
 version control, etc. if important scripts are stored in (random) 3rd
 party links.

 I don't know anything about Wikis but I would have thought that such
 functionality would be available for open source projects which often
 by their nature have multiple code contributors and extensions that
 are not part of the core tree.

 I believe what SourceForge expects (in the sense of going with the
 grain, and generally accepted practices) is to actually set up a small
 SourceForge project, which then provides version control, download
 capabilities, and so forth.

 (Personally, this seems like a lot of overhead to me, so I just host my
 scripts on my own servers.)

 --
 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] UPDATED: Fully automated script for creating shadow copies a

2009-11-09 Thread Michael Stowe
 Michael Stowe wrote:
 Your scripts run within a normal user which is in admin group?
 My problem, what is inexplicable for me, is that the at command will work
 from a vista command box but not from a ssh-session. Even thought both use
 the same account.

 Did you have to rebase cygwin within Windows7?
 I tried cygwin within the release canditate but it wasn't stable. The
 cygwin
 newsgroup told me I have to rebase all within Windows7.

 br
 Matthias
 --
 Don't Panic

Yes, a normal Admin user -- I don't use ssh at all, nor a full version of
cygwin.

It's documented here:  http://www.goodjobsucking.com/?p=62

(There's a download link in there somewhere, if you're interested, but
you'll need your own version of vshadow.exe.)

--
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] Help uploading scripts to BackupPC media wiki

2009-11-09 Thread Jeffrey J. Kosowsky
Stephen Joyce wrote at about 14:14:37 -0500 on Monday, November 9, 2009:
  It's not as nice as having a file attached to just click and download, but 
  why not just include the script(s) on the page as long as they're just 1 or 
  2 files?

Well one of the scripts is 750 lines long and I worry that copying 
pasting will mess up the line breaks somewhere critical.

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


[BackupPC-users] Compression Issue

2009-11-09 Thread Heath Yob
It appears that I'm not getting any compression on my backups at least  
with my Windows clients.
I think my mac clients are being compressed since it's actually  
stating a compression level in the host summary.

I have the compression level set to 9.

I have the Compress::Zlib perl library installed.

ppo-backup:/home/heathy# perl -MCompress::Zlib -e print \Module  
installed.\\n\;
Module installed.

Is there a secret to SMB compression?

Heath



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


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

2009-11-09 Thread Nick Bright
I've got a bit of a strange situation. My backuppc server, which 
successfully backs up a half dozen or so machines, is unable to backup 
one particular host.

This host is configured the same as all of my other hosts which backup 
successfully, but after running the rsync process for 8 to 10 hours, the 
backup fails with this entry in the XferLOG:


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

Sent exclude: /proc
Sent exclude: /sys
Sent exclude: /mnt/nfs
fileListReceive() failed
Done: 0 files, 0 bytes
Got fatal error during xfer (fileListReceive failed)
Backup aborted by user signal
Not saving this as a partial backup since it has fewer files than the 
prior one (got 0 and 0 files versus 0)


I have been unable to locate any entries in any log files on the client 
system indicating what may be.

I'm hoping someone will have a tip on where to look or thoughts as to 
determining why the rsync is failing.

-- 
---
- Nick Bright
   Network Administrator
   Valnet Telecommunications, LLC
   Tel 888-332-1616 x 315
   Fax 620-332-1201

--
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-09 Thread Les Mikesell
Nick Bright wrote:
 I've got a bit of a strange situation. My backuppc server, which 
 successfully backs up a half dozen or so machines, is unable to backup 
 one particular host.
 
 This host is configured the same as all of my other hosts which backup 
 successfully, but after running the rsync process for 8 to 10 hours, the 
 backup fails with this entry in the XferLOG:
 
 
 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

I'm not sure it if causes this symptom, but one thing to check is that 
the remote shell for root can't output anything (like a 
message-of-the-day) before starting the specified program.

-- 
   Les Mikesell
lesmikes...@gmail.com



--
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-09 Thread Nick Bright
Les Mikesell wrote:
 Nick Bright wrote:
 I've got a bit of a strange situation. My backuppc server, which 
 successfully backs up a half dozen or so machines, is unable to backup 
 one particular host.

 This host is configured the same as all of my other hosts which backup 
 successfully, but after running the rsync process for 8 to 10 hours, the 
 backup fails with this entry in the XferLOG:

 
 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
 
 I'm not sure it if causes this symptom, but one thing to check is that 
 the remote shell for root can't output anything (like a 
 message-of-the-day) before starting the specified program.
 

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:

[backu...@backuppc ~]$ ssh r...@cpanel
Last login: Sat Sep 26 16:08:46 2009 from backuppc
r...@cpanel [~]#

However, I did find that /etc/motd existed and was empty. I deleted it 
to see what would happen on the next backup cycle. SSHing into the 
client system under a normal user also does not result in any MOTD's or 
warning messages.

  - Nick

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


[BackupPC-users] TextFileWrite: Failed to verify /etc/BackupPC/config.pl.new

2009-11-09 Thread Michael Mansour
Hi,

Since updating to the latest BackupPC version, I've never really had to make a
mod to the config via the web interface.

Anyway, I just tried to and got the error in the subject:

TextFileWrite: Failed to verify /etc/BackupPC/config.pl.new

Checking the /etc/BackupPC directory I have:

-rw-r- 1 backuppc apache 78507 Jul 19 06:04 config.pl
-rw-r- 1 backuppc apache 0 Nov 10 12:19 config.pl.new
-rw-r- 1 backuppc apache 76236 Apr 29  2009 config.pl.old
-rw-r- 1 backuppc apache 75640 Jul  4  2008 config.pl.pre-3.1.0
-rw-r- 1 backuppc apache 76236 Jul 19 06:03 config.pl.pre-3.2.0beta0

so it seems to create the file but can't verify it?

Any ideas how I can fix this?

Thanks.

Michael.


--
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] Unable to read 4 bytes

2009-11-09 Thread Micha Silver
BackupPC users:

I posted the below message previously. No response yet :-(

Any takers?


Thanks in advance

-- 

Micha


Micha Silver wrote:

 I am unable to restore to linux servers. Backups are running fine, and I 
 rechecked that I can ssh as user backuppc from the backup server (Centos 
 5.4) directly to the clients (also Centos).  Furthermore, I can run 
 rsync as the backuppc user successfully upload files to the client.


 Here's what appears in the LOG:


 2009-11-01 11:31:17 User admin requested restore to my (my)
 2009-11-01 11:31:17 Started restore on my (pid=10317)
 2009-11-01 11:31:19 Restore failed on my (Unable to read 4 bytes)
 2009-11-01 11:31:19 my: File::RsyncP::FileList::encode: missing rdev on 
 device file var/run/dbus/system_bus_socket

 What am I missing??

 Thanks,

 Micha


   


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


[BackupPC-users] Why does $share work but not ${share} in DumpPreShareCmd

2009-11-09 Thread Jeffrey J. Kosowsky
Specifically, the following works
$Conf{DumpPreShareCmd}= 'mycommand $share $share/myfile'; 
And indeed $share is substituted properly.
but the following does not...
$Conf{DumpPreShareCmd}= 'mycommand $share ${share}/myfile';
And instead it passes ${share} for the final argument.
I would have thought that the braces would be treated properly whether
in a perl or bash script.

What am I missing?

--
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] Unable to read 4 bytes

2009-11-09 Thread Stephen Vaughan
I would say its a file permissions error on the server in which your
restoring to.

On Sun, Nov 1, 2009 at 9:06 PM, Micha Silver mi...@arava.co.il wrote:

 I am unable to restore to linux servers. Backups are running fine, and I
 rechecked that I can ssh as user backuppc from the backup server (Centos
 5.4) directly to the clients (also Centos).  Furthermore, I can run
 rsync as the backuppc user successfully upload files to the client.


 Here's what appears in the LOG:


 2009-11-01 11:31:17 User admin requested restore to my (my)
 2009-11-01 11:31:17 Started restore on my (pid=10317)
 2009-11-01 11:31:19 Restore failed on my (Unable to read 4 bytes)
 2009-11-01 11:31:19 my: File::RsyncP::FileList::encode: missing rdev on
 device file var/run/dbus/system_bus_socket

 What am I missing??

 Thanks,

 Micha



 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 ___
 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/




-- 
Best Regards,
Stephen
--
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] Why does $share work but not ${share} in DumpPreShareCmd

2009-11-09 Thread Craig Barratt
Jeffrey writes:

 Specifically, the following works
 $Conf{DumpPreShareCmd}= 'mycommand $share $share/myfile';
 And indeed $share is substituted properly.
 but the following does not...
 $Conf{DumpPreShareCmd}= 'mycommand $share ${share}/myfile';
 And instead it passes ${share} for the final argument.
 I would have thought that the braces would be treated properly whether
 in a perl or bash script.

The variable substitution is done via regular expressions, not
by perl eval().  The perl brace syntax isn't supported, although
you could add it pretty easily.

Craig

--
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-09 Thread Shawn Perry
Does this host have alot of hard links?

On Mon, Nov 9, 2009 at 4:57 PM, Nick Bright nick.bri...@valnet.net wrote:
 Les Mikesell wrote:
 Nick Bright wrote:
 I've got a bit of a strange situation. My backuppc server, which
 successfully backs up a half dozen or so machines, is unable to backup
 one particular host.

 This host is configured the same as all of my other hosts which backup
 successfully, but after running the rsync process for 8 to 10 hours, the
 backup fails with this entry in the XferLOG:

 
 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

 I'm not sure it if causes this symptom, but one thing to check is that
 the remote shell for root can't output anything (like a
 message-of-the-day) before starting the specified program.


 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:

 [backu...@backuppc ~]$ ssh r...@cpanel
 Last login: Sat Sep 26 16:08:46 2009 from backuppc
 r...@cpanel [~]#

 However, I did find that /etc/motd existed and was empty. I deleted it
 to see what would happen on the next backup cycle. SSHing into the
 client system under a normal user also does not result in any MOTD's or
 warning messages.

  - Nick

 --
 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] Why does $share work but not ${share} in DumpPreShareCmd

2009-11-09 Thread Jeffrey J. Kosowsky
Craig Barratt wrote at about 22:49:09 -0800 on Monday, November 9, 2009:
  Jeffrey writes:
  
   Specifically, the following works
   $Conf{DumpPreShareCmd}= 'mycommand $share $share/myfile';
   And indeed $share is substituted properly.
   but the following does not...
   $Conf{DumpPreShareCmd}= 'mycommand $share ${share}/myfile';
   And instead it passes ${share} for the final argument.
   I would have thought that the braces would be treated properly whether
   in a perl or bash script.
  
  The variable substitution is done via regular expressions, not
  by perl eval().  The perl brace syntax isn't supported, although
  you could add it pretty easily.

Thanks - that is good to know and maybe should be documented. Given
that much of the rest of the conf file takes arbitrary perl code, it
wasn't obvious to me that we were leaving the perl paradigm here.

It may be even better to add if it is pretty easy, since at least when
I see the $variable, I'm usually thinking either perl or bash
variables - both of which recognize the brace construction. So that
would eliminate such hopefully understandable confusion.

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