Re: [BackupPC-users] SMB backup failing

2006-11-08 Thread Tony Molloy
On Tuesday 07 November 2006 19:33, Jason Hughes wrote:
 Hi all.  Nobody has responded to my other messages requesting help, so
 I'm trying again.  I'm using the 2.1.2 version.

 I have one Windows machine that is backing up flawlessly (other than
 NT_SHARING_VIOLATIONs that are unavoidable).  I have another that is
 failing when it gets to a very large file.  Because it failed before, I
 increased the ClientTimeout to 72 (10x higher than default).  I
 deleted everything about the host that was failing and started again.

 Contents of file /var/backuproot/pc/mothership/LOG, modified 2006-11-06
 18:52:34

 2006-11-05 02:46:59 full backup started for share CDrive
 2006-11-06 18:52:28 Got fatal error during xfer (Unexpected end of tar
 archive) 2006-11-06 18:52:33 Backup aborted (Unexpected end of tar
 archive) 2006-11-06 18:52:34 Saved partial dump 0

 This took 40 hours to run, and backed up a lot, but when it got to a
 12gb file, it choked.

 Here's the XferLog Errors:

 Error reading file \video\2005\video2005raw.avi : Call timed out:
 server did not respond after 2 milliseconds Didn't get entire file.
 size=12776697964, nread=-1340081072
 This backup will fail because: Call timed out: server did not respond
 after 2 milliseconds opening remote file \video\2005\v
 (\video\2005\) Call timed out: server did not respond after 2
 milliseconds opening remote file \video\2005\v (\video\2005\) Call
 timed out: server did not respond after 2 milliseconds listing
 \video\2\* Call timed out: server did not respond after 2
 milliseconds opening remote file \video\h (\video\) Call timed out:
 server did not respond after 2 milliseconds opening remote file
 \video\h (\video\) Call timed out: server did not respond after 2
 milliseconds opening remote file \video\h (\video\) Call timed out:
 server did not respond after 2 milliseconds opening remote file
 \video\p (\video\) Call timed out: server did not respond after 2
 milliseconds opening remote file \video\p (\video\) Call timed out:
 server did not respond after 2 milliseconds listing \video\v\* Call
 timed out: server did not respond after 2 milliseconds listing
 \video\w\* Call timed out: server did not respond after 2
 milliseconds opening remote file \video\w (\video\) Call timed out:
 server did not respond after 2 milliseconds listing \video\w\* Call
 timed out: server did not respond after 2 milliseconds listing \W\*
 Call timed out: server did not respond after 2 milliseconds listing
 \w\* [ skipped 9 lines ]
 tarExtract: Unexpected end of tar archive (tot = 1048576, num = 859648,
 posn = ) tarExtract: Removing partial file video/2005/video2005raw.avi
 tarExtract: BackupPC_tarExtact aborting (Unexpected end of tar archive)
 tarExtract: Done: 1 errors, 17145 filesExist, 31438592171 sizeExist,
 30715709004 sizeExistComp, 86172 filesTotal, 51652355017 sizeTotal Got
 fatal error during xfer (Unexpected end of tar archive)
 Backup aborted (Unexpected end of tar archive)


 This looks like there's a 32 bit quantity that is rolling over and
 crashing the BackupPC server process.

 I thought maybe excluding that particular file would help, but
 exclusions aren't working well for me.  I tried to exclude like this:
 $Conf{BackupFilesExclude}
 http://backup.flaredev.com/cgi-bin/BackupPC_Admin?action=viewtype=doc
s#item_%24conf%7bbackupfilesexclude%7d = ['Documents and
 Settings/Administrator/Local Settings/Temporary Internet Files/*']; And
 it backed up all 20,000 files in that directory anyway.

 Any help would be appreciated.
 Thanks,
 JH

Can;t help with you file size problem but for  BackupFilesExclude try 
something like this.

#This seems to exclude correctly
#guide and LICENSE are excluded and the contents of relnotes are but
#not the directory itself
$Conf{BackupFilesExclude} = {
'java' = 
   ['\docs\relnotes\*', '\docs\guide', '\jdk1.5.0_04\LICENSE.rtf']
};

Where java is the share name and 

Tony
--
Tony Molloy.

System Manager.
Dept. of Comp. Sci.
University of Limerick

-
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] Windows volume/shadow copies

2006-11-08 Thread Tomasz Chmielewski
Stephen Joyce wrote:
 Is anyone doing windows backups (including open files) using the volume 
 shadow copy service?
 
 It seems that it shouldn't be too hard to even do bare-metal restores by 
 combining VSS with fileacl or setacl to record  restore NTFS ACLs on 
 files and dirs.
 
 Does anyone have a recipe for doing this, before I re-invent the wheel?

I use it, and it works quite fine.

First, I start fileacl for all drives, i.e.:

F:\backup\fileacl\fileacl.exe C: /sub /advanced /owner/batch  
F:\backup\acls-c.bat.txt

When it's finished, I make a shadow copy of all drives.

The only problem is, that you're still not able to backup files which 
have permissions which deny you to read such files (in Windows, an 
ordinary user can set the permissions in a way, so that even an 
Administrator can't open it without changing the permissions first).

But that's a general problem with Windows IMO.

-- 
Tomasz Chmielewski
http://wpkg.org

-
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] broken backups - empty folders with only first letter of its name

2006-11-08 Thread Tomasz Chmielewski
Craig Barratt wrote:

(...)

 Hmmm.  Smbclient is getting quite messed up.
 
 I'd recommend running chkdsk on the windows machine.  There's a
 change the problem is caused by underlying corruption on the
 client machine's file system.
 
 Unfortunately smbclient doesn't provide a consisent set of
 error messages, so it's hard for BackupPC to tell if things
 are ok or not.  I can add a couple of above message so they
 will be considered fatal errors.

I changed the transfer method to rsyncd, and everything seems fine now.

There must be something wrong with that Windows machine, as I'm getting 
this error only there.


If I want to reproduce it by using smbclient only - how should I do it? 
For example, use smbclient to retrieve files from S$ drive/share from 
SERVER?


-- 
Tomasz Chmielewski
http://wpkg.org

-
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] Burn Backups to CD

2006-11-08 Thread Rodrigo Real
Rob Ogle [EMAIL PROTECTED] writes:

Hi Rob


 I've got a client who is not comfortable just having their data on the
 backuppc. They want something they can put in a fireproof safe.

 What's the best way to implement that with backuppc?


Look for Archive functions on the documentation, I think it does
exactly what you need.

[]s
Rodrigo



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

-
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] mysql backup isn't working

2006-11-08 Thread Mikael Lammentausta
Title: mysql backup isn't working






Backups of the host below (backup_client) works fine for the two first folders, but not for /var/lib/mysql. I tried to manually rsync this folder to /tmp/backup as the user backuppc, and it worked. I wonder why it doesn't when the backupPC daemon does it. Any ideas?

Ps. mysql is started, and backuppc doesn't and shouldn't have rights to shut it down.

The Xfer error log:

Running: /usr/bin/ssh -q -x -l backuppc backup_client /usr/bin/sudo /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group --devices --links --times --block-size=2048 --recursive . /etc/
Xfer PIDs are now 12914
Got remote protocol 29
Xfer PIDs are now 12914,12917
[ skipped 199 lines ]
Done: 0 files, 0 bytes
Running: /usr/bin/ssh -q -x -l backuppc backup_client /usr/bin/sudo /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group --devices --links --times --block-size=2048 --recursive . /var/www/
Xfer PIDs are now 12918
Got remote protocol 29
Xfer PIDs are now 12918,12925
[ skipped 199251 lines ]
Done: 23 files, 38187 bytes
Running: /usr/bin/ssh -q -x -l backuppc backup_client /usr/bin/sudo /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group --devices --links --times --block-size=2048 --recursive . /var/lib/mysql/
Xfer PIDs are now 13065
Got remote protocol 29
fileListReceive() failed
Done: 0 files, 0 bytes
Got fatal error during xfer (fileListReceive failed)
Backup aborted (fileListReceive failed)




-
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] rsyncd - how to exclude files and directories?

2006-11-08 Thread Tomasz Chmielewski
I use rsyncd to retrieve files from Windows machines.

I transfer such shares:

$Conf{RsyncShareName} = ['hDrive', 'iDrive', 'jDrive', 'kDrive'];


And I would like to skip transferring DFS folder from hDrive.

How should I do it?

I tried the following below, but it doesn't work:

$Conf{BackupFilesExclude} = {
'hDrive' = ['DFS/*',
 '/DFS/*',
 'ygdrive/c/WINDOWS/system32/s:/DFS/*',
'cygdrive/c/WINDOWS/system32/s:/DFS/*']
 };


-- 
Tomasz Chmielewski
http://wpkg.org

-
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] mysql backup isn't working

2006-11-08 Thread daniel berteaud
You should save mysql databases this way. The best way is to use a
pre-dump script whcih dump tha database you want.
For exemple:
mysqldump mysqldump --add-drop-table -A -Q  /home/backup/mysql.sql

This command will dump all the mysql databases and save them as a mysql
script in /home/backup. Then you can include this file as a standard
file in backuppc configuration



Le Wed, 8 Nov 2006 12:49:42 +0200,
Mikael Lammentausta [EMAIL PROTECTED] a
écrit :

 Backups of the host below (backup_client) works fine for the two
 first folders, but not for /var/lib/mysql. I tried to manually rsync
 this folder to /tmp/backup as the user backuppc, and it worked. I
 wonder why it doesn't when the backupPC daemon does it. Any ideas?
 
 Ps. mysql is started, and backuppc doesn't and shouldn't have rights
 to shut it down.
 
 The Xfer error log:
 
 Running: /usr/bin/ssh -q -x -l backuppc
 backup_client /usr/bin/sudo /usr/bin/rsync --server --sender
 --numeric-ids --perms --owner --group --devices --links --times
 --block-size=2048 --recursive . /etc/ Xfer PIDs are now 12914 Got
 remote protocol 29 Xfer PIDs are now 12914,12917 [ skipped 199 lines ]
 Done: 0 files, 0 bytes
 Running: /usr/bin/ssh -q -x -l backuppc
 backup_client /usr/bin/sudo /usr/bin/rsync --server --sender
 --numeric-ids --perms --owner --group --devices --links --times
 --block-size=2048 --recursive . /var/www/ Xfer PIDs are now 12918 Got
 remote protocol 29 Xfer PIDs are now 12918,12925 [ skipped 199251
 lines ] Done: 23 files, 38187 bytes
 Running: /usr/bin/ssh -q -x -l backuppc
 backup_client /usr/bin/sudo /usr/bin/rsync --server --sender
 --numeric-ids --perms --owner --group --devices --links --times
 --block-size=2048 --recursive . /var/lib/mysql/ Xfer PIDs are now
 13065 Got remote protocol 29 fileListReceive() failed Done: 0 files,
 0 bytes Got fatal error during xfer (fileListReceive failed)
 Backup aborted (fileListReceive failed)


-- 
Daniel Berteaud
FIREWALL-SERVICES SARL.
Société de Services en Logiciels Libres
Technopôle Montesquieu
33650 MARTILLAC
Tel : 05 56 64 15 32
Fax : 05 56 64 82 05
Mail: [EMAIL PROTECTED]
Web : http://www.firewall-services.com

-
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] rsyncd - how to exclude files and directories?

2006-11-08 Thread Tomasz Chmielewski
Tomasz Chmielewski wrote:
 I use rsyncd to retrieve files from Windows machines.
 
 I transfer such shares:
 
 $Conf{RsyncShareName} = ['hDrive', 'iDrive', 'jDrive', 'kDrive'];
 
 
 And I would like to skip transferring DFS folder from hDrive.
 
 How should I do it?
 
 I tried the following below, but it doesn't work:
 
 $Conf{BackupFilesExclude} = {
 'hDrive' = ['DFS/*',
  '/DFS/*',
  'ygdrive/c/WINDOWS/system32/s:/DFS/*',
   'cygdrive/c/WINDOWS/system32/s:/DFS/*']
  };

All right, I figured it out... I had yet another 
$Conf{BackupFilesExclude} for the next share... Which just overwrote 
the settings for the first drive.

So it should look like that:

$Conf{BackupFilesExclude} = {
'hDrive' = ['/DFS/*'],
'iDrive' = ['/none/*']
 };


-- 
Tomasz Chmielewski
http://wpkg.org

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

2006-11-08 Thread Byron Trimble
Good Morning,
I have setup Backuppc, I'm getting bash: BackupPC_sendEmail: command not
found when trying to run scripts from command line. I have tried as
BACKUPPCUSER and root.

Thanks,

-Original Message-
From: Nils Breunese (Lemonbit) [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 04, 2006 6:11 AM
To: backuppc-users@lists.sourceforge.net
Subject: Re: [BackupPC-users] BackupPC Errors


Byron Trimble wrote:

 I have everyhing working. Thanks for your help!!! One thing When  
 setting up
 the Per Node configuration, do I have to make the node directories  
 and put
 the configuration files in those directories?

Yes.

Nils Breunese.

 -Original Message-
 From: Nils Breunese (Lemonbit) [mailto:[EMAIL PROTECTED]
 Sent: Friday, November 03, 2006 10:05 AM
 To: backuppc-users@lists.sourceforge.net
 Subject: Re: [BackupPC-users] BackupPC Errors


 Les Mikesell wrote:

 On Fri, 2006-11-03 at 08:21, Byron Trimble wrote:
 When I try to restart BackupPC, I get this message:

 Starting BackupPC: -bash: /opt/backuppc/bin/BackupPC: /bin/perl: bad
 interpreter: No such file or directory
   [FAILED]

 That is pretty explicit.  Do you have a /bin/perl program, and
 if you don't, did you say you did during the install run?
 If your perl is installed elsewhere you can symlink it to /bin/perl
 but it would be better to reinstall backuppc, giving it the
 correct location.

 /bin/perl is not a common location for the perl binary. /usr/bin/perl
 is usually a good bet (but check). If you've compiled perl yourself
 it probably ended up as /usr/local/bin/perl.

 Nils Breunese.

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

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

2006-11-08 Thread DHAJOGLO
On Wednesday, November 08, 2006  8:45 AM, Byron Trimble wrote:
Good Morning,
I have setup Backuppc, I'm getting bash: BackupPC_sendEmail: command not
found when trying to run scripts from command line. I have tried as
BACKUPPCUSER and root.

Thanks,



This sounds like a PATH problem somewhere.  Where are you running the commands? 
 Are you in the bin dir of BackupPC?  Are you starting the commands with ./ or 
are you referencing the entire path?

-dave


-
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] SMB backup failing

2006-11-08 Thread Craig Barratt
Jason writes:

 Hi all.  Nobody has responded to my other messages requesting help, so 
 I'm trying again.  I'm using the 2.1.2 version.
 
 I have one Windows machine that is backing up flawlessly (other than 
 NT_SHARING_VIOLATIONs that are unavoidable).  I have another that is 
 failing when it gets to a very large file.  Because it failed before, I 
 increased the ClientTimeout to 72 (10x higher than default).  I 
 deleted everything about the host that was failing and started again. 
 
 Contents of file /var/backuproot/pc/mothership/LOG, modified 2006-11-06 
 18:52:34
 
 2006-11-05 02:46:59 full backup started for share CDrive
 2006-11-06 18:52:28 Got fatal error during xfer (Unexpected end of tar 
 archive)
 2006-11-06 18:52:33 Backup aborted (Unexpected end of tar archive)
 2006-11-06 18:52:34 Saved partial dump 0
 
 This took 40 hours to run, and backed up a lot, but when it got to a 12gb 
 file, it choked.
 
 Here's the XferLog Errors:
 
 Error reading file \video\2005\video2005raw.avi : Call timed out: server did 
 not respond after 2 milliseconds
 Didn't get entire file. size=12776697964, nread=-1340081072

The first problem is the timeout.  That could be due to anti-virus SW
that completely checks a file (or directory) before you can open the
file.  You can increase the timeout but you need to recompile smbclient.

The second problem is a 32-bit roll-over bug in smbclient that only happens
after you get the Didn't get entire file error when smbclient tries to pad
the tar file.  A bug and fix are filed on samba's bugzilla, but I doubt the
fix has been applied yet.

Craig

-
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] Upgrade to 3.0.0 beta

2006-11-08 Thread Craig Barratt
David writes:

  On 11/7/06, Craig Barratt [EMAIL PROTECTED] wrote:
   I will do one more 3.0.0 beta by the end of this month.
   That should be very close to the final 3.0.0 release.
  
   Even though the 3.0.0 beta releases are quite stable, given the
   wide deployment of BackupPC I wanted to have a conservative beta
   cycle.
  
  I personally would like to see more frequent beta releases that
  quickly address any known issues.
  
  Well, are there any known issues with the current beta? I would like
  to start testing 3.0, but IIRC there was some issues with the first
  beta so I was waiting for the 2nd one...
  
  -Dave
 
 I've been using 3.0.0 for a week or so and it seems to work fine.  That
 being said, there are 2 caveats I think should be mentioned.
 
 First, the default location for config files has changed.  The main
 config file is in /etc/BackupPC and the individual host configs are
 in /etc/BackupPC.  I assumed that the new version would migrate
 from the old without incident.  Obviously I should have read the docs
 more closely!

If you upgrade to 3.0.0 (by telling configure.pl the path to the
current 2.x config.pl file) then all the config files will be used
in place.  The new location (below /etc/BackupPC) is only used on
a new install.

 Second, which relates somewhat to the item above, is that the default
 full backup count is 1 (one).  If, as happened to me, the install is
 done and doesn't find the old config files, some old backups may be
 deleted.

It sounds like you did a new install, rather than an upgrade.

 Craig:  might it not be a good idea to set the default backup count to
 a big number to avoid this problem?

I don't think that is necessary.

Craig

-
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] Windows volume/shadow copies

2006-11-08 Thread Craig Barratt
Stephen Joyce writes:

 Is anyone doing windows backups (including open files) using the volume 
 shadow copy service?

 It seems that it shouldn't be too hard to even do bare-metal restores by 
 combining VSS with fileacl or setacl to record  restore NTFS ACLs on 
 files and dirs.
 
 Does anyone have a recipe for doing this, before I re-invent the wheel?

Yes, VSS looks like the most promising way to backup all WinXX files.

I'm attaching a few relevant emails from the mail list.

Craig

-- Forwarded message --
To:   backuppc-users@lists.sourceforge.net
From: Elias Penttilä [EMAIL PROTECTED]
Date: Mon, 10 Apr 2006 14:52:05 +0300
Subj: [BackupPC-users] rsync with VSS-support

Hi,

this is something I did a couple of days ago for our company's use, I 
thought it would maybe help someone else too.

Basically this enables rsync to send files which are locked, e.g. in-use 
Outlook .pst-files, the Windows registry and pretty much everything else 
except EFS-encrypted files.

Everything can be found here: http://iki.fi/~eliasp/rsync-vss

The most useful thing is probably the rsync.msi-file which will install 
rsync under C:\Program Files\rsync. A zip-file is also provided which 
includes everything in the installer plus the installer as a WiX-source 
file.

NOTE that this only works on Windows XP currently, I tried it on Server 
2003, but for some reason it didn't work.

There is a patch file which can be applied to the rsync 2.6.6 source 
found in cygwin. It's pretty simple stuff actually. Note that it needs a 
C++-compiler as I didn't have time to fiddle with the C-style COM. There 
were some other issues too, like the linker not finding 
CreateVssBackupComponents directly and fstat not working for files 
opened with CreateFile. You have to install Microsoft's VSS SDK and copy 
the include files and libraries to rsync-2.6.6/vss/inc and 
rsync-2.6.6/vss/lib respectively.

-- Forwarded message --
To:   Nicholas Hall [EMAIL PROTECTED],
  Elias Penttilä [EMAIL PROTECTED]
From: Kris Boutilier [EMAIL PROTECTED]
Cc:   backuppc-users@lists.sourceforge.net
Date: Thu, 13 Apr 2006 12:00:03 -0700
Subj: RE: [BackupPC-users] rsync with VSS-support

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf 
 Of Nicholas Hall
 Sent: Thursday, April 13, 2006 11:33 AM
 To: Elias Penttilä
 Cc: backuppc-users@lists.sourceforge.net
 Subject: Re: [BackupPC-users] rsync with VSS-support
 
 On 4/10/06, Elias Penttilä [EMAIL PROTECTED] wrote:
  ...
  NOTE that this only works on Windows XP currently, I tried it on 
  Server 2003, but for some reason it didn't work.
 
 Does anyone know what's involved with getting this to work on 
 2000/2003 server?
 

The Volume Shadow Copy Service was only introduced with Windows 2003 
Server/Windows XP - 2000 has no such facility without purchasing third party 
glue such as St. Bernard Open File Manager 
(http://www.stbernard.com/products/ofm/products_ofm.asp).

However, if someone knows a technique to shoehorn the Microsoft VSS server 
service into a Windows 2000 server I'd love to hear about it.

Kris Boutilier
Information Services Coordinator
Sunshine Coast Regional District

-- Forwarded message --
To:   Kris Boutilier [EMAIL PROTECTED]
From: Les Mikesell [EMAIL PROTECTED]
Cc:   Nicholas Hall [EMAIL PROTECTED],
  Elias Penttilä [EMAIL PROTECTED],
  backuppc-users@lists.sourceforge.net
Date: Thu, 13 Apr 2006 14:53:59 -0500
Subj: RE: [BackupPC-users] rsync with VSS-support

On Thu, 2006-04-13 at 14:00, Kris Boutilier wrote:
  
  Does anyone know what's involved with getting this to work on 
  2000/2003 server?
  
 
 The Volume Shadow Copy Service was only introduced with Windows 2003 
 Server/Windows XP - 2000 has no such facility without purchasing third party 
 glue such as St. Bernard Open File Manager 
 (http://www.stbernard.com/products/ofm/products_ofm.asp).
 
 However, if someone knows a technique to shoehorn the Microsoft VSS server 
 service into a Windows 2000 server I'd love to hear about it.

Before anyone gets too carried away with this, they should probably
find out if it is legal to distribute.  Rsync is covered by the
GPL which demands that all parts of a work must be redistributable
under GPL terms or it can't be distributed at all.  I assume that
the VSS SDK code can't be.  There's an exception for components that
are normally distributed with the operating system that might apply
since this is a download from Microsoft and the download procedure
checks to see if you are running windows.  However, I think the
exception requires dynamic linking and for each user to obtain
his own copy of the non-gpl'd component separately.

-- 
  Les Mikesell
   [EMAIL PROTECTED]

-- Forwarded message --
To:   Carl Wilhelm Soderstrom [EMAIL PROTECTED]
From: Travis Fraser [EMAIL PROTECTED]
Cc:   backuppc-users@lists.sourceforge.net
Date: Wed, 24 May 2006 17:52:33 -0400
Subj: Re: 

Re: [BackupPC-users] SMB backup failing

2006-11-08 Thread Jason Hughes




I did get it to transfer 10gb of the 12gb file manually using
smbclient. For whatever reason, I guess there was a 20 second gap in
the transfer there and it timed out. I had to shut down smbclient,
then open it again to establish a good connection to the server, and
I'm using 'reget' to get the remainder of the file. It's apparently
"working", if the timeout hadn't occurred.

Thanks,
JH

Call timed out: server did not respond after 2 milliseconds listing
\video\2005\\*
Error in dskattr: Call timed out: server did not respond after 2
milliseconds

[EMAIL PROTECTED] wrote:

  Can you manually use smbclient to transfer this 12gig file?

  
  
This took 40 hours to run, and backed up a lot, but when it got to a 12gb file, it choked.


  
  


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

  



-
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] SMB backup failing

2006-11-08 Thread Jason Hughes






Craig Barratt wrote:

  Jason writes:

  
  
This took 40 hours to run, and backed up a lot, but when it got to a 12gb file, it choked.

Here's the XferLog Errors:

Error reading file \video\2005\video2005raw.avi : Call timed out: server did not respond after 2 milliseconds
Didn't get entire file. size=12776697964, nread=-1340081072

  
  
The first problem is the timeout.  That could be due to anti-virus SW
that completely checks a file (or directory) before you can open the
file.  You can increase the timeout but you need to recompile smbclient.
  

Thanks. I'm not running any kind of virus software, but the link is a
wireless one, so it's possible there are other sources of interference
that make it impossible to transfer data for quite a while. I have a
server that automatically checks for link loss and I get an email every
so often that it went down, but the next 15 minutes (when it checks
again), it's up. So there's an intermittent and brief complete failure
of the link. 

Unfortunately, when smbclient times out, it may actually be that the
server is completely unreachable, and bumping up the time won't fix
that. It would be nice if, on a failed tranfer, a second chance is
queued that starts where the first left off. I don't know enough about
backuppc to say whether that involves an interceding link step to put
the correctly downloaded files into a pool, or a special step that
manually tries to reget the partial file before moving it to the
/pc/name/new hierarchy, or what. Even automatically excluding
the partial file on the second try and sending an email that it had to
restart and skip the file would be preferable to failing with a partial
backup. In fact, because of this one large file, nothing on my PC
beyond this file will ever get into the backup. A slow internet
connection, or a poor wireless connection, will have the same problem
for very large files.

Is smbclient based on UDP or TCP? If it's UDP, I could raise the
server timeout to something really big, like 10 minutes or so, and if
my link comes back up it'll work. With TCP, I'm just screwed, right?


  
The second problem is a 32-bit roll-over bug in smbclient that only happens
after you get the "Didn't get entire file" error when smbclient tries to pad
the tar file.  A bug and fix are filed on samba's bugzilla, but I doubt the
fix has been applied yet.

  


Ok, so it's a totally innocuous display bug. I'll ignore it.

Thanks,
JH


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

2006-11-08 Thread Byron Trimble
Good Afternoon All,

I have BackupPC to wake at 03:00am and 05:00am. How can I tell BackupPC to
only run some at 3:15 and the others at 5:15am?

Thanks
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 08, 2006 10:06 AM
To: backuppc-users@lists.sourceforge.net
Subject: Re: [BackupPC-users] BackupPC Errors


On Wednesday, November 08, 2006  8:45 AM, Byron Trimble wrote:
Good Morning,
I have setup Backuppc, I'm getting bash: BackupPC_sendEmail: command not
found when trying to run scripts from command line. I have tried as
BACKUPPCUSER and root.

Thanks,



This sounds like a PATH problem somewhere.  Where are you running the
commands?  Are you in the bin dir of BackupPC?  Are you starting the
commands with ./ or are you referencing the entire path?

-dave


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

-
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] Upgrade to 3.0.0 beta

2006-11-08 Thread David Rees
On 11/8/06, David Rees [EMAIL PROTECTED] wrote:
 If I pull the latest code from CVS, is there anything special I need
 to do before using it to upgrade compared to the normal tarball?

Hey look, there appears to be a handy makeDist script. Let's see how
that works. :-)

-Dave

-
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] Error: Unable to read config.pl or language strings!!

2006-11-08 Thread Eric Snyder
I upgraded to the 3.0 Beta version and get the above error when 
accessing the web interface. Any ideas?

-
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] Error: Unable to read config.pl or language strings!!

2006-11-08 Thread David Relson
On Wed, 08 Nov 2006 22:09:44 -0600
Eric Snyder wrote:

 I upgraded to the 3.0 Beta version and get the above error when 
 accessing the web interface. Any ideas?

Yes.  I encountered the same problem!

3.0.0 isn't finding your config files. If I recall, 2.1.2
uses /etc/backuppc while 3.0.0 uses /etc/BackupPC. Have you tried
renaming the directory?  Also, if you have config files for individual
hosts, 3.0.0 expects them in /etc/BackupPC/pc.

HTH,

David

-
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] Error: Unable to read config.pl or language strings!!

2006-11-08 Thread Eric Snyder




Thanks. I renamed and moved my config files. Now I cannot authenticate.
I'll work on that tomorrow.

David Relson wrote:

  On Wed, 08 Nov 2006 22:09:44 -0600
Eric Snyder wrote:

  
  
I upgraded to the 3.0 Beta version and get the above error when 
accessing the web interface. Any ideas?

  
  
Yes.  I encountered the same problem!

3.0.0 isn't finding your config files. If I recall, 2.1.2
uses /etc/backuppc while 3.0.0 uses /etc/BackupPC. Have you tried
renaming the directory?  Also, if you have config files for individual
hosts, 3.0.0 expects them in /etc/BackupPC/pc.

HTH,

David

  



-
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] Client side config.pl not working on schedule

2006-11-08 Thread nilesh vaghela
Dear All,

My client side config.pl not working as far as concern the schedule.

the xx.xx.xx.xx.pl is as below : what should I check ???

$Conf{BackupFilesOnly} = {
 '*' = [
 '/home',
 '/cygdrive/c/bamap'
 ]
};
$Conf{ClientCharset} = '';
$Conf{RsyncArgs} = [
 '--numeric-ids',
 '--perms',
 '--owner',
 '--group',
 '-D',
 '--links',
 '--hard-links',
 '--times',
 '--block-size=2048',
 '--recursive'
];
$Conf{RsyncClientCmd} = '$sshPath -q -x -l Administrator $host $rsyncPath $argList+';
$Conf{RsyncCsumCacheVerifyProb} = '0.01';
$Conf{XferLogLevel} = 1;
$Conf{XferMethod} = 'rsync';
$Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l Administrator $host $rsyncPath $argList+';
$Conf{RsyncRestoreArgs} = [
 '--numeric-ids',
 '--perms',
 '--owner',
 '--group',
 '-D',
 '--links',
 '--hard-links',
 '--times',
 '--block-size=2048',
 '--relative',
 '--ignore-times',
 '--recursive'
];
$Conf{BackupFilesExclude} = {
 '*' = [
 '*.bmp'
 ]
};
$Conf{RsyncShareName} = [
 '/'
];
$Conf{WakeupSchedule} = [
 11,
 18,
 19,
 20,
 21,
 22
];
$Conf{BlackoutPeriods} = [
 {
 'hourEnd' = '19.5',
 'weekDays' = [
 1,
 2,
 3,
 4,
 5
 ],
 'hourBegin' = '19.4'
 }
];

--
-- Nilesh VaghelaElectroMechRedhat Channel Partner and Training Partner74, Nalanda Complex, Satellite Rd, Ahmedabad25, The Emperor, Fatehgunj, Baroda.www.electromech.info

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