Hello Marco,

On Tue, Nov 15, 2016 at 8:02 AM, Marco Gnotke <gno...@web.de> wrote:

> **Ash to my head**
>
>
>
> There was a 0 kb file in my base directory named "SVNBackup".
>

I guess that the empty file was created when you ran some commands with the
'>' operator. It just created an empty file then.


> On Monday, November 14, 2016 at 9:28:25 PM UTC+1, Marco Gnotke wrote:
>>
>> Hello!
>>
>>
>>
>> Thanks a lot for your reply! I'm sure I already tested it without the
>> ">",  because I asked in an other forum if  the ">" is necessary, the
>> answer was yes :-) Absolutely confused, maybe there was an other
>> problem.... Ok, now I run it without the ">" and it works, fine! But I
>> found out it is not possible to use the directory "SVNBackup", is it
>> reserved? When I use SVNBackup1 it works. I did dozens test with SVNBackup
>> directory, how ever....
>>
>
It *is* required to run `svnadmin dump` and `svnadmin load` with
redirection. But you do not need to use redirection when running `svnadmin
hotcopy`.

Read about `svnadmin dump / load` and `svnadmin hotcopy` in SVNBook:

   - SVNBook | Repository Backup
   
<https://www.visualsvn.com/support/svnbook/reposadmin/maint/#svn.reposadmin.maint.migrate>
   - SVNBook | Migrating Repository Data Elsewhere
   
<http://svnbook.red-bean.com/en/1.8/svn.reposadmin.maint.html#svn.reposadmin.maint.migrate>

You wrote*: you should specify the full path to a repository, not
>> collection of repositories.*
>>
>>
>>
>> Is there a way to pickup all repositories automatically? I will run a
>> batch file to backup my repositories once a week and I will not to have
>> extending the batch for every new project.
>>
>>
>>
>> I look forward to any suggestions!
>>
>
The upcoming VisualSVN Server release is going to introduce a new built-in
scheduled hot backup feature. The scheduled backup is going to be based on
background scheduled jobs with support for incremental backup and retention
policy. The feature will support backing up all the repositories hosted on
your VisualSVN Server or a selection of repositories. I guess that you'd
definitely like it. :)

The feature is at the final development stage but we are still accepting
feedback and requests about the backup. Therefore, don't hesitate to share
any suggestions about the backup.

Anyway, you could write a script to implement the simplest backup for your
repositories. For example, use PowerShell to write such script. Use
`(Get-SvnRepository).Name` to obtain the repository objects and pass it to
`svnadmin hotcopy` via `ForEach-Object` cmdlet.

If you plan writing a custom script, be sure to test the script thoroughly!

--
With best regards,
Pavel Lyalyakin
VisualSVN Team

-- 
You received this message because you are subscribed to the Google Groups 
"VisualSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to visualsvn+unsubscr...@googlegroups.com.
To post to this group, send email to visualsvn@googlegroups.com.
Visit this group at https://groups.google.com/group/visualsvn.
For more options, visit https://groups.google.com/d/optout.

Reply via email to