delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DMARC-Filter: | OpenDMARC Filter v1.4.1 sourceware.org 202DF3858D39 |
Authentication-Results: | sourceware.org; |
dmarc=none (p=none dis=none) header.from=cs.umass.edu | |
Authentication-Results: | sourceware.org; spf=pass smtp.mailfrom=cs.umass.edu |
To: | cygwin <cygwin AT cygwin DOT com> |
From: | Eliot Moss <moss AT cs DOT umass DOT edu> |
Subject: | Anyone tried to use restic to backup a Cygwin install? |
Message-ID: | <b6a5e6da-bcef-35cd-364f-fc3205de159f@cs.umass.edu> |
Date: | Fri, 31 Dec 2021 11:24:33 -0500 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 |
Thunderbird/68.12.1 | |
MIME-Version: | 1.0 |
X-Spam-Status: | No, score=-2.0 required=5.0 tests=BAYES_00, JMQ_SPF_NEUTRAL, |
KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, | |
TXREP autolearn=no autolearn_force=no version=3.4.4 | |
X-Spam-Checker-Version: | SpamAssassin 3.4.4 (2020-01-24) on |
server2.sourceware.org | |
X-BeenThere: | cygwin AT cygwin DOT com |
X-Mailman-Version: | 2.1.29 |
List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
Reply-To: | moss AT cs DOT umass DOT edu |
Sender: | "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com> |
Dear Cygwiners - Has anyone else out there tried to use a Windows build of restic to backup a volume that includes a Cygwin installation? I get a lot of errors like this one: error: open \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy7\cygwin64\bin\2to3: The file cannot be accessed by the system. That file is some kind of symlink to /etc/alternatives/2to3. Of course, using that path, a Windows program won't find the target, but it should be able to just backup the link contents. Using Windows Explorer, I tried to open the file with Notepad, and I get the same message. I have winsymlinks:native set in my CYGWIN env variable, though I can't say whether that setting ws used to create this particular link and its friends. In CMD, DIR /AL /S on C:\cygwin64\bin lists these links as <JUNCTION>. Windows Explorer Properties does not show Link Properties. My question boils down to this, I believe, in terms of how to resolve this: - Should I change the links in Cygwin? If so, to what kind? (Note: something similar happens with a bunch of links in my WSL install of Ubuntu, and I probably can't just change the junctions there.) - Should I report this as an issue to the restic people, about the handling of junctions? (Actually, I will file an issue anyway, but wonder if anyone has advice / info to offer.) Regards, and Happy New Year, everyone! Eliot Moss -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |