[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Reliablilty of FSFS on MS Windows network shared drives

From: communitybot <communitybot_at_googlemail.com>
Date: Wed, 29 Oct 2008 15:55:55 +0000

>
> It will be great if you can share the HOTCOPY script that make hotcopy on a
> separate machine with users list.

Sure. The NFS share is permanently mounted via /etc/fstab, so it's just
like doing a local hotcopy - nothing special about it.

#! /bin/bash

# Backup and repository locations - set these to match your location
backupshare=/MyNFSBackupShare
backupdir=${backupshare}/mybackup
rootrepodir=/home/svn
repodir=${rootrepodir}/src

# Create temporary backup dir
mkdir -p $backupdir

# Do the hotcopy
svnadmin hotcopy $repodir ${backupdir}/src

# Include the .dav_svn.passwd file in the backups
cp ${rootrepodir}/.dav_svn.passwd $backupdir

# Create a tar archive of the backup
tar cf ${backupshare}/mybackup.tar ${backupdir}

# Remove the temporary directory
rm -rf $backupdir

2008/10/24 Rafiuddin M K <rafiuddin.mk_at_gmail.com>

>
> It will be great if you can share the HOTCOPY script that make hotcopy on a
> separate machine with users list.
>
>
>
> On 10/24/08, communitybot <communitybot_at_googlemail.com> wrote:
>>
>>
>>
>>
>>> But yes, if you have the disk space to do a complete hot copy before
>>> doing the backup it may help your recovery effort.
>>>
>>
>>
>> We do the hotcopy on an NFS share which is included in the tape backups.
>> This means we have an online hotcopy on a separate machine and don't need so
>> much disk space on the Subversion server.
>>
>>
> -- With Best Wishes,
> Rafiuddin MK
>
Received on 2008-10-29 16:56:24 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.