From user-return-61045-archive-asf-public=cust-asf.ponee.io@cassandra.apache.org Thu May 10 09:00:30 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 2CB5118063A for ; Thu, 10 May 2018 09:00:30 +0200 (CEST) Received: (qmail 44150 invoked by uid 500); 10 May 2018 07:00:27 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 44131 invoked by uid 99); 10 May 2018 07:00:26 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 May 2018 07:00:26 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 627E8C00A7 for ; Thu, 10 May 2018 07:00:26 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.989 X-Spam-Level: * X-Spam-Status: No, score=1.989 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=instaclustr-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id UQTPgPS-VYJI for ; Thu, 10 May 2018 07:00:24 +0000 (UTC) Received: from mail-it0-f41.google.com (mail-it0-f41.google.com [209.85.214.41]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id AFBC65FBEA for ; Thu, 10 May 2018 07:00:23 +0000 (UTC) Received: by mail-it0-f41.google.com with SMTP id n202-v6so1947892ita.1 for ; Thu, 10 May 2018 00:00:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=instaclustr-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=HA1gYsvnJFI10+T3F1+n9EGbAD1mLJKxLdChV94u7EY=; b=09OR5QJp2vjVRqoJ3q35iZlUijZjHmE7+b0uq75UbjBqmVPmR8IfpHbDISsxUhMavv +UMpgorCKMdsnYzZLcRyyOQdGq+dZTnuoPCvI+jjp0FMWBcGqQmSIiWbuSMNxBp7i8ky UcRB5q9qEcVofPU5jyfz+gp0McbDh3Lbq9UrwI44DXgMLy6CLWiORPPW6+pSbOyJsXR3 EGC/tOMadIedIcBLCD1UNcn9bZuVqPyTzv9itGngBXdge52t8szqlW38dcdws6CjaS3A cgOaSqgUQOTgvG4Ny3Uwst1WFvqFp4eeckdscYUqum29h1dseoK7cwBcYBtaqL/nU33m n7+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=HA1gYsvnJFI10+T3F1+n9EGbAD1mLJKxLdChV94u7EY=; b=R4QrMQtDIn2I3Iw82VmNBzvCyHuMORfN+uSn2qD8XnU7wbaPaBBXlNE15kP2VEIXOP m67UCeZWXRMKWtYUJriLXzgGW0p0OXQnDZYQK6f3dor7rnOksfuUQrWoTYgmING0dU3u HMbijZ4MrU70QIKSD24r83ACl+wxDPac6VkHk/lDzKyY/TdZdLWHxc3hUE7wxLRpW+d7 0XVtLHuKUbmNtfs+wG3CnH0KVE/H57UxtOheYOmy3ug+7zFQb9+XhhX7vLdsx6dzMdIr qzNuwQ1q1NG0MkbagqVj6vODSiDG5PhiMicW3/ZSU8xnxQA5kc0nvUtPuoTw+8l00T1g Wyig== X-Gm-Message-State: ALKqPwchAqLlHNIG4fJNXTNv2+ZmnCPmEznGvnAoSNjr630sAhRGZOrU c7ee4xDj0B7MhmBF6Q0Im7leVzIP5jhi8NaD37YKn8xK X-Google-Smtp-Source: AB8JxZqzZjeK4qFkyRvcEtISMpwSby1pMPnf4GOAhzDz+CjzLlfUkaW8yEfElHIHv/J8mD1vDAL8kGoBzgaOX/oWwfc= X-Received: by 2002:a24:6f0e:: with SMTP id x14-v6mr545129itb.38.1525935622782; Thu, 10 May 2018 00:00:22 -0700 (PDT) MIME-Version: 1.0 References: <49a26d86d2514ef39882aac8aba68382@SHYDEXMBX08.in.ril.com> In-Reply-To: <49a26d86d2514ef39882aac8aba68382@SHYDEXMBX08.in.ril.com> From: Ben Slater Date: Thu, 10 May 2018 07:00:12 +0000 Message-ID: Subject: Re: Basic Copy vs Snapshot for backup To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary="000000000000bf1441056bd4922e" --000000000000bf1441056bd4922e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable The snapshot gives you a complete set of your sstables at a point in time. If you were copying sstables directly from a live node you would have to deal with files coming and going due to compactions. Cheers Ben On Thu, 10 May 2018 at 16:45 wrote: > Dear Community, > > > > Is there any benefit of taking backup of a node via =E2=80=98nodetool sna= pshot=E2=80=99 vs > simply copying the data directory other than the fact that snapshot will > first flush the memTable and then take the backup. > > > > Thanks and regards, > > Vishal Sharma > > > "*Confidentiality Warning*: This message and any attachments are intended > only for the use of the intended recipient(s), are confidential and may b= e > privileged. If you are not the intended recipient, you are hereby notifie= d > that any review, re-transmission, conversion to hard copy, copying, > circulation or other use of this message and any attachments is strictly > prohibited. If you are not the intended recipient, please notify the send= er > immediately by return email and delete this message and any attachments > from your system. > > *Virus Warning:* Although the company has taken reasonable precautions to > ensure no viruses are present in this email. The company cannot accept > responsibility for any loss or damage arising from the use of this email = or > attachment." > --=20 *Ben Slater* *Chief Product Officer * Read our latest technical blog posts here . This email has been sent on behalf of Instaclustr Pty. Limited (Australia) and Instaclustr Inc (USA). This email and any attachments may contain confidential and legally privileged information. If you are not the intended recipient, do not copy or disclose its content, but please reply to this email immediately and highlight the error to the sender and then immediately delete the message. --000000000000bf1441056bd4922e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The snapshot gives you a complete set of your sstables at = a point in time. If you were copying sstables directly from a live node you= would have to deal with files coming and going due to compactions.
Cheers
Ben

=
On Thu, 10 May 2018 at 16:45 <Vishal1.Sharma@ril.com> wrote:

Dear Community,

=C2=A0

Is there any benefit of taking backup of a node via = =E2=80=98nodetool snapshot=E2=80=99 vs simply copying the data directory ot= her than the fact that snapshot will first flush the memTable and then take= the backup.

=C2=A0

Thanks and regards,

Vishal Sharma


"Confidentiality Warning: Th= is message and any attachments are intended only for the use of the intende= d recipient(s), are confidential and may be privileged. If you are not the = intended recipient, you are hereby notified that any review, re-transmissio= n, conversion to hard copy, copying, circulation or other use of this messa= ge and any attachments is strictly prohibited. If you are not the intended = recipient, please notify the sender immediately by return email and delete = this message and any attachments from your system.

Virus Warning:<= /strong> Although the company has taken reasonable precautions to ensure no= viruses are present in this email. The company cannot accept responsibilit= y for any loss or damage arising from the use of this email or attachment.&= quot;

--

Ben Slater
Chief Product Officer

=C2=A0=C2=A0=C2=A0=C2=A0

Read our latest technical blog posts=C2=A0here.

This email has been sent on behalf of=C2=A0Instaclustr Pty. Limited (A= ustralia) and=C2=A0Instaclustr Inc (USA).

This email and any attachments may=C2=A0contain confidential and l= egally privileged=C2=A0information.=C2=A0 If you are not the intended=C2=A0= recipient, do not copy or disclose its=C2=A0content, but please reply to th= is email=C2=A0immediately and highlight the error to the=C2=A0sender and th= en immediately delete the=C2=A0message.

--000000000000bf1441056bd4922e--