Re: [BackupPC-users] Only v0 showing in backup history

2012-04-05 Thread Daniel Harvey
OK, another update which may help people. I submitted an issue with bindfs 
(http://code.google.com/p/bindfs/issues/detail?id=20). Turns out there are some 
options to use with bindfs relating to inodes (actually they are FUSE options 
'use_ino' and 'readdir_ino' but see issue above). These options are on by 
default in more recent versions of bindfs than I'm currently running.

Cheers,
Daniel

-Original Message-
From: Daniel Harvey 
Sent: Thursday, 5 April 2012 9:37 AM
To: backuppc-users@lists.sourceforge.net
Subject: RE: [BackupPC-users] Only v0 showing in backup history

Hi Craig and all,

I've finally done some more investigation into this problem and have 
progressed. 

By way of background, our backup setup is as follows:
- Linux BackupPC server on ESX
- Backup media on cheap SAN mounted via NFS
- BackupPC directory remounted using bindfs (http://code.google.com/p/bindfs/) 
to get the user/group as backuppc

The problem (only v0 showing) is occurring as a result of readdirent (from 
IO::Dirent) returning the value 4294967295 for all inodes - DirHistory detects 
v0, v1, etc buy looking for updated inodes on the backed up files. The problem 
only seems to occur for me only on the bindfs filesystem.

I have attached a test program which I've used to confirm the problem. It 
produces output like this:

root@XXX:/home/XXX# ./test.pl
Test program

/bindfs/backuppc/:
F: . 4294967295
F: .. 4294967295
F: cpool 4294967295
...


/nfs/backup/backuppc/:
F: . 3604481
F: .. 3424257
F: cpool 3604482
...

My proposed fix is attached as a patch file. I have extended the section in 
dirRead() titled Make sure the IO::Dirent really works to include a check for 
inodes with the value 4294967295 (-1 in 32-bits) and flag the use of stat() in 
place of readdirent().

Comments welcome. For your consideration Craig.

I will also submit an issue with bindfs to query them on this issue.

Cheers,
Daniel

-Original Message-
From: Daniel Harvey [mailto:dan...@amristar.com.au]
Sent: Thursday, 23 December 2010 12:02 AM
To: backuppc-users@lists.sourceforge.net
Subject: Re: [BackupPC-users] Only v0 showing in backup history

This is happening for every file in every backup for our BackupPC install when 
viewed through the web interface.

Is there a way of listing the version history for a file or directory from the 
command line?

Thanks,
Daniel

On 20/12/2010, at 8:48 PM, Daniel Harvey dan...@amristar.com.au wrote:

 Hi Craig,
 
 Thanks for the response. Unfortunately, some files have changed. 
 
 I know, as I have performed specific tests on a file I know changes daily. In 
 summary, I know that: 
 1. That the file is updated daily.
 2. That the file is backed up correctly (daily).
 3. That the different versions of the file can be restored correctly from the 
 web interface.
 4. That the different versions of the file can be restored correctly from the 
 command line.
 
 Any other suggestions on what to look at? No errors show in any of the logs.
 
 Thanks in advance,
 Daniel.
 
 On 20/12/2010, at 7:19 PM, Craig Barratt cbarr...@users.sourceforge.net 
 wrote:
 
 Daniel,
 
 When browsing backups through the web interface (Directory backup history 
 for directory page), the page only shows version 0 of all files.
 
 That probably means the files haven't changed.  That number isn't the 
 backup number.  Instead, it is just a number that identifies the 
 different versions of the file.  A file that hasn't changed through 
 several backups will be displayed as v0.
 
 Craig
 

--
Forrester recently released a report on the Return on Investment (ROI) of 
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even within 
7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
___
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/

--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
___
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] Only v0 showing in backup history

2012-04-04 Thread Daniel Harvey
Hi Craig and all,

I've finally done some more investigation into this problem and have 
progressed. 

By way of background, our backup setup is as follows:
- Linux BackupPC server on ESX
- Backup media on cheap SAN mounted via NFS
- BackupPC directory remounted using bindfs (http://code.google.com/p/bindfs/) 
to get the user/group as backuppc

The problem (only v0 showing) is occurring as a result of readdirent (from 
IO::Dirent) returning the value 4294967295 for all inodes - DirHistory detects 
v0, v1, etc buy looking for updated inodes on the backed up files. The problem 
only seems to occur for me only on the bindfs filesystem.

I have attached a test program which I've used to confirm the problem. It 
produces output like this:

root@XXX:/home/XXX# ./test.pl
Test program

/bindfs/backuppc/:
F: . 4294967295
F: .. 4294967295
F: cpool 4294967295
...


/nfs/backup/backuppc/:
F: . 3604481
F: .. 3424257
F: cpool 3604482
...

My proposed fix is attached as a patch file. I have extended the section in 
dirRead() titled Make sure the IO::Dirent really works to include a check for 
inodes with the value 4294967295 (-1 in 32-bits) and flag the use of stat() in 
place of readdirent().

Comments welcome. For your consideration Craig.

I will also submit an issue with bindfs to query them on this issue.

Cheers,
Daniel

-Original Message-
From: Daniel Harvey [mailto:dan...@amristar.com.au] 
Sent: Thursday, 23 December 2010 12:02 AM
To: backuppc-users@lists.sourceforge.net
Subject: Re: [BackupPC-users] Only v0 showing in backup history

This is happening for every file in every backup for our BackupPC install when 
viewed through the web interface.

Is there a way of listing the version history for a file or directory from the 
command line?

Thanks,
Daniel

On 20/12/2010, at 8:48 PM, Daniel Harvey dan...@amristar.com.au wrote:

 Hi Craig,
 
 Thanks for the response. Unfortunately, some files have changed. 
 
 I know, as I have performed specific tests on a file I know changes daily. In 
 summary, I know that: 
 1. That the file is updated daily.
 2. That the file is backed up correctly (daily).
 3. That the different versions of the file can be restored correctly from the 
 web interface.
 4. That the different versions of the file can be restored correctly from the 
 command line.
 
 Any other suggestions on what to look at? No errors show in any of the logs.
 
 Thanks in advance,
 Daniel.
 
 On 20/12/2010, at 7:19 PM, Craig Barratt cbarr...@users.sourceforge.net 
 wrote:
 
 Daniel,
 
 When browsing backups through the web interface (Directory backup history 
 for directory page), the page only shows version 0 of all files.
 
 That probably means the files haven't changed.  That number isn't the 
 backup number.  Instead, it is just a number that identifies the 
 different versions of the file.  A file that hasn't changed through 
 several backups will be displayed as v0.
 
 Craig
 

--
Forrester recently released a report on the Return on Investment (ROI) of 
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even within 
7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
___
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/


test.pl
Description: test.pl


readdirent-inode-fix.patch
Description: readdirent-inode-fix.patch
--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev___
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] Only v0 showing in backup history

2010-12-22 Thread Daniel Harvey
This is happening for every file in every backup for our BackupPC install when 
viewed through the web interface.

Is there a way of listing the version history for a file or directory from the 
command line?

Thanks,
Daniel

On 20/12/2010, at 8:48 PM, Daniel Harvey dan...@amristar.com.au wrote:

 Hi Craig,
 
 Thanks for the response. Unfortunately, some files have changed. 
 
 I know, as I have performed specific tests on a file I know changes daily. In 
 summary, I know that: 
 1. That the file is updated daily.
 2. That the file is backed up correctly (daily).
 3. That the different versions of the file can be restored correctly from the 
 web interface.
 4. That the different versions of the file can be restored correctly from the 
 command line.
 
 Any other suggestions on what to look at? No errors show in any of the logs.
 
 Thanks in advance,
 Daniel.
 
 On 20/12/2010, at 7:19 PM, Craig Barratt cbarr...@users.sourceforge.net 
 wrote:
 
 Daniel,
 
 When browsing backups through the web interface (Directory backup history 
 for directory page), the page only shows version 0 of all files.
 
 That probably means the files haven't changed.  That number isn't
 the backup number.  Instead, it is just a number that identifies
 the different versions of the file.  A file that hasn't changed
 through several backups will be displayed as v0.
 
 Craig
 

--
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
___
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] Only v0 showing in backup history

2010-12-20 Thread Daniel Harvey
Hi Craig,

Thanks for the response. Unfortunately, some files have changed. 

I know, as I have performed specific tests on a file I know changes daily. In 
summary, I know that: 
1. That the file is updated daily.
2. That the file is backed up correctly (daily).
3. That the different versions of the file can be restored correctly from the 
web interface.
4. That the different versions of the file can be restored correctly from the 
command line.

Any other suggestions on what to look at? No errors show in any of the logs.

Thanks in advance,
Daniel.

On 20/12/2010, at 7:19 PM, Craig Barratt cbarr...@users.sourceforge.net 
wrote:

 Daniel,
 
 When browsing backups through the web interface (Directory backup history 
 for directory page), the page only shows version 0 of all files.
 
 That probably means the files haven't changed.  That number isn't
 the backup number.  Instead, it is just a number that identifies
 the different versions of the file.  A file that hasn't changed
 through several backups will be displayed as v0.
 
 Craig


--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
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] Only v0 showing in backup history

2010-12-19 Thread Daniel Harvey
Hi,

When browsing backups through the web interface (Directory backup history for 
directory page), the page only shows version 0 of all files.

However, I can restore the different versions correctly via the command line 
tools.

I am running version 3.2 of BackupPC.

Any ideas?

Thanks in advance,
Daniel.

--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
___
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] Prevent concurrent backups to a host

2009-08-19 Thread Daniel Harvey
Any suggestions?

On Thu, 2009-08-13 at 14:04 +0800, Daniel Harvey wrote:
 Hi,
 
 I've split backups to a particular laptop host into parts as the whole
 lot together takes too long to run, and so never completes as the laptop
 is regularly disconnected.
 
 This seems to work ok, except they often are run concurrently by
 BackupPC. Is there an easy way to prevent these parts running
 concurrently?
 
 Thanks,
 Daniel.


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] Prevent concurrent backups to a host

2009-08-19 Thread Daniel Harvey
Using aliases to ensure different BackupPC hosts actually alias to the
same network host.

/etc/backuppc/elvandar_crypto.pl:
$Conf{ClientNameAlias} = 'elvandar';

/etc/backuppc/elvandar_root.pl
$Conf{ClientNameAlias} = 'elvandar';

On Wed, 2009-08-19 at 21:59 -0500, Jim Leonard wrote:
 Daniel Harvey wrote:
  I've split backups to a particular laptop host into parts as the whole
  lot together takes too long to run, and so never completes as the laptop
  is regularly disconnected.
 
 How did you configure this?  I am looking to set up the same behavior.


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] rsyncd over ssh

2009-05-21 Thread Daniel Harvey
Hi Jeffrey,

At the risk of spamming the list again, I apologise. I only joined the
list and the forum immediately before the post. And, I agree that I
*thought* this is a topic-based forum rather than a mailing list - I
went to www.backupcentral.com, selected the menu Forums and them Open
Source BackupPC - it looked like a forum to me. Now I know :-)

Anyway, the (mailing list) post I was referring to was 

http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/backuppc-21/rsyncd-over-ssh-79117/

which relates to running BackupPC using rsync's daemon mode tunnelled
over SSH. 

I've since got Joe's modifications which enable this and I'll let you
know how I get on. FYI, the key issue for me is that I want to tunnel
over SSH, but am not happy to allow un-checked root access to the target
machine(s) - rsync's daemon mode tunnelled over SSH is a good balance.

Cheers,
Daniel. 

On Thu, 2009-05-21 at 15:35 -0400, Jeffrey J. Kosowsky wrote:
 daniel wrote at about 10:53:23 -0400 on Thursday, May 21, 2009:
   
   Hi Joe,
   
   This is exactly what I am looking for at the moment. Can you please post 
 you changes?
 
 Am I the only one who has NO CLUE what he is talking about?
 - What exactly is the 'this' that you are looking for?
 - Who is the 'you' that you want to post something? (Joe???)
 - What 'changes' need to be posted?
 
 And if you wanted something from a particular 'Joe' that only you two
 know about, why spam the entire list?
 
 I am beginning to sympathize with Holger's frustrations with Backup
 Central and people who think this is a topic-based forum rather than a
 mailing list.
 
 
   
   Cheers,
   Daniel.
   
   +--
   |This was sent by dan...@amristar.com.au via Backup Central.
   |Forward SPAM to ab...@backupcentral.com.
   +--
   
   
   
   
 --
   Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
   is a gathering of tech-side developers  brand creativity professionals. 
 Meet
   the minds behind Google Creative Lab, Visual Complexity, Processing,  
   iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
   Group, R/GA,  Big Spaceship. http://www.creativitycat.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/
   
 
 --
 Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
 is a gathering of tech-side developers  brand creativity professionals. Meet
 the minds behind Google Creative Lab, Visual Complexity, Processing,  
 iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
 Group, R/GA,  Big Spaceship. http://www.creativitycat.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/


--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.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/