[BackupPC-users] Parent read EOF from child only on large files (over 3GB)

2009-03-26 Thread maciej
Hello List,

I have a problem with backuppc, which maybe you could help me to solve.

I am using rsyncd to perform the backups, and they work, unless there are very 
large files (3GB or larger). In this case, they fail.

This is what I get on the backup machine:

...
  create   660   106/109 5242880 home/mysql/ib_logfile0
  create   660   106/109 5242880 home/mysql/ib_logfile1
Read EOF: Connection reset by peer
Tried again: got 0 bytes
finish: removing in-process file home/mysql/ibdata1
  delete d 755   106/1094096 home/mysql/test
  delete   660   106/109  3095396352 home/mysql/ibdata1
  delete d 700   106/1094096 home/mysql/postfix
  delete d 755   106/1094096 home/mysql/mysql
... (some more lines like these, then, finally)...
  delete   644   0/0 1197435 tms_backup.log
  delete d 755   0/0   12288 lost+found
Child is aborting
Parent read EOF from child: fatal error!
Done: 22241 files, 482733867 bytes
Got fatal error during xfer (Child exited prematurely)
Backup aborted (Child exited prematurely)


This is what I get on the machine being backed up:

2009/03/26 09:22:11 [30029] rsync on . from backupu...@beastieboy
2009/03/26 09:22:11 [30029] building file list
2009/03/26 09:22:45 [29443] rsync: writefd_unbuffered failed to write 4 bytes 
[sender]: Connection timed out (110)
2009/03/26 09:22:45 [29443] rsync error: error in rsync protocol data stream 
(code 12) at io.c(1122) [sender=2.6.9]


This happens all the time, on the same file. On other machines, it is the 
same, if the file is that large.

What can be done to this?

M.



--
___
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] Ensuring two hosts are not running simultaneously

2009-03-26 Thread Anand Gupta
Thanks Nils. The post certainly clears things up for me. I will try and 
implement the same.


Thanks and Regards,

Anand Gupta



 Original Message  
Subject: Re: [BackupPC-users] Ensuring two hosts are not running   
 simultaneously

From: Nils Breunese (Lemonbit) 
To: General list for user discussion, questions and support 


Date: Thu Mar 26 03:25:01 2009

Anand Gupta wrote:

   

I was trying to restrict backuppc to start / backup 2 hosts while 1
is in progress. Reading and search i came across something called "
semaphore" and the idea that it can be implemented using the
DumpPreUserCmd and DumpPostUserCmd. Can anyone please help on how
this can actually be implemented.

Basically these hosts are different drives on the same machine and i
don't want 2 drives to be backed up at the same time. (trying to
setup and use volume shadow hence need to backup a single drive at a
time).
 


The post on the idea of semaphores with BackupPC has some info: 
http://www.mail-archive.com/backuppc-users@lists.sourceforge.net/msg13698.html

Nils Breunese.

--
___
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 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] Parent read EOF from child only on large files(over 3GB)

2009-03-26 Thread Parthasarathi Dash
Hi,

Please do not use more then 2gb file, if you will more than 2GB it,
while copying it will automatically break

Regards,
Parthasarathi Dash


-Original Message-
From: mac...@netwise.it [mailto:mac...@netwise.it] 
Sent: Thursday, March 26, 2009 2:41 PM
To: backuppc-users@lists.sourceforge.net
Subject: [BackupPC-users] Parent read EOF from child only on large
files(over 3GB)

Hello List,

I have a problem with backuppc, which maybe you could help me to solve.

I am using rsyncd to perform the backups, and they work, unless there
are very 
large files (3GB or larger). In this case, they fail.

This is what I get on the backup machine:

..
  create   660   106/109 5242880 home/mysql/ib_logfile0
  create   660   106/109 5242880 home/mysql/ib_logfile1
Read EOF: Connection reset by peer
Tried again: got 0 bytes
finish: removing in-process file home/mysql/ibdata1
  delete d 755   106/1094096 home/mysql/test
  delete   660   106/109  3095396352 home/mysql/ibdata1
  delete d 700   106/1094096 home/mysql/postfix
  delete d 755   106/1094096 home/mysql/mysql
.. (some more lines like these, then, finally)...
  delete   644   0/0 1197435 tms_backup.log
  delete d 755   0/0   12288 lost+found
Child is aborting
Parent read EOF from child: fatal error!
Done: 22241 files, 482733867 bytes
Got fatal error during xfer (Child exited prematurely)
Backup aborted (Child exited prematurely)


This is what I get on the machine being backed up:

2009/03/26 09:22:11 [30029] rsync on . from backupu...@beastieboy
2009/03/26 09:22:11 [30029] building file list
2009/03/26 09:22:45 [29443] rsync: writefd_unbuffered failed to write 4
bytes 
[sender]: Connection timed out (110)
2009/03/26 09:22:45 [29443] rsync error: error in rsync protocol data
stream 
(code 12) at io.c(1122) [sender=2.6.9]


This happens all the time, on the same file. On other machines, it is
the 
same, if the file is that large.

What can be done to this?

M.




--
___
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/
Any comments or statements made in this email are not necessarily those of 
Tavant Technologies.
The information transmitted is intended only for the person or entity to which 
it is addressed and may 
contain confidential and/or privileged material. If you have received this in 
error, please contact the 
sender and delete the material from any computer. All e-mails sent from or to 
Tavant Technologies 
may be subject to our monitoring procedures.


--
___
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] Parent read EOF from child only on large files(over 3GB)

2009-03-26 Thread Nils Breunese (Lemonbit)
Parthasarathi Dash wrote:

> Please do not use more then 2gb file, if you will more than 2GB it,
> while copying it will automatically break

Only if your filesystem somehow has a 2 GB limit. I can use larger  
files just fine on ext3.

Nils Breunese.

--
___
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] Parent read EOF from child only on large files(over 3GB)

2009-03-26 Thread maciej
On Thursday 26 March 2009, Nils Breunese (Lemonbit) wrote:
> Parthasarathi Dash wrote:
> > Please do not use more then 2gb file, if you will more than 2GB it,
> > while copying it will automatically break
>
> Only if your filesystem somehow has a 2 GB limit. I can use larger
> files just fine on ext3.
>
> Nils Breunese.

My filesystem supports large files. In fact, after retrying several times, the 
backup completed! 

I know that the network was a bit slow this morning. Maybe I can increase some 
timeout parameters somewhere? I have already set the ClientTimeout to 
near-infinity ($Conf{ClientTimeout} = 72000;) but it was like this also 
during the failures...

M

--
___
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] External WD Worldbook Device

2009-03-26 Thread David Williams
All,

Up until very recently I have had BackupPC 3.0 working with my 1TB external
WD Mybook world edition device, which is connected to my LAN and which I
mount via cifs.  I recently had to upgrade my machine to a newer version on
Linux (Mandriva 2009.0) and with that comes BackupPC 3.1.

Once I had setup installed BackupPC 3.1, mounted my backup device using cifs
and restored my configuration files I started up BackupPC only to get the
message:

"Can't create a test hardlink..."

And BackupPC would not start :-(  Thankfully I have been able to comment out
this check from the BackupPC program and get BackupPC up and running so that
I can restore what I need from my backup drive via the web interface.

Under BackupPC 3.0 I never had a problem performing backups and I can still
access the backups that I have from the 3.0 version.  There are no error
messages in any of the log files.  So, did something change between 3.0 and
3.1 ?  Is there a way I can check manually by creating a hardlink on the
backups partition from the shell ?  Sorry, not a Linux guru so not well up
on the commands to do this.

I did take a look through the archives but nothing jumped out to me as to
the problem.  I would assume that since backups were working just fine with
3.0 that they should be fine in 3.1 and that my external drive is ok?

Would appreciate any help as I'd like to get my backups up and running
again.

I did do a df -i and got the following output:

FilesystemInodes   IUsed   IFree IUse% Mounted on
//192.168.15.6/public
116M1.7M115M2% /backups

Regards,




<>--
___
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] External WD Worldbook Device

2009-03-26 Thread Chris Baker

How does your Mybook connect to your machine? Is it USB, Firewire, or eSATA?


Chris Baker -- cba...@intera.com
systems administrator
INTERA -- 512-425-2006


> _ 
> From: David Williams [mailto:dwilli...@dtw-consulting.com] 
> Sent: Thursday, March 26, 2009 9:03 AM
> To:   backuppc-users@lists.sourceforge.net
> Subject:  [BackupPC-users] External WD Worldbook Device
> 
> All,
> 
> Up until very recently I have had BackupPC 3.0 working with my 1TB
> external WD Mybook world edition device, which is connected to my LAN and
> which I mount via cifs.  I recently had to upgrade my machine to a newer
> version on Linux (Mandriva 2009.0) and with that comes BackupPC 3.1.
> 
> Once I had setup installed BackupPC 3.1, mounted my backup device using
> cifs and restored my configuration files I started up BackupPC only to get
> the message:
> 
> "Can't create a test hardlink..."
> 
> And BackupPC would not start :-(  Thankfully I have been able to comment
> out this check from the BackupPC program and get BackupPC up and running
> so that I can restore what I need from my backup drive via the web
> interface.
> 
> Under BackupPC 3.0 I never had a problem performing backups and I can
> still access the backups that I have from the 3.0 version.  There are no
> error messages in any of the log files.  So, did something change between
> 3.0 and 3.1 ?  Is there a way I can check manually by creating a hardlink
> on the backups partition from the shell ?  Sorry, not a Linux guru so not
> well up on the commands to do this.
> 
> I did take a look through the archives but nothing jumped out to me as to
> the problem.  I would assume that since backups were working just fine
> with 3.0 that they should be fine in 3.1 and that my external drive is ok?
> 
> Would appreciate any help as I'd like to get my backups up and running
> again.
> 
> I did do a df -i and got the following output:
> 
> FilesystemInodes   IUsed   IFree IUse% Mounted on
> //192.168.15.6/public
> 116M1.7M115M2% /backups
> 
> Regards,
> 
> 
> 
>  << File: ATT00020.txt >>  << File: ATT00023.txt >> 
<>--
___
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] External WD Worldbook Device

2009-03-26 Thread Tino Schwarze
Hi David,

On Thu, Mar 26, 2009 at 10:03:03AM -0400, David Williams wrote:
> All,
> 
> Up until very recently I have had BackupPC 3.0 working with my 1TB external
> WD Mybook world edition device, which is connected to my LAN and which I
> mount via cifs.  I recently had to upgrade my machine to a newer version on
> Linux (Mandriva 2009.0) and with that comes BackupPC 3.1.
> 
> Once I had setup installed BackupPC 3.1, mounted my backup device using cifs
> and restored my configuration files I started up BackupPC only to get the
> message:
> 
> "Can't create a test hardlink..."
 
I'm not sure whether CIFS supports hardlinks.

> Under BackupPC 3.0 I never had a problem performing backups and I can still
> access the backups that I have from the 3.0 version.  There are no error
> messages in any of the log files.  So, did something change between 3.0 and
> 3.1 ?  Is there a way I can check manually by creating a hardlink on the
> backups partition from the shell ?  Sorry, not a Linux guru so not well up
> on the commands to do this.

[...]

> I did do a df -i and got the following output:
> 
> FilesystemInodes   IUsed   IFree IUse% Mounted on
> //192.168.15.6/public
> 116M1.7M115M2% /backups

You used the BackupPC package from your distribution? It probably
doesn't have the backup storage configured as /backups, but maybe
/var/lib/backuppc. The easiest way is to stick to that location and
mount your NAS there.

You may check whether hardlinks work correctly by opening a shell and
doing:

echo hello > testfile
ln testfile linkedfile
echo olleh > linkedfile
cat testfile

There should be no error messages and the last command should output
"olleh". If you do an ls -l testfile linkedfile, you should see
something like this:

-rw-r--r-- 2 root root 6 2009-03-26 16:25 linkedfile
-rw-r--r-- 2 root root 6 2009-03-26 16:25 testfile

- note the 2 here! It says: link count 2.

Hope that helps,

Tino.

-- 
"What we nourish flourishes." - "Was wir nähren erblüht."

www.lichtkreis-chemnitz.de
www.craniosacralzentrum.de

--
___
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] External WD Worldbook Device

2009-03-26 Thread David Williams
It is connect via RJ45 to my router. 


David Williams


_
From: Chris Baker [mailto:cba...@intera.com] 
Sent: Thursday, March 26, 2009 10:30 AM
To: 'General list for user discussion, questions and support'
Subject: Re: [BackupPC-users] External WD Worldbook Device



How does your Mybook connect to your machine? Is it USB, Firewire, or eSATA?


Chris Baker -- cba...@intera.com
systems administrator
INTERA -- 512-425-2006


_ 
From:   David Williams [mailto:dwilli...@dtw-consulting.com] 
Sent:   Thursday, March 26, 2009 9:03 AM
To: backuppc-users@lists.sourceforge.net
Subject:[BackupPC-users] External WD Worldbook Device

All,

Up until very recently I have had BackupPC 3.0 working with my 1TB external
WD Mybook world edition device, which is connected to my LAN and which I
mount via cifs.  I recently had to upgrade my machine to a newer version on
Linux (Mandriva 2009.0) and with that comes BackupPC 3.1.

Once I had setup installed BackupPC 3.1, mounted my backup device using cifs
and restored my configuration files I started up BackupPC only to get the
message:

"Can't create a test hardlink..."

And BackupPC would not start :-(  Thankfully I have been able to comment out
this check from the BackupPC program and get BackupPC up and running so that
I can restore what I need from my backup drive via the web interface.

Under BackupPC 3.0 I never had a problem performing backups and I can still
access the backups that I have from the 3.0 version.  There are no error
messages in any of the log files.  So, did something change between 3.0 and
3.1 ?  Is there a way I can check manually by creating a hardlink on the
backups partition from the shell ?  Sorry, not a Linux guru so not well up
on the commands to do this.

I did take a look through the archives but nothing jumped out to me as to
the problem.  I would assume that since backups were working just fine with
3.0 that they should be fine in 3.1 and that my external drive is ok?

Would appreciate any help as I'd like to get my backups up and running
again.

I did do a df -i and got the following output:

FilesystemInodes   IUsed   IFree IUse% Mounted on
//192.168.15.6/public
116M1.7M115M2% /backups

Regards,



 << File: ATT00020.txt >>  << File: ATT00023.txt >>  << File: ATT00089.txt
>>  << File: ATT00092.txt >> 
<>--
___
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] External WD Worldbook Device

2009-03-26 Thread Nils Breunese (Lemonbit)
Tino Schwarze wrote:

> On Thu, Mar 26, 2009 at 10:03:03AM -0400, David Williams wrote:
>> All,
>>
>> Up until very recently I have had BackupPC 3.0 working with my 1TB  
>> external
>> WD Mybook world edition device, which is connected to my LAN and  
>> which I
>> mount via cifs.  I recently had to upgrade my machine to a newer  
>> version on
>> Linux (Mandriva 2009.0) and with that comes BackupPC 3.1.
>>
>> Once I had setup installed BackupPC 3.1, mounted my backup device  
>> using cifs
>> and restored my configuration files I started up BackupPC only to  
>> get the
>> message:
>>
>> "Can't create a test hardlink..."
>
> I'm not sure whether CIFS supports hardlinks.

I believe CIFS does, but the underlying file system may not. What is  
the file system on the drive? It might be that hardlinks never worked  
and that the check was only added in 3.1.

Nils Breunese.

--
___
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] External WD Worldbook Device

2009-03-26 Thread David Williams
Permissions seem to be fine.  User and group are showing up as backuppc.


David Williams

-Original Message-
From: Michael Harnden [mailto:m...@rochestervball.com] 
Sent: Thursday, March 26, 2009 11:35 AM
To: dwilli...@dtw-consulting.com; General list for user discussion,
questions and support
Subject: Re: [BackupPC-users] External WD Worldbook Device

Hi David,
Check your permissions on your backup folders. There is a chance that  
your new installation create your BackupPC user and group with a  
different numerical id than your previous install. If you do a ls -la  
on /backups and get a number back instead of a user/group name that is  
your problem.
Mike

Quoting David Williams :

> All,
>
> Up until very recently I have had BackupPC 3.0 working with my 1TB
external
> WD Mybook world edition device, which is connected to my LAN and which I
> mount via cifs.  I recently had to upgrade my machine to a newer version
on
> Linux (Mandriva 2009.0) and with that comes BackupPC 3.1.
>
> Once I had setup installed BackupPC 3.1, mounted my backup device using
cifs
> and restored my configuration files I started up BackupPC only to get the
> message:
>
> "Can't create a test hardlink..."
>
> And BackupPC would not start :-(  Thankfully I have been able to comment
out
> this check from the BackupPC program and get BackupPC up and running so
that
> I can restore what I need from my backup drive via the web interface.
>
> Under BackupPC 3.0 I never had a problem performing backups and I can
still
> access the backups that I have from the 3.0 version.  There are no error
> messages in any of the log files.  So, did something change between 3.0
and
> 3.1 ?  Is there a way I can check manually by creating a hardlink on the
> backups partition from the shell ?  Sorry, not a Linux guru so not well up
> on the commands to do this.
>
> I did take a look through the archives but nothing jumped out to me as to
> the problem.  I would assume that since backups were working just fine
with
> 3.0 that they should be fine in 3.1 and that my external drive is ok?
>
> Would appreciate any help as I'd like to get my backups up and running
> again.
>
> I did do a df -i and got the following output:
>
> FilesystemInodes   IUsed   IFree IUse% Mounted on
> //192.168.15.6/public
> 116M1.7M115M2% /backups
>
> Regards,
> 
>
>
>
>




No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.238 / Virus Database: 270.11.24/2018 - Release Date: 03/23/09
06:52:00


--
___
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] External WD Worldbook Device

2009-03-26 Thread Michael Harnden
Hi David,
Check your permissions on your backup folders. There is a chance that  
your new installation create your BackupPC user and group with a  
different numerical id than your previous install. If you do a ls -la  
on /backups and get a number back instead of a user/group name that is  
your problem.
Mike

Quoting David Williams :

> All,
>
> Up until very recently I have had BackupPC 3.0 working with my 1TB external
> WD Mybook world edition device, which is connected to my LAN and which I
> mount via cifs.  I recently had to upgrade my machine to a newer version on
> Linux (Mandriva 2009.0) and with that comes BackupPC 3.1.
>
> Once I had setup installed BackupPC 3.1, mounted my backup device using cifs
> and restored my configuration files I started up BackupPC only to get the
> message:
>
> "Can't create a test hardlink..."
>
> And BackupPC would not start :-(  Thankfully I have been able to comment out
> this check from the BackupPC program and get BackupPC up and running so that
> I can restore what I need from my backup drive via the web interface.
>
> Under BackupPC 3.0 I never had a problem performing backups and I can still
> access the backups that I have from the 3.0 version.  There are no error
> messages in any of the log files.  So, did something change between 3.0 and
> 3.1 ?  Is there a way I can check manually by creating a hardlink on the
> backups partition from the shell ?  Sorry, not a Linux guru so not well up
> on the commands to do this.
>
> I did take a look through the archives but nothing jumped out to me as to
> the problem.  I would assume that since backups were working just fine with
> 3.0 that they should be fine in 3.1 and that my external drive is ok?
>
> Would appreciate any help as I'd like to get my backups up and running
> again.
>
> I did do a df -i and got the following output:
>
> FilesystemInodes   IUsed   IFree IUse% Mounted on
> //192.168.15.6/public
> 116M1.7M115M2% /backups
>
> Regards,
> 
>
>
>
>



--
___
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] Incremental Backup

2009-03-26 Thread kyeto

Hi,

I try to configure BackupPC to my firm with smb.
I have no problem with the full backup.

But when i create new folder with files, they are not saved with a incremental 
backup, not always.
Some times, they are copied but not always.

How can i resolv this problem ?

Thanks

+--
|This was sent by alexan...@gi-invest.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
___
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] External WD Worldbook Device

2009-03-26 Thread David Williams
I'm not sure what the filesystem is.  I suspect it is NTFS.  I guess
whatever these drives come as.

I did try what Tino suggested and this is what happened:

[r...@dtwconsulting backups]# echo hello > testfile
[r...@dtwconsulting backups]# ln testfile linkedfile
ln: creating hard link `linkedfile' => `testfile': No such file or directory

So yes, does look like there is a problem.

I have checked my previous backups and don't see any errors though, and I
was able to restore some of the files !

Is there a way that I can reformat this drive to ext3 ?  Is it even possible
to format the drive from linux when it is mounted as cifs ?

David Williams


-Original Message-
From: Nils Breunese (Lemonbit) [mailto:n...@lemonbit.com] 
Sent: Thursday, March 26, 2009 11:51 AM
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] External WD Worldbook Device

Tino Schwarze wrote:

> On Thu, Mar 26, 2009 at 10:03:03AM -0400, David Williams wrote:
>> All,
>>
>> Up until very recently I have had BackupPC 3.0 working with my 1TB  
>> external
>> WD Mybook world edition device, which is connected to my LAN and  
>> which I
>> mount via cifs.  I recently had to upgrade my machine to a newer  
>> version on
>> Linux (Mandriva 2009.0) and with that comes BackupPC 3.1.
>>
>> Once I had setup installed BackupPC 3.1, mounted my backup device  
>> using cifs
>> and restored my configuration files I started up BackupPC only to  
>> get the
>> message:
>>
>> "Can't create a test hardlink..."
>
> I'm not sure whether CIFS supports hardlinks.

I believe CIFS does, but the underlying file system may not. What is  
the file system on the drive? It might be that hardlinks never worked  
and that the check was only added in 3.1.

Nils Breunese.


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


No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.238 / Virus Database: 270.11.24/2018 - Release Date: 03/23/09
06:52:00


--
___
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] External WD Worldbook Device

2009-03-26 Thread Les Mikesell
David Williams wrote:
> Permissions seem to be fine.  User and group are showing up as backuppc.

Is the top level directory symlinked or mounted where the packaged 
backuppc install expects it?

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



--
___
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] External WD Worldbook Device

2009-03-26 Thread David Williams
The top level directory is mounted to /backups

There is no symlinking going on.  I have changed the appropriate config to
point to /backups.  This has been working like this for a few years now.


David Williams


-Original Message-
From: Les Mikesell [mailto:lesmikes...@gmail.com] 
Sent: Thursday, March 26, 2009 12:15 PM
To: dwilli...@dtw-consulting.com; General list for user discussion,
questions and support
Subject: Re: [BackupPC-users] External WD Worldbook Device

David Williams wrote:
> Permissions seem to be fine.  User and group are showing up as backuppc.

Is the top level directory symlinked or mounted where the packaged 
backuppc install expects it?

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




No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.238 / Virus Database: 270.11.24/2018 - Release Date: 03/23/09
06:52:00


--
___
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 Backup

2009-03-26 Thread Les Mikesell
kyeto wrote:
> Hi,
> 
> I try to configure BackupPC to my firm with smb.
> I have no problem with the full backup.
> 
> But when i create new folder with files, they are not saved with a 
> incremental backup, not always.
> Some times, they are copied but not always.
> 
> How can i resolv this problem ?

How are you creating these new files?  If you use a method that 
preserves and older timestamp (like unpacking a zip file, etc.), they 
won't be picked up in an incremental if they appear older than the 
previous full.  If you use the rsync or rsyncd methods it will actually 
compare the contents of the runs to detect changes regardless of the 
file timestamps.

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

--
___
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 Backup

2009-03-26 Thread Tino Schwarze
On Thu, Mar 26, 2009 at 10:53:57AM -0400, kyeto wrote:

> I try to configure BackupPC to my firm with smb.
> I have no problem with the full backup.
> 
> But when i create new folder with files, they are not saved with a 
> incremental backup, not always.
> Some times, they are copied but not always.

I suppose, this happens when you unpack some zip archive or similar?

> How can i resolv this problem ?

This is actually a problem which cannot be solved if you use smb as the
transfer method. Incremental backups work by transferring only files
whose last modification time is younger than x. If you unpack an archive, the
last modification time is restored as well, so the incremental backup
will not consider the file as new.

Only rsync-based transfers are able to detect such changes because they
build and compare a file list on the server and client.

Bye,

Tino.

-- 
"What we nourish flourishes." - "Was wir nähren erblüht."

www.lichtkreis-chemnitz.de
www.craniosacralzentrum.de

--
___
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] External WD Worldbook Device

2009-03-26 Thread Tino Schwarze
Hi David,

On Thu, Mar 26, 2009 at 12:02:16PM -0400, David Williams wrote:
> I'm not sure what the filesystem is.  I suspect it is NTFS.  I guess
> whatever these drives come as.
> 
> I did try what Tino suggested and this is what happened:
> 
> [r...@dtwconsulting backups]# echo hello > testfile
> [r...@dtwconsulting backups]# ln testfile linkedfile
> ln: creating hard link `linkedfile' => `testfile': No such file or directory
> 
> So yes, does look like there is a problem.
> 
> I have checked my previous backups and don't see any errors though, and I
> was able to restore some of the files !
> 
> Is there a way that I can reformat this drive to ext3 ?  Is it even possible
> to format the drive from linux when it is mounted as cifs ?

Not directly since you use the drive as a NAS, therefore you access it
via some network protocol. Does it support NFS? If so, try using that
and perform the above test.

A not-so-nice solution would be to create an x GB file and format that
with whatever unix filesystem you like.

It would work roughly like this (for a 10 GB volume):

dd if=/dev/zero of=/backups/backuppc-volume bs=1M count=10240

mke2fs -m 1 -j /backups/backuppc-volume

mount -o loop,noatima,nodiratime /backups/backuppc-volume /var/lib/backuppc

If you run out of space on the volume later, you may resize it by
growing the file first (be careful!), then resizing the file system.

I suppose, performance is not an issue for you - it may be pretty
slow...

I wonder how you managed to do backups the first time, though... you
only upgraded your server? Then there must have been a way to create
links or BackupPC would have complained a lot.

HTH,

Tino.

-- 
"What we nourish flourishes." - "Was wir nähren erblüht."

www.lichtkreis-chemnitz.de
www.craniosacralzentrum.de

--
___
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] Incremental Backup

2009-03-26 Thread kyeto

Ah ok,
I have copied the files from an another folder.

How can i tell to backuppc to check the create date of the file and not the 
modification date ?

Thanks

+--
|This was sent by alexan...@gi-invest.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
___
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] External WD Worldbook Device

2009-03-26 Thread Les Mikesell
David Williams wrote:
> The top level directory is mounted to /backups
> 
> There is no symlinking going on.  I have changed the appropriate config to
> point to /backups.

You can't change the location in the config in pre-packaged versions. 
There have been about a million discussions on this list about that 
issue.  If you get the original package from sourceforge and install 
yourself, you have a chance to pick the location.  In the RPM and deb 
packaged versions included in distributions, someone has already made 
that choice and you can't change it.

>  This has been working like this for a few years now.

Or failing... The older version just didn't test.  You'll end up with 
working backup copies but no pooling if the links don't work so it 
wastes a lot of space.

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


--
___
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 Backup

2009-03-26 Thread Les Mikesell
kyeto wrote:
> Ah ok,
> I have copied the files from an another folder.
> 
> How can i tell to backuppc to check the create date of the file and not the 
> modification date ?

I don't think that is possible with the smb method.

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

--
___
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 Backup

2009-03-26 Thread Tino Schwarze
On Thu, Mar 26, 2009 at 12:56:36PM -0400, kyeto wrote:

> Ah ok,
> I have copied the files from an another folder.
> 
> How can i tell to backuppc to check the create date of the file and not the 
> modification date ?

As far as I know, you cannot. If you could, BackupPC would do it by
default.

Tino.

-- 
"What we nourish flourishes." - "Was wir nähren erblüht."

www.lichtkreis-chemnitz.de
www.craniosacralzentrum.de

--
___
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] External WD Worldbook Device

2009-03-26 Thread David Williams
Tino,

Thanks for the info.  I will look into whether or not the drive can be
mounted as NFS.  I've never had to do that so will have to look into what it
will take to perform that.


David Williams


-Original Message-
From: Tino Schwarze [mailto:backuppc.li...@tisc.de] 
Sent: Thursday, March 26, 2009 12:53 PM
To: backuppc-users@lists.sourceforge.net
Subject: Re: [BackupPC-users] External WD Worldbook Device

Hi David,

On Thu, Mar 26, 2009 at 12:02:16PM -0400, David Williams wrote:
> I'm not sure what the filesystem is.  I suspect it is NTFS.  I guess
> whatever these drives come as.
> 
> I did try what Tino suggested and this is what happened:
> 
> [r...@dtwconsulting backups]# echo hello > testfile
> [r...@dtwconsulting backups]# ln testfile linkedfile
> ln: creating hard link `linkedfile' => `testfile': No such file or
directory
> 
> So yes, does look like there is a problem.
> 
> I have checked my previous backups and don't see any errors though, and I
> was able to restore some of the files !
> 
> Is there a way that I can reformat this drive to ext3 ?  Is it even
possible
> to format the drive from linux when it is mounted as cifs ?

Not directly since you use the drive as a NAS, therefore you access it
via some network protocol. Does it support NFS? If so, try using that
and perform the above test.

A not-so-nice solution would be to create an x GB file and format that
with whatever unix filesystem you like.

It would work roughly like this (for a 10 GB volume):

dd if=/dev/zero of=/backups/backuppc-volume bs=1M count=10240

mke2fs -m 1 -j /backups/backuppc-volume

mount -o loop,noatima,nodiratime /backups/backuppc-volume /var/lib/backuppc

If you run out of space on the volume later, you may resize it by
growing the file first (be careful!), then resizing the file system.

I suppose, performance is not an issue for you - it may be pretty
slow...

I wonder how you managed to do backups the first time, though... you
only upgraded your server? Then there must have been a way to create
links or BackupPC would have complained a lot.

HTH,

Tino.

-- 
"What we nourish flourishes." - "Was wir nähren erblüht."

www.lichtkreis-chemnitz.de
www.craniosacralzentrum.de


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


No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.238 / Virus Database: 270.11.24/2018 - Release Date: 03/23/09
06:52:00


--
___
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] External WD Worldbook Device

2009-03-26 Thread David Williams
Les,

I believe that under the Mandriva package we are allowed to change the
TopDir and it is in the config.pl file.  When I originally started Backuppc
it was complaining that it could not create a hardlink under
/backups/pc/ and /backups/cpool.  It wasn't looking at
/var/lib/backuppc.  Even with version 3.0 I had TopDir set to /backups and
backups were being created under /backups.

Perhaps it has been 'failing', but I had valid backups that I have restored
from.  Whether it was wasting space I don't know, perhaps it was.  Also,
even though I cannot currently do backups I can restore from existing
backups and the restore is coming from /backups.  Based upon that I would
say that the Mandriva package allows the change of the TopDir.

David Williams


-Original Message-
From: Les Mikesell [mailto:lesmikes...@gmail.com] 
Sent: Thursday, March 26, 2009 1:00 PM
To: dwilli...@dtw-consulting.com; General list for user discussion,
questions and support
Subject: Re: [BackupPC-users] External WD Worldbook Device

David Williams wrote:
> The top level directory is mounted to /backups
> 
> There is no symlinking going on.  I have changed the appropriate config to
> point to /backups.

You can't change the location in the config in pre-packaged versions. 
There have been about a million discussions on this list about that 
issue.  If you get the original package from sourceforge and install 
yourself, you have a chance to pick the location.  In the RPM and deb 
packaged versions included in distributions, someone has already made 
that choice and you can't change it.

>  This has been working like this for a few years now.

Or failing... The older version just didn't test.  You'll end up with 
working backup copies but no pooling if the links don't work so it 
wastes a lot of space.

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



No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.238 / Virus Database: 270.11.24/2018 - Release Date: 03/23/09
06:52:00


--
___
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] External WD Worldbook Device

2009-03-26 Thread Les Mikesell
David Williams wrote:
> Les,
> 
> I believe that under the Mandriva package we are allowed to change the
> TopDir and it is in the config.pl file.

That's not likely. When you install from source, the configuration 
process modifies the code, embedding this location elsewhere.  If you 
don't re-run that process it won't be right.

> When I originally started Backuppc
> it was complaining that it could not create a hardlink under
> /backups/pc/ and /backups/cpool.  It wasn't looking at
> /var/lib/backuppc.  Even with version 3.0 I had TopDir set to /backups and
> backups were being created under /backups.

The test in 3.1 was added to catch this kind of mistake.

> Perhaps it has been 'failing', but I had valid backups that I have restored
> from.  Whether it was wasting space I don't know, perhaps it was.  Also,
> even though I cannot currently do backups I can restore from existing
> backups and the restore is coming from /backups.  Based upon that I would
> say that the Mandriva package allows the change of the TopDir.

If pooling had ever worked you should have a large tree of files with 
long hash codes for names under the pool or cpool directory.  Does 'ls 
-lR' or 'find' show them?   Backups are stored under the appropriate pc 
directories in any case, but the pooling that eliminates duplicate 
copies can only work when the hardlinks succeed.  If you do have pooled 
files (and ls -l should show link counts > 1), then there must be 
something different about the mount options on the new system.

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




--
___
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_tarCreate generats corrupted file listings (ver 3.1.0)

2009-03-26 Thread Craig Barratt
John,

> I am seeing corrupted directory listings using BackupPC_tarCreate. One
> of the reported filenames has a bunch of nulls in the middle of it
> using BackupPC-3.1.0.

I'd like to get to the bottom of this.  Let's take this off list.

It would be great if you could get this to happen on as small an
archive as possible, and if possible to email to me (I'm hoping
you can make it happen on non-confidential files, ideally existing
open-souce public files).  If I can't replicate it I will propose
some additional debugging code you could run.

Craig

--
___
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 and launching rsyncd

2009-03-26 Thread David Lasker
I was trying to figure out the best way to deploy VSS with BackupPC on my
Windows XP PCs, and found this wonderful script. Thank you so much Jeffrey
for sharing it!

I ran into (and solved) a few issues when deploying version 0.3 of the
script that I wanted to share, in the hope of making it easier for the next
user.

1. The various archives for this mailing list all mangle the script in
different ways, i.e. at signs and colons get changed, extra newlines added,
indents removed, etc. It took me several hours of studying diffs between the
versions on backupcentral.com and mailarchive.com to get a working version.
Could Jeffery post this script in the "User Scripts" section of the wiki?

2. The script requires it be in the group "Administrators". I find it
impossible to set this group on my Windows PCs. When I chgrp a file to
"Administrators" or group number 544, the group name is changed to "root"
which is group number 0. I think this might be because both Administrators
and root both have the same SID in /etc/group. I finally gave up and changed
the script to allow ownership by either "Administrators" or "root" like
this:

 #Check permissions on files we call. Also touch SHADOWLOCK
 # Set up SHADOWDIR and check their permissions
 if [ $USESHADOWS -gt 0 ] && touch $SHADOWLOCK && \
  ! ( stat -c %A $0 | grep -q "^r.x" && \
  [[ $(stat -c %G $0 ) =~ Administrators|root ]] && \
  stat -c %A $SHADOWEXECCMD | grep -q "^r.x" && \
  [[ $(stat -c %G $SHADOWEXECCMD) =~ Administrators|root ]]  && \

If anyone has a better solution to this problem, please let me know.

3. There is a typo in the line:

 $DOSDEV "${letter}:" /D 2> /dev/nuul

which should be changed to /dev/null

4. If using nmblookup to resolve PC host names, then the calls to the script
in the pc config files should use $hostIP instead of $host.

5. If you were previously running rsyncd as a Windows service, you need to
remove it, by using cygrunsrv -R.

6. The script needs to be called in $Conf{RestorePreUserCmd} and
$Conf{RestorePostUserCmd} with the additional parameter "-u 0" in order for
restores to work.

Hope that helps...

Dave


--
___
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] Next release

2009-03-26 Thread o...@jltechinc.com
We are all currently using: Version *3.1.0* released on November 25th, 2007

Any idea when we can expect the next release of BackupPC?

-obj

--
___
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] Next release

2009-03-26 Thread Paul Mantz
2009/3/26 o...@jltechinc.com :
> We are all currently using: Version *3.1.0* released on November 25th, 2007
>
> Any idea when we can expect the next release of BackupPC?
>
> -obj
>
> --
> ___
> 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/
>

Hello Obj,

We are working on changes for a 3.2.0 release.  In fact, 3.2.0beta0
was uploaded to the CVS repository on Wednesday.  You can expect a new
version soon.


Adios,

-- 
Paul Mantz
http://www.mcpantz.org
BackupPC - Network Backup with De-Duplication http://www.backuppc.com
Zmanda - Open source backup and recovery http://www.zmanda.com/

--
___
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] Next release

2009-03-26 Thread o...@jltechinc.com
Is it possible to get a CVS copy?

I tried: "cvs -z3.2 
-d:pserver:anonym...@backuppc.cvs.sourceforge.net:/cvsroot/backuppc co 
BackupPC"

...but received the dreaded "__CONFIGURE_BIN_LIST__" error when I ran 
the "./configure.pl"

Thanks for a great product!

-J

Paul Mantz said the following on 03/26/2009 07:23 PM:
> 2009/3/26 o...@jltechinc.com :
>   
>> We are all currently using: Version *3.1.0* released on November 25th, 2007
>>
>> Any idea when we can expect the next release of BackupPC?
>>
>> -obj
>>
>> --
>> ___
>> 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/
>>
>> 
>
> Hello Obj,
>
> We are working on changes for a 3.2.0 release.  In fact, 3.2.0beta0
> was uploaded to the CVS repository on Wednesday.  You can expect a new
> version soon.
>
>
> Adios,
>
>   

--
___
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] Next release

2009-03-26 Thread Craig Barratt
J:

> Is it possible to get a CVS copy?
> 
> I tried: "cvs -z3.2
> -d:pserver:anonym...@backuppc.cvs.sourceforge.net:/cvsroot/backuppc co
> BackupPC"
> 
> ...but received the dreaded "__CONFIGURE_BIN_LIST__" error when I ran
> the "./configure.pl"

You need to read CVS_README (actually I need to update this since makeDist
now takes arguments for the release name and date).

Quick summary: you need to run makeDist to create a tarball
release.  configure.pl doesn't run straight out of CVS, but
will run from the tarball.

Craig

--
___
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] Next release

2009-03-26 Thread o...@jltechinc.com




Great! that worked.

I did the following: 


  ./makeDist
--noLangCheck --nosyntaxCheck --releasedate '26 Mar 2009' --version
3.2.0
  cd
dist/BackupPC-3.2.0
  ./configure.pl

Thanks.

-J

Craig Barratt said the following on 03/26/2009 10:03 PM:

  J:

  
  
Is it possible to get a CVS copy?

I tried: "cvs -z3.2
-d:pserver:anonym...@backuppc.cvs.sourceforge.net:/cvsroot/backuppc co
BackupPC"

...but received the dreaded "__CONFIGURE_BIN_LIST__" error when I ran
the "./configure.pl"

  
  
You need to read CVS_README (actually I need to update this since makeDist
now takes arguments for the release name and date).

Quick summary: you need to run makeDist to create a tarball
release.  configure.pl doesn't run straight out of CVS, but
will run from the tarball.

Craig

  




--
___
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] External WD Worldbook Device

2009-03-26 Thread Les Stott

Les Mikesell wrote:

David Williams wrote:
  

When I originally started Backuppc
it was complaining that it could not create a hardlink under
/backups/pc/ and /backups/cpool.  It wasn't looking at
/var/lib/backuppc.  Even with version 3.0 I had TopDir set to /backups and
backups were being created under /backups.



The test in 3.1 was added to catch this kind of mistake.

  

Yes, i found this way back in December 2007, see here

http://www.mail-archive.com/backuppc-users@lists.sourceforge.net/msg08103.html

but no one ever replied to my post.

In short yes, the hardlink test is a good thing, but to me it seems it 
gets done too early.


In the old 3.0.0 you could just format a usb drive as ext3 and plug it 
in on the same mount point and backuppc would start, create pc, cpool, 
pool and trash directories and carry on.
Now in 3.1.0 it does the hardlink check before creating any directories 
and becuase the hardlink check is done on subdirectories it fails.


I would absolutely love it if the top level directories were still 
created by backuppc first before doing the hardlink test. If those 
directories are created because they dont exist and the hardlink test 
fails then just remove the directories. Or leave them there, all you've 
done is create a few directories.


Or how about just making some temp directories as part of the hardlink 
test underneath the $Topdir? That would be the same as trying to create 
hard links under TopDir/pc/ etc.


Regards,

Les Stott
--
___
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] External WD Worldbook Device

2009-03-26 Thread Craig Barratt
Les writes:

> I would absolutely love it if the top level directories were still
> created by backuppc first before doing the hardlink test. If those
> directories are created because they dont exist and the hardlink
> test fails then just remove the directories. Or leave them there,
> all you've done is create a few directories.

It's fixed in CVS and will be in 3.2.0:

* Create $TopDir and related data directories in BackupPC_dump
  prior to hardlink test.  Requested by Les Stott.

Craig

--
___
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] External WD Worldbook Device

2009-03-26 Thread Les Stott

Craig Barratt wrote:

Les writes:

  

I would absolutely love it if the top level directories were still
created by backuppc first before doing the hardlink test. If those
directories are created because they dont exist and the hardlink
test fails then just remove the directories. Or leave them there,
all you've done is create a few directories.



It's fixed in CVS and will be in 3.2.0:

* Create $TopDir and related data directories in BackupPC_dump
  prior to hardlink test.  Requested by Les Stott.

  

Brilliant!!!

avagoodweekend,

Thanks,

Les
--
___
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 and launching rsyncd

2009-03-26 Thread Jeffrey J. Kosowsky
David Lasker wrote at about 15:21:11 -0700 on Thursday, March 26, 2009:
 > I was trying to figure out the best way to deploy VSS with BackupPC on my
 > Windows XP PCs, and found this wonderful script. Thank you so much Jeffrey
 > for sharing it!
 > 
 > I ran into (and solved) a few issues when deploying version 0.3 of the
 > script that I wanted to share, in the hope of making it easier for the next
 > user.
 > 
Thanks for the compliments and for the feedback

 > 1. The various archives for this mailing list all mangle the script in
 > different ways, i.e. at signs and colons get changed, extra newlines added,
 > indents removed, etc. It took me several hours of studying diffs between the
 > versions on backupcentral.com and mailarchive.com to get a working version.
 > Could Jeffery post this script in the "User Scripts" section of the wiki?

I would be happy to do that if you tell me where it is and what I need
to do.

 > 
 > 2. The script requires it be in the group "Administrators". I find it
 > impossible to set this group on my Windows PCs. When I chgrp a file to
 > "Administrators" or group number 544, the group name is changed to "root"
 > which is group number 0. I think this might be because both Administrators
 > and root both have the same SID in /etc/group. I finally gave up and changed
 > the script to allow ownership by either "Administrators" or "root" like
 > this:
 > 
 >  #Check permissions on files we call. Also touch SHADOWLOCK
 >  # Set up SHADOWDIR and check their permissions
 >  if [ $USESHADOWS -gt 0 ] && touch $SHADOWLOCK && \
 >   ! ( stat -c %A $0 | grep -q "^r.x" && \
 >   [[ $(stat -c %G $0 ) =~ Administrators|root ]] && \
 >   stat -c %A $SHADOWEXECCMD | grep -q "^r.x" && \
 >   [[ $(stat -c %G $SHADOWEXECCMD) =~ Administrators|root ]]  && \
 > 
 > If anyone has a better solution to this problem, please let me know.

I am by no means a Windows expert - but perhaps different versions use
different names for the superuser equivalent. Before I hard code in the
'root' alternative, it would be helpful to know whether these are the
only two possibilities or whether other versions or setups of Windows
use additional terms for the superuser

 > 
 > 3. There is a typo in the line:
 > 
 >  $DOSDEV "${letter}:" /D 2> /dev/nuul
 > 
 > which should be changed to /dev/null
Good catch - I will make this change
 > 
 > 4. If using nmblookup to resolve PC host names, then the calls to the script
 > in the pc config files should use $hostIP instead of $host.
Can you elaborate here so I know how to change the script?
Would $hostIP work in both cases or is some type of 'test' or config
necessary to determine which one to use?

 > 
 > 5. If you were previously running rsyncd as a Windows service, you need to
 > remove it, by using cygrunsrv -R.
I do not believe this is necessary. I have the service set up. A
problem would potentially only exist if you had the service started
automatically and left it running (in that case, the script would
either complain about rsyncd already running or kill it depending on
how you have the configuration set up)

 > 6. The script needs to be called in $Conf{RestorePreUserCmd} and
 > $Conf{RestorePostUserCmd} with the additional parameter "-u 0" in order for
 > restores to work.
To tell you the truth, I never tested the script on a restore.
Actually, I'm not sure you want to use VSS on a restore since wouldn't
you want to restore to the *current* filesystem rather than to a
shadow copy. In fact, I thought shadow copies were read only anyway.
Maybe I'm missing something so please help me here...

 > 
 > Hope that helps...
Very helpful! Let's continue the dialog and once we get the above
points nailed down, I will release an updated version incorporating
these changes.

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