Ask the Community
Groups
Setting the default storage device - Connect IT Community | Kaseya
<main> <article class="userContent"> <h2 data-id="summary"><strong>SUMMARY</strong></h2> <p>Instructions for setting the default storage device from the Unitrends CLI</p> <h2 data-id="issue"><strong>ISSUE</strong></h2> <p></p> <h2 data-id="instructions-for-setting-the-default-storage-device-from-the-unitrends-cli">Instructions for setting the default storage device from the Unitrends CLI</h2> <br>Use an SSH client such as <a rel="nofollow" href="/home/leaving?allowTrusted=1&target=https%3A%2F%2Fwww.chiark.greenend.org.uk%2F%7Esgtatham%2Fputty%2Flatest.html">PuTTY</a> to access the Unitrends system at the command line level.<br><i>Note: Ensure you have the OS password to access the Unitrends system’s command line. The OS </i><a rel="nofollow" href="/home/leaving?allowTrusted=1&target=https%3A%2F%2Funitrends-support.zendesk.com%2Fhc%2Fen-us%2Farticles%2F360013244978">password</a> <i>may differ from the password used to access the User Interface.</i><br><br><br>Run this command to determine if you device is set as "default". <pre class="code codeBlock" spellcheck="false" tabindex="0"> unitrends-cli GET storage -i 1 -s 1 | grep default</pre> If your command returns the follow output, your device is already set as the default device. <pre class="code codeBlock" spellcheck="false" tabindex="0"> # unitrends-cli GET storage -i 4 -s 1 | grep default "is_default": true,</pre> If your command returns false as shown below, follow the resolution to set your device as the default device. <pre class="code codeBlock" spellcheck="false" tabindex="0"> # unitrends-cli GET storage -i 1 -s 1 | grep default "is_default": false,</pre> <br><br><br><br> <h2 data-id="resolution"><strong>RESOLUTION</strong></h2> <p></p> <ol><li>Set the default storage by running this command.</li> <li> <pre class="code codeBlock" spellcheck="false" tabindex="0"> # unitrends-cli PUT storage -R '{"default": 1}' -i 1 -s 1 </pre> You should see the following output returned. <pre class="code codeBlock" spellcheck="false" tabindex="0"> { "result": [ { "code": "0" } ] }</pre> </li> <li>Now confirm that the storage device has been set as "default". <pre class="code codeBlock" spellcheck="false" tabindex="0"> # unitrends-cli GET storage -i 4 -s 1 | grep default "is_default": true</pre> </li> </ol><h2 data-id="notes"><strong>NOTES</strong></h2> <p><br> </p> </article> </main>