<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    How about just:<br>
    <br>
    sudo gluster snapshot info | grep "Snap\ Volume\ Name" | sed -e
    's/^S.*://g'<br>
    <br>
    ??<br>
    <br>
    Alex<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 03/09/15 16:06, Merlin Morgenstern
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAM0cPW7MgXB8hFnFJVYxJQXU=82+PxzT6cNd8i5LV7dEo1dkQA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Is there a way to retrieve the snap volume name
        from gluster?
        <div><br>
        </div>
        <div>
          <div>$ sudo gluster snapshot info returns all kinds of info:</div>
          <div><br>
          </div>
          <div>Snapshot                  : snap1</div>
          <div>Snap UUID                 :
            2788e974-514b-4337-b41a-54b9cb5b0699</div>
          <div>Created                   : 2015-09-02 14:03:59</div>
          <div>Snap Volumes:</div>
          <div><br>
          </div>
          <div>Snap Volume Name          :
            2d828e6282964e0e89616b297130aa1b</div>
          <div>Origin Volume name        : vol1</div>
          <div>Snaps taken for vol1      : 2</div>
          <div>Snaps available for vol1  : 254</div>
          <div>Status                    : Started</div>
        </div>
        <div><br>
        </div>
        <div>I would need a command for only the Snap Volume Name in
          order to automate a backup process.</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a></pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
This message is intended only for the addressee and may contain
confidential information. Unless you are that person, you may not
disclose its contents or use it in any way and are requested to delete
the message along with any attachments and notify us immediately.
"Transact" is operated by Integrated Financial Arrangements plc. 29
Clement's Lane, London EC4N 7AE. Tel: (020) 7608 4900 Fax: (020) 7608
5300. (Registered office: as above; Registered in England and Wales
under number: 3727592). Authorised and regulated by the Financial
Conduct Authority (entered on the Financial Services Register; no. 190856).
</pre>
  </body>
</html>