Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F008C433E0 for ; Fri, 1 Jan 2021 14:43:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5300220449 for ; Fri, 1 Jan 2021 14:43:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727038AbhAAOnC convert rfc822-to-8bit (ORCPT ); Fri, 1 Jan 2021 09:43:02 -0500 Received: from mail.eclipso.de ([217.69.254.104]:51398 "EHLO mail.eclipso.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726747AbhAAOnB (ORCPT ); Fri, 1 Jan 2021 09:43:01 -0500 Received: from mail.eclipso.de (www1.eclipso.de [217.69.254.102]) by mail.eclipso.de with ESMTP id 4FCBCEF7 for ; Fri, 01 Jan 2021 15:42:16 +0100 (CET) Date: Fri, 01 Jan 2021 15:42:16 +0100 MIME-Version: 1.0 Message-ID: X-Mailer: eclipso / 7.4.0 From: " " Subject: synchronize a btrfs snapshot via network with resume support? Reply-To: " " To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org ­I have 2 PC's, one called master, and one called slave. On the master, I have a btrfs filesystem with real-only snapshots that are made daily. On the slave PC, I would like to create a btrfs filesystem with the exact same contents as the master. The two PC's are connected via internet, so interruptions in the connection are to be expected. Btrfs send can convert the differences between 2 read only snapshots into a stream of instructions. This stream can then be send via ssh to a remote computer, and fed into btrfs receive, so that the snapshot is recreated at the remote computer. The problem with this approach is that the transmission of the entire delta between two snapshots has to succeed in one go. If there's an interruption in the connection, the complete transmission has to be restarted. This is a problem if the delta between two snapshots is large, or if the connection is slow. I'm looking for a program that can synchronize a btrfs snapshot via a network, and supports resuming of interrupted transfers. Buttersink [1] claims it can do Resumable, checksummed multi-part uploads to S3 as a back-end, but not between two PC's via ssh. Does anybody know a program that is capable of doing this? --- Take your mailboxes with you. Free, fast and secure Mail & Cloud: https://www.eclipso.eu - Time to change!