LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-20-2017, 12:02 AM   #1
ansh007
LQ Newbie
 
Registered: May 2016
Location: Bangalore, India
Posts: 10

Rep: Reputation: Disabled
Taking a snapshot of cassandra with a specific name on Linux server


I am trying to take a snapshot with a user defined name or a tag name of a keyspace.I am using the nodetool utility. It throws an error as below.

./nodetool -h localhost -p 7199 -t mysnap snapshot abcd nodetool: Found unexpected parameters: [-t, mysnap, snapshot, abcd] See 'nodetool help' or 'nodetool help '.

./nodetool snapshot ${KEYSPACE_NAME} : This works, but doesn't serve the purpose, because the name of the snapshot is default
 
Old 03-21-2017, 09:11 AM   #2
hydrurga
Senior Member
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 18.1 MATE
Posts: 3,073

Rep: Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066
Hi ansh007. Why have you marked this thread as "Solved"? Did you find a solution?
 
Old 03-22-2017, 01:14 AM   #3
ansh007
LQ Newbie
 
Registered: May 2016
Location: Bangalore, India
Posts: 10

Original Poster
Rep: Reputation: Disabled
Hey hydrurga,

Yeah. I was trying the -t at wrong place.
./nodetool snapshot -t <mysnap> ${KEYSPACE_NAME} -> will work
 
1 members found this post helpful.
Old 03-22-2017, 02:04 AM   #4
hydrurga
Senior Member
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 18.1 MATE
Posts: 3,073

Rep: Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066
Excellent. Thanks ansh007!
 
  


Reply

Tags
linux, snapshot


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HDD backup: taking a snapshot of the whole drive instead of partitions jsmith6 Linux - Laptop and Netbook 2 03-23-2010 11:02 AM
taking snapshot from mplayer sumeet inani Linux - Newbie 13 06-05-2009 04:21 AM
Taking CVS snapshot mashed Linux - Software 3 04-07-2006 11:44 PM
Taking a snapshot of a program using a command? shydra Linux - Software 6 03-02-2006 06:12 AM
code for taking snapshot with a webcam orso08 Programming 2 12-05-2003 02:45 AM


All times are GMT -5. The time now is 09:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration