delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/01/17/22:35:19

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=qS/ggle
/7g7Aa3ocmZpW5VhA4Sscvu61V5+IKIGfpyFf+yHSi90ut2+P3pXjt7vvdJZPwcD
UI3mkwnhzA8/LP+yocchO1pQsrlyOLi35C9Rk5tQmdUmHkItCEimTNii8z81YJpi
B5oszTNY7aEgHLytGfxHfsC6TAE/Li+k0g4E=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=riZyolGXkd/Ei
kIrIohqeNYuSRw=; b=y1J2DcobYW80UavqApbiuWZCNn0J6EOQB+ge9L90PqwS6
VOK/pwDJzw7JJox9XIctTRpIaB0P9epfiXLgYjggoYME2YW5X4t0xVprm2RusUbc
tWOVmh2BEaGYIup+NBPadrffNuTSHN4bVXvO4+lTuv25vugJTv+HOiYC6tzpo8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.5 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=Think, andrea, Andrea, Venturoli
X-HELO: mail-yw0-f182.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=64IivEm7nzewx6xfR9zARth97UNPOe/ZVRHIT2DAF5A=; b=YWvpmTCMYsjvFDDH+a53G+zRd2HSGPJ5oPVk4IYIPvrK5x5LuB4kHl0Ld2eXuGlek0 +jtkzEb8sQjvf8H+uYF97pyFuiYOP7Bo9hkxbeCndPKNn8B8Or11jEmNF1+sL20yy7RE bikiCw0mR447TDxOV84SqXFoYy1WNBB0FLcREKP+owg2yx292BNOIzXCNrQ7749mbhuw mmOgsEFpiCQdRYDhK2JhF4M4k/gpBHHtHeDRb9KUrLHxtkpMI85kAu1HcaLExFguo8uy nTJfPmX/RiRlhxw0aWlrOmADKw9QYhNuQXzHvHY1ILgxVVo+nE9iaX9/TJO56fDJ8cvd of0Q==
X-Gm-Message-State: AIkVDXLMiKy/AFH9IzHdPcPDOpwaFR5or/CR51sM4oEcFC0QpQaFC0pKktRA6XGgmDw1bq69rGFnoXNth1hEug==
X-Received: by 10.13.247.6 with SMTP id h6mr846801ywf.179.1484710343466; Tue, 17 Jan 2017 19:32:23 -0800 (PST)
MIME-Version: 1.0
In-Reply-To: <6aac2f2a-77e9-43a0-e62c-f7d68b5f9f66@netfence.it>
References: <6aac2f2a-77e9-43a0-e62c-f7d68b5f9f66 AT netfence DOT it>
From: Doug Henderson <djndnbvg AT gmail DOT com>
Date: Tue, 17 Jan 2017 20:32:03 -0700
Message-ID: <CAJ1FpuNcurUd_zWQwdzovPou73-UTgt0n2E01X0pNTg3tX8QOQ@mail.gmail.com>
Subject: Re: "Copy until full" tool
To: cygwin <cygwin AT cygwin DOT com>
X-IsSubscribed: yes

On 17 January 2017 at 01:57, Andrea Venturoli  wrote:
>
> Hello.
>
> I've got a 2TB backup HD which is filled with several copies (at different times) of the same data; in other words, I could have the following directories:
>
> Data20170117
> Data20170110
> Data20170103
> ...
> Data20161220
> User20170117
> User20170110
> User20170103
> ...
> User20161220
> DB20170117
> DB20170110
> DB20170103
> ...
> DB20161220
>
>
>
> Now I periodically need to copy this HD to another one, which is, alas, only 1TB.
> So I'd like to only transfer the most recent copies, either until the disk is full or by specifying a number of "copies" to keep. Of course the older ones should be deleted.
>
> Think rsync (which I've been using extensibly), but with a size barrier.


This is not specifically a cygwin solution, but I am using it with my
cygwin installation as well as interesting parts of my windows
installation.

Restic is a program that does backups right.

home page: https://restic.github.io/
documentation: https://restic.readthedocs.io/en/latest/
source: https://github.com/restic/restic

Read the home page. I think it meets its design goals very well.

HTH,
Doug


-- 
Doug Henderson, Calgary, Alberta, Canada - from gmail.com

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019