From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5FB4D158042 for ; Sat, 9 Nov 2024 21:02:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3E6ABE09B5; Sat, 9 Nov 2024 21:01:56 +0000 (UTC) Received: from mp-relay-02.fibernetics.ca (mp-relay-02.fibernetics.ca [208.85.217.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EDF17E0977 for ; Sat, 9 Nov 2024 21:01:55 +0000 (UTC) Received: from mailpool-fe-02.fibernetics.ca (mailpool-fe-02.fibernetics.ca [208.85.217.145]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mp-relay-02.fibernetics.ca (Postfix) with ESMTPS id A19BB616AA for ; Sat, 9 Nov 2024 21:01:55 +0000 (UTC) Received: from localhost (mailpool-mx-01.fibernetics.ca [208.85.217.140]) by mailpool-fe-02.fibernetics.ca (Postfix) with ESMTP id 9E90C60448 for ; Sat, 9 Nov 2024 21:01:55 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at X-Spam-Flag: NO X-Spam-Score: -0.299 X-Spam-Level: X-Spam-Status: No, score=-0.299 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no Received: from mailpool-fe-02.fibernetics.ca ([208.85.217.145]) by localhost (mail-mx-01.fibernetics.ca [208.85.217.140]) (amavisd-new, port 10024) with ESMTP id U-69pp7SiZMV for ; Sat, 9 Nov 2024 21:01:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ca.inter.net; s=mail; t=1731186115; bh=27JXy8NfL+KYWA2PEmxA/iiL2iqgPe2pmx2B2Vhpdpg=; h=Date:From:To:Subject:References:In-Reply-To:From; b=bzkLK30zPdb4nmRaOl4Y5Sf6EnHH1Vw0WlFPL/HS9vPo8UD3mJWrMMjQ0Zru+RvQm fV0KI2RrGLydmAv+/b57BZHSB2+syJbaZz5Jrgj7Qb1hZMmuOzmCiED7UkoBEVsG/V xsBVJFXdLX9thFJRneYbtimRClqpPSXEmdsViNcoQXLdwNFGizsDA6gYh6O2oAsTzi OcYh83/ss6DTO+jNlImLG9QfKuv0zV2iCHwFf/tGmQ2MSpXhICHpztq6SXZz55BIxc fQDOTSfA0UFrWJ/+xWxro4ARvQeJZ4tbmsAMrBkdJJLPs0eSiDUku3PUasGXa/iTE2 xxQ4xA2m5sgrg== Date: Sat, 9 Nov 2024 16:01:53 -0500 From: Philip Webb To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] backup horror story (happy ending) Message-ID: Mail-Followup-To: gentoo-user@lists.gentoo.org References: <713323a1-bd58-4607-898f-db2aedc9942c.ref@yahoo.com> <713323a1-bd58-4607-898f-db2aedc9942c@yahoo.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <713323a1-bd58-4607-898f-db2aedc9942c@yahoo.com> X-Archives-Salt: 2a8b3760-ab82-4899-aa39-d431b9a7dc2a X-Archives-Hash: cc3ef9821c715e28cbfb5a059de12e2f 241109 ralfconn wrote: > I have a 4Tb hard disk half full of videos and photos my daughter took > with her cell phone over the years, shared with Win11 in a dual boot box > so it is NTFS-formatted. The disk is backed up on a different EXT4 disk > and the backup is performed by (ana)cron via an rsync bash script. > > Last evening there was a power outage. When I rebooted in linux the NTFS > disk would not mount. OK, just e2fsck the disk and it will fix it, I > thought, forgetting that it was an NTFS not EXT. e2fsck -y starts > finding and fixing hundreds of issues on the disk, till I get bored, I > stop it and reboot into Win11, which chkdsk's it and mounts with no > problem in less than 10s. > > Finally I realize the huge mistake I had made, allowing e2fsck to delete > thousands of otherwise fine clusters/nodes/whatever on a filesystem it > does not understand. > > But I have a backup, no problem... till I realize the cron job had > already run so it had overwritten the old files with the new, corrupt > versions. > > Fortunately rsync uses the file access date to quickly find potential > differences and since the e2fsck did not touch those the backup was > still fine. > > Later I found that the disk did not mount in linux due to mount not > finding anymore the NTFS's UUID that I had in fstab, but it did mount > fine with /dev/sdx. Lesson 1 : always have multiple back-ups on differenct devices, incl >= 1 off-site, eg USB stick in your bank safe-deposit box. Lesson 2 : don't store anything important in Windows format. It's good & lucky you escaped unscathed this time (smile). -- ========================,,============================================ SUPPORT ___________//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT `-O----------O---' purslowatcadotinterdotnet