You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Natalya Pyalling <np...@valuecommerce.ne.jp> on 2004/04/06 06:59:18 UTC

Hotbackup fails on large file (>2Gb)

Hi everybody,

I try to do hotbackup of Subversion repository.
[svn@vcs backup]$ svnadmin hotcopy /var/Repository/repos1 ~svn/repos1
svn: Can't copy '/var/Repository/repos1/db/strings' to '/home/svn/repos1/db/strings.tmp': File too large
[svn@vcs backup]$

The reason is large file.
[svn@vcs backup]$ ls -l /var/Repository/repos1/db/strings
-rw-rw-r--  1 svn svn 2228891648 Apr  5 17:37 /var/Repository/repos1/db/strings

There is some information about system:
1. Subversion version - 1.0.1. 
2. Kernel is 2.4.22-1.2174.nptl #1 Wed Feb 18 16:38:32 EST 2004 i686 i686 i386 GNU/Linux
3. Glibc - 2.3.2 release 101.4

What can I do with this? Is there any patch to fix it?

Any help would be appreciated.

Thank you.

Sincerely yours,
Natalya Pyalling.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Hotbackup fails on large file (>2Gb)

Posted by Erik Huelsmann <e....@gmx.net>.
> > What can I do with this? Is there any patch to fix it?
> >
> > Any help would be appreciated.
> 
> I've got the very same problem... our workaround is to cpio the complete 
> repository directory. It's ugly, people will tell you it's a no-no, but it
> works for us.

Probably you - both - need to compile APR with large file support. The
routines to do the copying are part of the APR library. 

HTH,

Erik.

-- 
+++ NEU bei GMX und erstmalig in Deutschland: TÜV-geprüfter Virenschutz +++
100% Virenerkennung nach Wildlist. Infos: http://www.gmx.net/virenschutz


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Hotbackup fails on large file (>2Gb)

Posted by Marc Haisenko <ha...@webport.de>.
On Tuesday 06 April 2004 08:59, Natalya Pyalling wrote:
> Hi everybody,
>
> I try to do hotbackup of Subversion repository.
> [svn@vcs backup]$ svnadmin hotcopy /var/Repository/repos1 ~svn/repos1
> svn: Can't copy '/var/Repository/repos1/db/strings' to
> '/home/svn/repos1/db/strings.tmp': File too large [svn@vcs backup]$
>
> The reason is large file.
> [svn@vcs backup]$ ls -l /var/Repository/repos1/db/strings
> -rw-rw-r--  1 svn svn 2228891648 Apr  5 17:37
> /var/Repository/repos1/db/strings
>
> There is some information about system:
> 1. Subversion version - 1.0.1.
> 2. Kernel is 2.4.22-1.2174.nptl #1 Wed Feb 18 16:38:32 EST 2004 i686 i686
> i386 GNU/Linux 3. Glibc - 2.3.2 release 101.4
>
> What can I do with this? Is there any patch to fix it?
>
> Any help would be appreciated.
>
> Thank you.
>
> Sincerely yours,
> Natalya Pyalling.

I've got the very same problem... our workaround is to cpio the complete 
repository directory. It's ugly, people will tell you it's a no-no, but it 
works for us.

-- 
Marc Haisenko
Systemspezialist
Webport IT-Services GmbH
mailto: haisenko@webport.de

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org