Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 969EE17448 for ; Fri, 4 Sep 2015 18:41:29 +0000 (UTC) Received: (qmail 37631 invoked by uid 500); 4 Sep 2015 18:41:26 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 37586 invoked by uid 500); 4 Sep 2015 18:41:26 -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 37569 invoked by uid 99); 4 Sep 2015 18:41:26 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2015 18:41:26 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id B677BF191A for ; Fri, 4 Sep 2015 18:41:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.98 X-Spam-Level: ** X-Spam-Status: No, score=2.98 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 6Sn96Wg_0vr5 for ; Fri, 4 Sep 2015 18:41:21 +0000 (UTC) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com [209.85.217.177]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 166C820773 for ; Fri, 4 Sep 2015 18:41:21 +0000 (UTC) Received: by lbcao8 with SMTP id ao8so15973258lbc.3 for ; Fri, 04 Sep 2015 11:41:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=30cWeN2dW65kZvxdDd/gftBb/joi6Li1cphPHDrtTss=; b=b47NsQpCJRbtlccGk5cY7anzFupDfry6o8hnzHlp3KojYoDKWoVKXQeleL+hQmck1+ DkJ9JTnx/vj4qq6IU+zfqjZMMZDdhmCfBrzQN28at9lOxOkZrbJDQm6kzMDIaBsIp+7K o8SwE+ISvUmMqZ4icmKUxI/lOBjp7Gq3juilOdkvBp2Xvd+AUXq1OvQkP4vkfuQMpOiZ q+hu7phT5Rgm1xm1/+66ofqW2+4o+x7VCxi1Z2B68ViIFY42BAF6gKEQ99Pon7xwUaRJ px2lERElkIxRB1x0Dyj1yvNTDw+1l/Fyi9As36V+7c2/FGMi9SK/gzgBG29NSc1jb+O+ Jk4A== X-Gm-Message-State: ALoCoQk42G3Fz/d0OmBzQsGPiZWV+AyxOuLbsfEvHheLx5uSJRY4c0M6tkj3JbQywLL0UATjk1VT X-Received: by 10.152.10.71 with SMTP id g7mr4851004lab.61.1441392079992; Fri, 04 Sep 2015 11:41:19 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.66.197 with HTTP; Fri, 4 Sep 2015 11:40:40 -0700 (PDT) From: Maciek Sakrejda Date: Fri, 4 Sep 2015 11:40:40 -0700 Message-ID: Subject: tablesnap / tableslurp usage pointers? To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=001a1132f662e91066051ef03e4b --001a1132f662e91066051ef03e4b Content-Type: text/plain; charset=UTF-8 Hi, I'm trying to use tablesnap [1] for disaster recovery backups, and while my uploads seem to be working fine, I can't figure out how to run the associated tableslurp tool for restores. If I pass the full S3 path to the individual table to tableslurp, it will restore that table, but if I try to pass the path to, e.g., the full keyspace, I get: LookupError: Cannot find anything to restore from my-bucket:my-prefix:/my-path Based on the source [2], it seems to be only looking for `-listdir.json` files in the same directory, but my directories in S3 only have `-listdir.json` files for other *files*, not directories. I am running tablesnap with the `--recursive` option. Any ideas? Thanks, Maciek [1]: https://github.com/JeremyGrosser/tablesnap [2]: https://github.com/JeremyGrosser/tablesnap/blob/master/tableslurp#L122-L124 --001a1132f662e91066051ef03e4b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I'm trying to use tabl= esnap [1] for disaster recovery backups, and while my uploads seem to be wo= rking fine, I can't figure out how to run the associated tableslurp too= l for restores. If I pass the full S3 path to the individual table to table= slurp, it will restore that table, but if I try to pass the path to, e.g., = the full keyspace, I get:

LookupError: Cannot find anything to resto= re from my-bucket:my-prefix:/my-path

Based on the source = [2], it seems to be only looking for `-listdir.json` files in the same dire= ctory, but my directories in S3 only have `-listdir.json` files for other *= files*, not directories. I am running tablesnap with the `--recursive` opti= on.

Any ideas?

Thanks,
M= aciek
--001a1132f662e91066051ef03e4b--