Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Carlos E.R." Newsgroups: comp.os.linux.misc Subject: Re: Linux PC Acting Up? How To Check For Bad Blocks On A Hard Drive - Before It's Too Late Date: Sat, 2 Aug 2025 13:59:42 +0200 Lines: 21 Message-ID: References: <106ed70$3g63g$1@dont-email.me> <106hsfk$bt9r$1@news1.tnib.de> <106ic3q$d6ma$1@news1.tnib.de> <106jk5i$nd9d$3@dont-email.me> <7r60mlx3b.ln2@Telcontar.valinor> <106k0dh$qgip$2@dont-email.me> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: individual.net mA9yrzbtKUUyKDuD4baiHQhuUDFODgtI3W/yPV40ZlH2++M1yk X-Orig-Path: Telcontar.valinor!not-for-mail Cancel-Lock: sha1:1rpATLWRkH/P0NKhLulCcMDoBC4= sha256:ry9FKNIgF8wY1lIatKNVpOkP19cO6Z0YjYLwc6ZiNZs= User-Agent: Mozilla Thunderbird Content-Language: es-ES, en-CA In-Reply-To: <106k0dh$qgip$2@dont-email.me> Xref: csiph.com comp.os.linux.misc:70258 On 2025-08-02 05:24, Lawrence D'Oliveiro wrote: > On Sat, 2 Aug 2025 03:39:19 +0200, Carlos E.R. wrote: > >> Once an rsync backup deleted the original. >> >> I was using the --delete parameter, which is intended to delete files >> that are gone from the source, and delete them in the destination (when >> you overwrite a backup). Unfortunately, the paths were messed up, and it >> deleted the files on the source of another different backup. > > A computer is a powerful tool. It will do exactly what you tell it to do, > no more, no less. > > Try --delete-after, which postpones all the deletions until after the new > and updated files have been successfully copied -- and which doesn’t do > any deletions at all, if there were errors in those copies. Ah, interesting, thanks. -- Cheers, Carlos.