63 </div> |
63 </div> |
64 |
64 |
65 <!-- begin content --> |
65 <!-- begin content --> |
66 <div class="content"> |
66 <div class="content"> |
67 <h1 id="dav-add-repository">dav add-repository</h1> |
67 <h1 id="dav-add-repository">dav add-repository</h1> |
68 <p>The command runs an interactive assistant that creates a repository configuration and adds it to the config.xml file.</p> |
68 <p>This command runs an interactive assistant that creates a repository <a href="./configuration.html">configuration</a> and adds it to the config.xml file.</p> |
69 <p><strong>Command alias:</strong> add-repo</p> |
69 <p><strong>Command alias:</strong> add-repo</p> |
|
70 <p>The assistant firstly asks for a unique repository name. If you are not sure, which names are already in use, you can get a list of currently present repositories with <a href="./list-repositories.html">dav list-repositories</a>. Then you specifiy the base URL and optional authentication information. Please keep in mind, that the password is stored base64 encoded in your configuration. If you do not want this to happen, leave the password blank. <code>dav</code> will ask you for the password when accessing the repository. Beware that you don't use password prompt in background jobs, though. A call of <code>add-repository</code> may look like this.</p> |
|
71 <pre><code>$ dav add-repository |
|
72 Each repository must have an unique name. |
|
73 name: myfirstrepo |
|
74 |
|
75 Specify the repository base url. |
|
76 url: https://mynas.local/webdav |
|
77 |
|
78 User for HTTP authentication. |
|
79 user (optional): mywebuser |
|
80 password (optional): </code></pre> |
70 </div> |
81 </div> |
71 <!-- end content --> |
82 <!-- end content --> |
72 </body> |
83 </body> |
73 </html> |
84 </html> |