U E D R , A S I H C RSS

Sub Version/BerkeleyDB ToFSFS

~cpp 
#!/bin/sh

# $1

if [ "$1" == "" ]
        then
                echo "usage : $0 current_repos "
                exit;
else
        cRepos=$1
fi

nRepos="$cRepos"_fsfs

echo $cRepos;
echo $nRepos;


# change
svnadmin create --fs-type=fsfs $nRepos
svnadmin dump $cRepos | svnadmin load $nRepos

mv $cRepos "$cRepos"_back
mv $nRepos $cRepos

chown www-data.svnadmin $cRepos -R
chmod g+w $cRepos -R 
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:28:08
Processing time 0.0263 sec