Ask the Community
Groups
Clearing a Cloud Bucket and Wiping the Filesystem - Connect IT Community | Kaseya
<main> <article class="userContent"> <h2 data-id="summary"><strong>SUMMARY</strong></h2> <p>How to properly clear a cloud bucket prior to deleting the filesystem.</p> <h2 data-id="issue"><strong>ISSUE</strong></h2> <p></p> <h2 data-id="issue-1">Issue</h2> <p>You want to delete the filesystem and cloud bucket/container.</p> <h2 data-id="resolution">Resolution</h2> <p>Normally you could just use the Prepare button to delete all of the data and leave the filesystem. However, there may be times when you want to delete the filesystem in addition to the cloud bucket/container.<br><br>Before deleting the filesystem, the cloud bucket/container must be cleared:</p> <pre class="code codeBlock" spellcheck="false" tabindex="0"> # /usr/bp/bin/cloudadm clear <storage></pre> <p>If the bucket is not in the database, use this command instead:</p> <pre class="code codeBlock" spellcheck="false" tabindex="0"> # /usr/bp/bin/cloudadm clearall <storage> <address> <bucket> <protocol> <user> <password></pre> <h3 data-id="cloudadm-parameters">Cloudadm Parameters</h3> <p>storage = the storage name used as a mount point<br>address = ‘s3’ if Amazon, ‘gs’ if Google, ‘swift’ if Rackspace<br>bucket = the bucket or container name, including prefix if any<br>protocol = always ‘cloud’ here<br>user = the cloud API user or Access Key<br>password = the API password: called Secret, Secret Access Key or API Key</p> <h2 data-id="reference">Reference</h2> <p><a rel="nofollow" href="/home/leaving?allowTrusted=1&target=https%3A%2F%2Funitrends-support.zendesk.com%2Fhc%2Fen-us%2Farticles%2F360013175837">Additional CloudHook Information </a></p> </article> </main>