On Sat, 28 Dec 2024 10:34:40 +0200, "Stanimir Stamenkov via users"
<users@subversion.apache.org> wrote:

>Fri, 27 Dec 2024 16:44:05 +0100, /Bo Berglund/:
>
>> So I looked in the RedBean "manual" and found this:
>> 
>> $ svnadmin load /var/svn/restored < repos-backup
>> 
>> <<< Started new txn, based on original revision 1
>>       * adding path : test ... done.
>>       * adding path : test/a ... done.
>> 
>> where they place the dumpfile (repos-backup) last with a < char in front of 
>> it.
>> Does this work on Windows? If so is this correct for this job:
>> 
>> svnadmin load E:\SVNREPOS\repositoryname < dumpfilename
>> 
>> I don't want to do this erroneously and screw up the repositories....
>
>Redirection should just work with cmd, for example:
>
>     > more /?
>     Displays output one screen at a time.
>
>     MORE [/E [/C] [/P] [/S] [/Tn] [+n]] < [drive:][path]filename
>     command-name | MORE [/E [/C] [/P] [/S] [/Tn] [+n]]
>     MORE /E [/C] [/P] [/S] [/Tn] [+n] [files]
>     ...
>
>     > more < samplefile
>     ...

OK, it seems like it works with 'more' also on the Windows server.
Next test would be to do it with this type of command then:

E:
cd E:\SVNREPOS\
svnadmin load E:\SVNREPOS\reponame < dumpfilename

But I really want to test this on a copy of the smallest repo first...


-- 
Bo Berglund
Developer in Sweden

Reply via email to