Interesting hack :-) Should work but the regex seems not fitting: Returns:
Snap Volume Name : 2d828e6282964e0e89616b297130aa1b 2015-09-03 17:11 GMT+02:00 Alex Crow <ac...@integrafin.co.uk>: > How about just: > > sudo gluster snapshot info | grep "Snap\ Volume\ Name" | sed -e > 's/^S.*://g' > > ?? > > Alex > > > > On 03/09/15 16:06, Merlin Morgenstern wrote: > > Is there a way to retrieve the snap volume name from gluster? > > $ sudo gluster snapshot info returns all kinds of info: > > Snapshot : snap1 > Snap UUID : 2788e974-514b-4337-b41a-54b9cb5b0699 > Created : 2015-09-02 14:03:59 > Snap Volumes: > > Snap Volume Name : 2d828e6282964e0e89616b297130aa1b > Origin Volume name : vol1 > Snaps taken for vol1 : 2 > Snaps available for vol1 : 254 > Status : Started > > I would need a command for only the Snap Volume Name in order to automate > a backup process. > > > _______________________________________________ > Gluster-users mailing > listGluster-users@gluster.orghttp://www.gluster.org/mailman/listinfo/gluster-users > > > -- > 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). > > > _______________________________________________ > Gluster-users mailing list > Gluster-users@gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users >
_______________________________________________ Gluster-users mailing list Gluster-users@gluster.org http://www.gluster.org/mailman/listinfo/gluster-users