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