Again...remote folders wiped out, help!

Hi,

here I'm again..
refering to previously topic closed 2 days ago: Remote folder wiped out, help!

I noticed that 2 days ago 242gb of data where deleted on remote folder..here's a piece of log:

2021/08/18 02:02:25 INFO  : 
Transferred:   	  674.790M / 15.956 GBytes, 4%, 5.713 MBytes/s, ETA 45m42s
Checks:              8897 / 8897, 100%
Transferred:            1 / 47, 2%
Elapsed time:      2m21.6s
Transferring:
 * Shaman King (2021)/Stagione 01 [1080p x264] [ITA+JPN]/Shaman King (2021) - …001 - Il ragazzo che balla con i fantasmi [WEBDL 1080p x264] [ITA+JPN].mkv: 56% /302.889M, 1.433M/s, 1m32s
 *           Shaman King (2021)/Stagione 01 [1080p x264] [ITA+JPN]/Shaman King (2021) - S01E02 - 002 - Un altro sciamano [WEBDL 1080p x264] [ITA+JPN].mkv: 48% /351.211M, 1.464M/s, 2m3s
 *              Shaman King (2021)/Stagione 01 [1080p x264] [ITA+JPN]/Shaman King (2021) - S01E03 - 003 - Anna e Jun Tao [WEBDL 1080p x264] [ITA+JPN].mkv: 53% /311.223M, 1.465M/s, 1m38s
 *          Shaman King (2021)/Stagione 01 [1080p x264] [ITA+JPN]/Shaman King (2021) - S01E04 - 004 - Il posto preferito [WEBDL 1080p x264] [ITA+JPN].mkv: 48% /343.015M, 1.484M/s, 1m59s

2021/08/18 02:02:34 ERROR : Shaman King (2021)/Stagione 01 [1080p x264] [ITA+JPN]/Shaman King (2021) - S01E02 - 002 - Un altro sciamano [WEBDL 1080p x264] [ITA+JPN].mkv: Failed to copy: Post "https://www.googleapis.com/upload/drive/v3/files?alt=json&fields=id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks&supportsAllDrives=true&uploadType=resumable&upload_id=ADPycduAlhRtJg2VX0jgJo8uDfNF5_yq7sn9Qg9A9RDnxH_ByCsskks8r88FDKZuZbJcaVEzocBSBgfhTBzQG83qJ_Qi7atoYg": read \\?\H:\Anime\Shaman King (2021)\Stagione 01 [1080p x264] [ITA+JPN]\Shaman King (2021) - S01E02 - 002 - Un altro sciamano [WEBDL 1080p x264] [ITA+JPN].mkv: A device which does not exist was specified.
2021/08/18 02:02:34 ERROR : Shaman King (2021)/Stagione 01 [1080p x264] [ITA+JPN]/Shaman King (2021) - S01E05 - 005 - Oltreanima! [WEBDL 1080p x264] [ITA+JPN].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Shaman King (2021)/Stagione 01 [1080p x264] [ITA+JPN]/Shaman King (2021) - S01E06 - 006 - Yoh vs Horohoro! [WEBDL 1080p x264] [ITA+JPN].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Shaman King (2021)/Stagione 01 [1080p x264] [ITA+JPN]/Shaman King (2021) - S01E07 - 007 - Una forma di coraggio [WEBDL 1080p x264] [ITA+JPN].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Shaman King (2021)/Stagione 01 [1080p x264] [ITA+JPN]/Shaman King (2021) - S01E08 - 008 - Evoluzione [WEBDL 1080p x264] [ITA+JPN].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Shaman King (2021)/Stagione 01 [1080p x264] [ITA+JPN]/Shaman King (2021) - S01E09 - 009 - Di nuovo Yoh vs Ren! [WEBDL 1080p x264] [ITA+JPN].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Shaman King (2021)/Stagione 01 [1080p x264] [ITA+JPN]/Shaman King (2021) - S01E10 - 010 - Notte in fiamme [WEBDL 1080p x264] [ITA+JPN].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Shaman King (2021)/Stagione 01 [1080p x264] [ITA+JPN]/Shaman King (2021) - S01E11 - 011 - Storia di due uomini [WEBDL 1080p x264] [ITA+JPN].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Shaman King (2021)/Stagione 01 [1080p x264] [ITA+JPN]/Shaman King (2021) - S01E12 - 012 - Ren vs En - La fine dei Tao [WEBDL 1080p x264] [ITA+JPN].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Shaman King (2021)/Stagione 01 [1080p x264] [ITA+JPN]/Shaman King (2021) - S01E13 - 013 - E poi Hao! [WEBDL 1080p x264] [ITA+JPN].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Shaman King (2021)/Stagione 01 [720p x264] [JAPANESE]/Shaman King (2021) - S01E14 - 014 - Lyserg the Avenger [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Shaman King (2021)/Stagione 01 [720p x264] [JAPANESE]/Shaman King (2021) - S01E15 - 015 - When the Pieces Come Together [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Shaman King (2021)/Stagione 01 [720p x264] [JAPANESE]/Shaman King (2021) - S01E16 - 016 - Enter the Ultra-Pompadour [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Shaman King (2021)/Stagione 01 [720p x264] [JAPANESE]/Shaman King (2021) - S01E17 - 017 - Guns of the Angels [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Bleach (2004)/Stagione 00 - Specials [480p x264] [JAPANESE]/Bleach (2004) - S00E03 - Bleach Memories of Nobody [WEBDL 480p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Bleach (2004)/Stagione 00 - Specials [480p x264] [JAPANESE]/Bleach (2004) - S00E04 - Bleach The DiamondDust Rebellion [WEBDL 480p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Bleach (2004)/Stagione 00 - Specials [480p x264] [JAPANESE]/Bleach (2004) - S00E05 - Bleach Fade to Black [WEBDL 480p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Bleach (2004)/Stagione 00 - Specials [720p x264] [JAPANESE]/Bleach (2004) - S00E06 - Bleach Hell Verse [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Eureka Seven (2005)/Stagione 02 - Astral Ocean [720p x264] [JAPANESE]/Eureka Seven (2005) - S02E01 - 051 - Born Slippy deep blue [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Eureka Seven (2005)/Stagione 02 - Astral Ocean [720p x264] [JAPANESE]/Eureka Seven (2005) - S02E02 - 052 - Call It What You Want AO's cavern [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Eureka Seven (2005)/Stagione 02 - Astral Ocean [720p x264] [JAPANESE]/Eureka Seven (2005) - S02E03 - 053 - Still Fighting secret operation [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Eureka Seven (2005)/Stagione 02 - Astral Ocean [720p x264] [JAPANESE]/Eureka Seven (2005) - S02E04 - 054 - Walk This Way plant coral [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Eureka Seven (2005)/Stagione 02 - Astral Ocean [720p x264] [JAPANESE]/Eureka Seven (2005) - S02E05 - 055 - Tighten Up génération bleu [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Eureka Seven (2005)/Stagione 02 - Astral Ocean [720p x264] [JAPANESE]/Eureka Seven (2005) - S02E06 - 056 - Light My Fire noblesse oblige [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Eureka Seven (2005)/Stagione 02 - Astral Ocean [720p x264] [JAPANESE]/Eureka Seven (2005) - S02E07 - 057 - No One Is Innocent bye bye angel [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Eureka Seven (2005)/Stagione 02 - Astral Ocean [720p x264] [JAPANESE]/Eureka Seven (2005) - S02E08 - 058 - One Nation Under a Groove blue thunder [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Eureka Seven (2005)/Stagione 02 - Astral Ocean [720p x264] [JAPANESE]/Eureka Seven (2005) - S02E09 - 059 - In the Dark We Live enemy below [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Eureka Seven (2005)/Stagione 02 - Astral Ocean [720p x264] [JAPANESE]/Eureka Seven (2005) - S02E10 - 060 - Release Your Self the pied piper of Hamelin [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Eureka Seven (2005)/Stagione 02 - Astral Ocean [720p x264] [JAPANESE]/Eureka Seven (2005) - S02E11 - 061 - Plateaux of Mirror mirror of the world [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Eureka Seven (2005)/Stagione 02 - Astral Ocean [720p x264] [JAPANESE]/Eureka Seven (2005) - S02E12 - 062 - Step Into a World heaven and earth [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Eureka Seven (2005)/Stagione 02 - Astral Ocean [720p x264] [JAPANESE]/Eureka Seven (2005) - S02E13 - 063 - She's a Rainbow moonlight ship [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Eureka Seven (2005)/Stagione 02 - Astral Ocean [720p x264] [JAPANESE]/Eureka Seven (2005) - S02E14 - 064 - Starfire another truth [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Eureka Seven (2005)/Stagione 02 - Astral Ocean [720p x264] [JAPANESE]/Eureka Seven (2005) - S02E15 - 065 - War Head humanoid secret [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Eureka Seven (2005)/Stagione 02 - Astral Ocean [720p x264] [JAPANESE]/Eureka Seven (2005) - S02E16 - 066 - Guardians Hammer next phase [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Eureka Seven (2005)/Stagione 02 - Astral Ocean [720p x264] [JAPANESE]/Eureka Seven (2005) - S02E17 - 067 - La Vie en rose Johannson's book [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Eureka Seven (2005)/Stagione 02 - Astral Ocean [720p x264] [JAPANESE]/Eureka Seven (2005) - S02E18 - 068 - Don't Look Down third engine [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Eureka Seven (2005)/Stagione 02 - Astral Ocean [720p x264] [JAPANESE]/Eureka Seven (2005) - S02E19 - 069 - Maybe Tomorrow the day [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Eureka Seven (2005)/Stagione 02 - Astral Ocean [720p x264] [JAPANESE]/Eureka Seven (2005) - S02E20 - 070 - Better Days Ahead last message [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Eureka Seven (2005)/Stagione 02 - Astral Ocean [720p x264] [JAPANESE]/Eureka Seven (2005) - S02E22 - 072 - Galaxy 2 Galaxy coral carriers [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Eureka Seven (2005)/Stagione 02 - Astral Ocean [720p x264] [JAPANESE]/Eureka Seven (2005) - S02E23 - 073 - The Final Frontier Renton Thurston [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Eureka Seven (2005)/Stagione 02 - Astral Ocean [720p x264] [JAPANESE]/Eureka Seven (2005) - S02E21 - 071 - World 2 World rising sun [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Eureka Seven (2005)/Stagione 02 - Astral Ocean [720p x264] [JAPANESE]/Eureka Seven (2005) - S02E24 - 074 - Natsu e no tobira [WEBDL 720p x264] [JAPANESE].mkv: Failed to copy: failed to open source object: The system cannot find the path specified.
2021/08/18 02:02:34 ERROR : Mobile Suit Gundam (1979)/Stagione 01 [720p HEVC] [ITA+JPN]/Mobile Suit Gundam (1979) - S01E15 - L'isola di Kukurs Doan [BDRip 720p HEVC] [ITA+JPN].mkv: Failed to copy: failed to open source object: The system cannot find the file specified.
2021/08/18 02:02:34 ERROR : Shaman King (2021)/Stagione 01 [1080p x264] [ITA+JPN]/Shaman King (2021) - S01E03 - 003 - Anna e Jun Tao [WEBDL 1080p x264] [ITA+JPN].mkv: Failed to copy: Post "https://www.googleapis.com/upload/drive/v3/files?alt=json&fields=id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks&supportsAllDrives=true&uploadType=resumable&upload_id=ADPycdt2qyuuRCPGWRIOPnNogybUiMeaRvJC80MGwabqxZVdbMu1SK0pz0V-PTpYa_vMJcJZ5NKmZJSAACTDR2D-WSt_pIiypw": read \\?\H:\Anime\Shaman King (2021)\Stagione 01 [1080p x264] [ITA+JPN]\Shaman King (2021) - S01E03 - 003 - Anna e Jun Tao [WEBDL 1080p x264] [ITA+JPN].mkv: A device which does not exist was specified.
2021/08/18 02:02:34 ERROR : Shaman King (2021)/Stagione 01 [1080p x264] [ITA+JPN]/Shaman King (2021) - S01E04 - 004 - Il posto preferito [WEBDL 1080p x264] [ITA+JPN].mkv: Failed to copy: Post "https://www.googleapis.com/upload/drive/v3/files?alt=json&fields=id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks&supportsAllDrives=true&uploadType=resumable&upload_id=ADPycdv01H3ipm1Suq18qBld2Bi5VEBRtrk5GdGGyQsdbift8MZNBa5143gG4XIhW5Lkgugma2plJy78oJH--yIas7D8YFqhEg": read \\?\H:\Anime\Shaman King (2021)\Stagione 01 [1080p x264] [ITA+JPN]\Shaman King (2021) - S01E04 - 004 - Il posto preferito [WEBDL 1080p x264] [ITA+JPN].mkv: A device which does not exist was specified.
2021/08/18 02:02:34 ERROR : Shaman King (2021)/Stagione 01 [1080p x264] [ITA+JPN]/Shaman King (2021) - S01E01 - 001 - Il ragazzo che balla con i fantasmi [WEBDL 1080p x264] [ITA+JPN].mkv: Failed to copy: Post "https://www.googleapis.com/upload/drive/v3/files?alt=json&fields=id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks&supportsAllDrives=true&uploadType=resumable&upload_id=ADPycdu8aAIxGYzVWcrw-wFtjkE9IH532qGMLhdr0pQyKSA0raWg67JSubBJcflcQ3jRo3I_pI_zDkyYUzvJYpky7OEAfetoBw": read \\?\H:\Anime\Shaman King (2021)\Stagione 01 [1080p x264] [ITA+JPN]\Shaman King (2021) - S01E01 - 001 - Il ragazzo che balla con i fantasmi [WEBDL 1080p x264] [ITA+JPN].mkv: A device which does not exist was specified.
2021/08/18 02:02:34 ERROR : Encrypted drive 'Media:Anime': not deleting files as there were IO errors
2021/08/18 02:02:34 ERROR : Encrypted drive 'Media:Anime': not deleting directories as there were IO errors
2021/08/18 02:02:34 ERROR : Attempt 1/5 failed with 46 errors and: Post "https://www.googleapis.com/upload/drive/v3/files?alt=json&fields=id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks&supportsAllDrives=true&uploadType=resumable&upload_id=ADPycdu8aAIxGYzVWcrw-wFtjkE9IH532qGMLhdr0pQyKSA0raWg67JSubBJcflcQ3jRo3I_pI_zDkyYUzvJYpky7OEAfetoBw": read \\?\H:\Anime\Shaman King (2021)\Stagione 01 [1080p x264] [ITA+JPN]\Shaman King (2021) - S01E01 - 001 - Il ragazzo che balla con i fantasmi [WEBDL 1080p x264] [ITA+JPN].mkv: A device which does not exist was specified.
2021/08/18 02:02:35 INFO  : 
Transferred:   	  731.163M / 731.163 MBytes, 100%, 5.723 MBytes/s, ETA 0s
Checks:              8897 / 8897, 100%
Transferred:            1 / 1, 100%
Elapsed time:      2m31.6s

after that error the folders started to move to backup dir:

021/08/18 02:10:45 INFO  : 
Transferred:   	    3.391G / 3.391 GBytes, 100%, 5.763 MBytes/s, ETA 0s
Checks:             16967 / 16971, 100%
Deleted:                4 (files), 0 (dirs)
Transferred:            6 / 6, 100%
Elapsed time:     10m41.6s
Checking:
 * Aggretsuko (2018)/Stagione 01 [1080p HEVC] [ITA+JPN]/Aggretsuko (2018) - S0…001 - Un giorno nella vita di Retsuko [NetflixHD 1080p HEVC] [ITA+JPN].mkv: checking
 * Black Clover (2017)/Stagione 00 - Specials [720p x264] [JAPANESE]/Black Clo…17) - S00E03 - Squishy! Black Clover - 01 [WEBDL 720p x264] [JAPANESE].mkv: checking
 * Mobile Suit Gundam 0083 Stardust Memory (1991)/Stagione 01 [480p x264] [ITA… - S01E07 - 007 - Con le splendenti fiamme blu [WEBDL 480p x264] [ITA].mkv: checking
 * Saint Seiya I Cavalieri dello zodiaco (2019)/Stagione 02 [1080p x264] [ITA+… S02E01 - 007 - I Cavalieri d'Argento [NetflixHD 1080p x264] [ITA+JPN].mkv: checking

2021/08/18 02:10:46 INFO  : Saint Seiya I Cavalieri dello zodiaco (2019)/Stagione 02 [1080p x264] [ITA+JPN]/Saint Seiya I Cavalieri dello zodiaco (2019) - S02E01 - 007 - I Cavalieri d'Argento [NetflixHD 1080p x264] [ITA+JPN].mkv: Moved (server-side)
2021/08/18 02:10:46 INFO  : Saint Seiya I Cavalieri dello zodiaco (2019)/Stagione 02 [1080p x264] [ITA+JPN]/Saint Seiya I Cavalieri dello zodiaco (2019) - S02E01 - 007 - I Cavalieri d'Argento [NetflixHD 1080p x264] [ITA+JPN].mkv: Moved into backup dir
2021/08/18 02:10:48 INFO  : Mobile Suit Gundam 0083 Stardust Memory (1991)/Stagione 01 [480p x264] [ITA]/Mobile Suit Gundam 0083 Stardust Memory (1991) - S01E07 - 007 - Con le splendenti fiamme blu [WEBDL 480p x264] [ITA].mkv: Moved (server-side)
2021/08/18 02:10:48 INFO  : Mobile Suit Gundam 0083 Stardust Memory (1991)/Stagione 01 [480p x264] [ITA]/Mobile Suit Gundam 0083 Stardust Memory (1991) - S01E07 - 007 - Con le splendenti fiamme blu [WEBDL 480p x264] [ITA].mkv: Moved into backup dir
2021/08/18 02:10:50 INFO  : Aggretsuko (2018)/Stagione 01 [1080p HEVC] [ITA+JPN]/Aggretsuko (2018) - S01E01 - 001 - Un giorno nella vita di Retsuko [NetflixHD 1080p HEVC] [ITA+JPN].mkv: Moved (server-side)
2021/08/18 02:10:50 INFO  : Aggretsuko (2018)/Stagione 01 [1080p HEVC] [ITA+JPN]/Aggretsuko (2018) - S01E01 - 001 - Un giorno nella vita di Retsuko [NetflixHD 1080p HEVC] [ITA+JPN].mkv: Moved into backup dir
2021/08/18 02:10:52 INFO  : Black Clover (2017)/Stagione 00 - Specials [720p x264] [JAPANESE]/Black Clover (2017) - S00E03 - Squishy! Black Clover - 01 [WEBDL 720p x264] [JAPANESE].mkv: Moved (server-side)
2021/08/18 02:10:52 INFO  : Black Clover (2017)/Stagione 00 - Specials [720p x264] [JAPANESE]/Black Clover (2017) - S00E03 - Squishy! Black Clover - 01 [WEBDL 720p x264] [JAPANESE].mkv: Moved into backup dir
2021/08/18 02:10:54 INFO  : Conan il ragazzo del futuro (1978)/Stagione 02 - JAP NO SUB [480p x264] [JAPANESE]/Conan il ragazzo del futuro (1978) - S02E05 - 041 - Hiirogane [WEBDL 480p x264] [JAPANESE].mkv: Moved (server-side)
2021/08/18 02:10:54 INFO  : Conan il ragazzo del futuro (1978)/Stagione 02 - JAP NO SUB [480p x264] [JAPANESE]/Conan il ragazzo del futuro (1978) - S02E05 - 041 - Hiirogane [WEBDL 480p x264] [JAPANESE].mkv: Moved into backup dir
2021/08/18 02:10:55 INFO  : 
Transferred:   	    3.391G / 3.391 GBytes, 100%, 5.669 MBytes/s, ETA 0s
Checks:             16977 / 16981, 100%
Deleted:                9 (files), 0 (dirs)
Renamed:                5
Transferred:            6 / 6, 100%
Elapsed time:     10m51.6s
Checking:
 * Lupin the Third - La donna chiamata Fujiko Mine (2012)/Stagione 01 [720p HE… (2012) - S01E10 - 010 - La città fantasma [BDrip 720p HEVC] [ITA+JPN].mkv: checking
 * Lupin the Third - La donna chiamata Fujiko Mine (2012)/Stagione 01 [720p HE… - 012 - La donna chiamata Fujiko Mine (1) [BDrip 720p HEVC] [ITA+JPN].mkv: checking
 * Conan il ragazzo del futuro (1978)/Stagione 01 [720p HEVC] [ITA]/Conan il r… del futuro (1978) - S01E24 - 024 - Il gigante [WEBDL 720p HEVC] [ITA].mkv: checking
 * Black Clover (2017)/Stagione 01 [720p x264] [JAPANESE]/Black Clover (2017) …1E040 - 040 - Storia di una spiaggia nera [WEBDL 720p x264] [JAPANESE].mkv: checking

2021/08/18 02:10:56 INFO  : Lupin the Third - La donna chiamata Fujiko Mine (2012)/Stagione 01 [720p HEVC] [ITA+JPN]/Lupin the Third - La donna chiamata Fujiko Mine (2012) - S01E12 - 012 - La donna chiamata Fujiko Mine (1) [BDrip 720p HEVC] [ITA+JPN].mkv: Moved (server-side)
2021/08/18 02:10:56 INFO  : Lupin the Third - La donna chiamata Fujiko Mine (2012)/Stagione 01 [720p HEVC] [ITA+JPN]/Lupin the Third - La donna chiamata Fujiko Mine (2012) - S01E12 - 012 - La donna chiamata Fujiko Mine (1) [BDrip 720p HEVC] [ITA+JPN].mkv: Moved into backup dir
2021/08/18 02:10:57 INFO  : Lupin the Third - La donna chiamata Fujiko Mine (2012)/Stagione 01 [720p HEVC] [ITA+JPN]/Lupin the Third - La donna chiamata Fujiko Mine (2012) - S01E10 - 010 - La città fantasma [BDrip 720p HEVC] [ITA+JPN].mkv: Moved (server-side)
2021/08/18 02:10:57 INFO  : Lupin the Third - La donna chiamata Fujiko Mine (2012)/Stagione 01 [720p HEVC] [ITA+JPN]/Lupin the Third - La donna chiamata Fujiko Mine (2012) - S01E10 - 010 - La città fantasma [BDrip 720p HEVC] [ITA+JPN].mkv: Moved into backup dir
2021/08/18 02:10:58 INFO  : Conan il ragazzo del futuro (1978)/Stagione 01 [720p HEVC] [ITA]/Conan il ragazzo del futuro (1978) - S01E24 - 024 - Il gigante [WEBDL 720p HEVC] [ITA].mkv: Moved (server-side)
2021/08/18 02:10:58 INFO  : Conan il ragazzo del futuro (1978)/Stagione 01 [720p HEVC] [ITA]/Conan il ragazzo del futuro (1978) - S01E24 - 024 - Il gigante [WEBDL 720p HEVC] [ITA].mkv: Moved into backup dir
2021/08/18 02:10:58 INFO  : Black Clover (2017)/Stagione 01 [720p x264] [JAPANESE]/Black Clover (2017) - S01E040 - 040 - Storia di una spiaggia nera [WEBDL 720p x264] [JAPANESE].mkv: Moved (server-side)
2021/08/18 02:10:59 INFO  : Black Clover (2017)/Stagione 01 [720p x264] [JAPANESE]/Black Clover (2017) - S01E040 - 040 - Storia di una spiaggia nera [WEBDL 720p x264] [JAPANESE].mkv: Moved into backup dir
2021/08/18 02:11:01 INFO  : Hellsing Ultimate (2006)/Stagione 01 [1080p HEVC] [ITA+JPN]/Hellsing Ultimate (2006) - S01E10 - 010 - Hellsing X [NetflixHD 1080p HEVC] [ITA+JPN].mkv: Moved (server-side)
2021/08/18 02:11:01 INFO  : Hellsing Ultimate (2006)/Stagione 01 [1080p HEVC] [ITA+JPN]/Hellsing Ultimate (2006) - S01E10 - 010 - Hellsing X [NetflixHD 1080p HEVC] [ITA+JPN].mkv: Moved into backup dir
2021/08/18 02:11:01 INFO  : Black Clover (2017)/Stagione 01 [720p x264] [JAPANESE]/Black Clover (2017) - S01E125 - 125 - Il ritorno [WEBDL 720p x264] [JAPANESE].mkv: Moved (server-side)
2021/08/18 02:11:01 INFO  : Black Clover (2017)/Stagione 01 [720p x264] [JAPANESE]/Black Clover (2017) - S01E125 - 125 - Il ritorno [WEBDL 720p x264] [JAPANESE].mkv: Moved into backup dir
2021/08/18 02:11:03 INFO  : Baki the Grappler (2001)/Stagione 01 [480p x264] [JAPANESE]/Baki the Grappler (2001) - S01E17 - 017 - Campione [SDTV 480p x264] [JAPANESE].mkv: Moved (server-side)
2021/08/18 02:11:03 INFO  : Baki the Grappler (2001)/Stagione 01 [480p x264] [JAPANESE]/Baki the Grappler (2001) - S01E17 - 017 - Campione [SDTV 480p x264] [JAPANESE].mkv: Moved into backup dir

I know the cause is a usb disconnection and you suggested to solve this faulty hardware but at the moment I can't..

So I started to think a workaround...using the --check-first flag can solve the problem?
if during the initial full check the problem happen what is the rclone behaviour in you opinion?
and if the problem happens during the transfer?

You note in the linked thread that sometimes rclone (the OS) doesn't recognize the offline folder as missing (giving an error) and you seem to care about your data.

In this situation I would use

rclone copy ...

instead of

rclone sync --delete-during ...

until the the root cause (faulty hardware) has been solved.

PS: --check-first will not help you

the problem is that this "faulty hardware" is a "sometimes disconnecting" usb box that contains different drives..
I don't know how to fix if not changing the box but for a this occasionally problems I don't know if it worth the money...
why are you saying that --check-first cannot help?
using the --delete-after can help?
I'm trying to avoid the copy command to have a clean remote..the deleted files will be moved to a backup folder for this occasionally situations...

how can you don't know how rclone will behave in this situation?
this is an error that can happen in every environment..
will rclone start again from scratch or what?
thx both for reply me

Let's check my assumptions:

Does your OS (which?) always return an error to rclone (and other programs) when the usb box or one of its drives goes off line?

Running on Windows 10 pro.
I just tried to start the sync with delete-during and shutted down all usb boxes:

2021/08/20 18:12:20 INFO  : Starting bandwidth limiter at 5.859MBytes/s
2021/08/20 18:12:20 NOTICE: Serving remote control on http://localhost:5572/
2021/08/20 18:12:21 INFO  : Encrypted drive 'Media:Anime': Running all checks before starting transfers
2021/08/20 18:12:31 INFO  : 
Transferred:   	         0 / 0 Bytes, -, 0 Bytes/s, ETA -
Elapsed time:        10.8s

2021/08/20 18:12:32 ERROR : A tutto gas (1984): error reading source directory: directory not found
2021/08/20 18:12:32 ERROR : Alexander Cronache di guerra di Alessandro il Grande (1999): error reading source directory: directory not found
2021/08/20 18:12:32 ERROR : Angel Sanctuary (2000): error reading source directory: directory not found
2021/08/20 18:12:32 ERROR : 7Seeds (2019): error reading source directory: directory not found
2021/08/20 18:12:32 ERROR : Abenobashi - Il quartiere commerciale di magia (2002): error reading source directory: directory not found
2021/08/20 18:12:32 ERROR : Absolute Duo (2015): error reading source directory: directory not found
2021/08/20 18:12:32 ERROR : Aggretsuko (2018): error reading source directory: directory not found
2021/08/20 18:12:32 ERROR : Arrivano i Superboys (1970): error reading source directory: directory not found
2021/08/20 18:12:32 ERROR : Baki (2018): error reading source directory: directory not found
2021/08/20 18:12:32 ERROR : Baki the Grappler (2001): error reading source directory: directory not found
2021/08/20 18:12:32 ERROR : Black Clover (2017): error reading source directory: directory not found
2021/08/20 18:12:32 ERROR : Beck Mongolian Chop Squad (2004): error reading source directory: directory not found
2021/08/20 18:12:32 ERROR : Beastars (2019): error reading source directory: directory not found
2021/08/20 18:12:32 ERROR : Captain Tsubasa (2018): error reading source directory: directory not found
2021/08/20 18:12:32 ERROR : Code Geass Lelouch of the Rebellion (2006): error reading source directory: directory not found
2021/08/20 18:12:32 ERROR : Conan il ragazzo del futuro (1978): error reading source directory: directory not found
2021/08/20 18:12:32 ERROR : Death Parade (2015): error reading source directory: directory not found
2021/08/20 18:12:32 ERROR : Detroit Metal City (2008): error reading source directory: directory not found
2021/08/20 18:12:32 ERROR : Eureka Seven (2005): error reading source directory: directory not found
2021/08/20 18:12:32 ERROR : Hellsing Ultimate (2006): error reading source directory: directory not found
2021/08/20 18:12:32 ERROR : I Cieli di Escaflowne (1996): error reading source directory: directory not found
2021/08/20 18:12:32 ERROR : Lupin the Third - La donna chiamata Fujiko Mine (2012): error reading source directory: directory not found
2021/08/20 18:12:32 ERROR : Mirai Nikki (2011): error reading source directory: directory not found
2021/08/20 18:12:32 ERROR : Mobile Suit Gundam 0083 Stardust Memory (1991): error reading source directory: directory not found
2021/08/20 18:12:32 ERROR : Saint Seiya I Cavalieri dello zodiaco (2019): error reading source directory: directory not found
2021/08/20 18:12:32 ERROR : Sfondamento dei cieli Gurren Lagann (2007): error reading source directory: directory not found
2021/08/20 18:12:32 ERROR : Shaman King (2021): error reading source directory: directory not found
2021/08/20 18:12:32 ERROR : revisions (2019): error reading source directory: directory not found
2021/08/20 18:12:32 INFO  : Encrypted drive 'Media:Anime': Making map for --track-renames
2021/08/20 18:12:32 INFO  : Encrypted drive 'Media:Anime': Finished making map for --track-renames
2021/08/20 18:12:32 INFO  : Encrypted drive 'Media:Anime': Checks finished, now starting transfers
2021/08/20 18:12:32 ERROR : Encrypted drive 'Media:Anime': not deleting files as there were IO errors
2021/08/20 18:12:32 ERROR : Encrypted drive 'Media:Anime': not deleting directories as there were IO errors
2021/08/20 18:12:32 ERROR : Attempt 1/5 failed with 29 errors and: march failed with 28 error(s): first error: directory not found
2021/08/20 18:12:32 INFO  : Encrypted drive 'Media:Anime': Running all checks before starting transfers
2021/08/20 18:12:41 INFO  : 
Transferred:   	         0 / 0 Bytes, -, 0 Bytes/s, ETA -
Elapsed time:        20.8s

2021/08/20 18:12:42 ERROR : Capricciosa Orange Road (1987): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Boruto Naruto Next Generations (2017): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Capitan Harlock (1978): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Cells at Work! (2018): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Card Captor Sakura (1998): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : City Hunter (1987): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Corazzata Spaziale Yamato 2199 (2012): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : D.Gray-Man (2006): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Cowboy Bebop (1998): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : D.Gray-Man Hallow (2016): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : DARLING in the FRANXX (2018): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Daitarn 3 (1978): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Danganronpa (2013): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Death March to the Parallel World Rhapsody (2018): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Death Note (2006): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Demon Slayer (2019): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Devil May Cry (2007): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Devilman Crybaby (2018): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Dr. Slump & Arale (1981): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Dr. Stone (2019): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Dragon Ball (1986): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Dragon Ball GT (1996): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Dragon Ball Kai (2009): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Dragon Ball Super (2015): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Dragon Ball Z (1989): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Dream Team (2002): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Ergo Proxy (2006): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Excel Saga (1999): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Fate Stay Night Unlimited Blade Works (2014): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Fire Force (2019): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Food Wars! Shokugeki no Soma (2015): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Full Metal Panic! (2002): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : GTO - Great Teacher Onizuka (1999): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Ghost in the Shell Arise - Alternative Architecture (2015): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Ghost in the Shell Stand Alone Complex (2002): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Gigi la trottola (1980): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : God Eater (2015): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Golden Boy (1995): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Gundam Build Fighters (2013): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Hello! Spank (1981): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Highschool of the Dead (2010): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : High School D×D (2012): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Hi Score Girl (2018): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Holly e Benji (1983): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Hilary (1986): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : I 5 Samurai (1988): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Ikkitousen (2003): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Il Tulipano Nero (1975): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Kakegurui (2017): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Ken il guerriero (1984): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Kill la Kill (2013): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Kiseiju - L'ospite indesiderato (2014): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Kyashan - Il ragazzo androide (1973): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Kyashan Sins (2008): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Lady Oscar (1979): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Le situazioni di Lui & Lei (1998): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Lamu' - la ragazza dello spazio (1981): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Made in Abyss (2017): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Lisa e Seya un solo cuore per lo stesso segreto (1995): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Maken-Ki! (2011): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Mila & Shiro, due cuori nella pallavolo (1984): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Mobile Suit Gundam (1979): error reading source directory: directory not found
2021/08/20 18:12:42 ERROR : Mobile Suit Gundam Unicorn (2016): error reading source directory: directory not found
2021/08/20 18:12:42 INFO  : Encrypted drive 'Media:Anime': Making map for --track-renames
2021/08/20 18:12:42 INFO  : Encrypted drive 'Media:Anime': Finished making map for --track-renames
2021/08/20 18:12:42 INFO  : Encrypted drive 'Media:Anime': Checks finished, now starting transfers
2021/08/20 18:12:42 ERROR : Encrypted drive 'Media:Anime': not deleting files as there were IO errors
2021/08/20 18:12:42 ERROR : Encrypted drive 'Media:Anime': not deleting directories as there were IO errors
2021/08/20 18:12:42 ERROR : Attempt 2/5 failed with 64 errors and: march failed with 63 error(s): first error: directory not found
2021/08/20 18:12:42 INFO  : Encrypted drive 'Media:Anime': Running all checks before starting transfers
2021/08/20 18:12:48 INFO  : Encrypted drive 'Media:Anime': Making map for --track-renames
2021/08/20 18:12:48 INFO  : Encrypted drive 'Media:Anime': Finished making map for --track-renames
2021/08/20 18:12:48 INFO  : Encrypted drive 'Media:Anime': Checks finished, now starting transfers
2021/08/20 18:12:51 INFO  : 
Transferred:   	         0 / 0 Bytes, -, 0 Bytes/s, ETA -
Checks:                 0 / 4, 0%
Deleted:                4 (files), 0 (dirs)
Elapsed time:        30.8s
Checking:
 * GTO - Great Teacher Onizuka (1999)/Stagione 01 [480p x264] [ITA+JPN]/GTO - …nizuka (1999) - S01E31 - 031 - Lezione 31 [DVDrip 480p x264] [ITA+JPN].mkv: checking
 * L'attacco dei giganti (2013)/Stagione 04 [1080p x264] [ITA+JPN]/L'attacco d… S04E02 - 061 - Il treno di mezzanotte [AmazonHD 1080p x264] [ITA+JPN].mkv: checking
 * One Piece (1999)/Stagione 17 [720p x264] [JAPANESE]/One Piece (1999) - S17E…piccolo popolo - La prigioniera Manshelly [WEBDL 720p x264] [JAPANESE].mkv: checking
 * Dragon Ball Kai (2009)/Stagione 02 [720p x264] [JAPANESE]/Dragon Ball Kai (…agnia! La missione d'infiltrazione di ... [WEBDL 720p x264] [JAPANESE].mkv: checking

2021/08/20 18:12:52 INFO  : GTO - Great Teacher Onizuka (1999)/Stagione 01 [480p x264] [ITA+JPN]/GTO - Great Teacher Onizuka (1999) - S01E31 - 031 - Lezione 31 [DVDrip 480p x264] [ITA+JPN].mkv: Moved (server-side)
2021/08/20 18:12:52 INFO  : GTO - Great Teacher Onizuka (1999)/Stagione 01 [480p x264] [ITA+JPN]/GTO - Great Teacher Onizuka (1999) - S01E31 - 031 - Lezione 31 [DVDrip 480p x264] [ITA+JPN].mkv: Moved into backup dir
2021/08/20 18:12:54 INFO  : L'attacco dei giganti (2013)/Stagione 04 [1080p x264] [ITA+JPN]/L'attacco dei giganti (2013) - S04E02 - 061 - Il treno di mezzanotte [AmazonHD 1080p x264] [ITA+JPN].mkv: Moved (server-side)
2021/08/20 18:12:54 INFO  : L'attacco dei giganti (2013)/Stagione 04 [1080p x264] [ITA+JPN]/L'attacco dei giganti (2013) - S04E02 - 061 - Il treno di mezzanotte [AmazonHD 1080p x264] [ITA+JPN].mkv: Moved into backup dir
2021/08/20 18:12:56 INFO  : One Piece (1999)/Stagione 17 [720p x264] [JAPANESE]/One Piece (1999) - S17E065 - 693 - La principessa del piccolo popolo - La prigioniera Manshelly [WEBDL 720p x264] [JAPANESE].mkv: Moved (server-side)
2021/08/20 18:12:56 INFO  : One Piece (1999)/Stagione 17 [720p x264] [JAPANESE]/One Piece (1999) - S17E065 - 693 - La principessa del piccolo popolo - La prigioniera Manshelly [WEBDL 720p x264] [JAPANESE].mkv: Moved into backup dir
2021/08/20 18:12:57 INFO  : Dragon Ball Kai (2009)/Stagione 02 [720p x264] [JAPANESE]/Dragon Ball Kai (2009) - S02E50 - 155 - Il salvataggio di Gohan e compagnia! La missione d'infiltrazione di ... [WEBDL 720p x264] [JAPANESE].mkv: Moved (server-side)
2021/08/20 18:12:57 INFO  : Dragon Ball Kai (2009)/Stagione 02 [720p x264] [JAPANESE]/Dragon Ball Kai (2009) - S02E50 - 155 - Il salvataggio di Gohan e compagnia! La missione d'infiltrazione di ... [WEBDL 720p x264] [JAPANESE].mkv: Moved into backup dir
2021/08/20 18:12:59 INFO  : Highschool of the Dead (2010)/Stagione 01 [720p x264] [JAPANESE]/Highschool of the Dead (2010) - S01E11 - 011 - La crescente tempesta dei morti viventi [BD 720p x264] [JAPANESE].mkv: Moved (server-side)
2021/08/20 18:12:59 INFO  : Highschool of the Dead (2010)/Stagione 01 [720p x264] [JAPANESE]/Highschool of the Dead (2010) - S01E11 - 011 - La crescente tempesta dei morti viventi [BD 720p x264] [JAPANESE].mkv: Moved into backup dir
2021/08/20 18:13:01 INFO  : 
Transferred:   	         0 / 0 Bytes, -, 0 Bytes/s, ETA -
Checks:                10 / 14, 71%
Deleted:                9 (files), 0 (dirs)
Renamed:                5
Elapsed time:        40.8s
Checking:
 * Mobile Suit Gundam (1979)/Stagione 01 [720p HEVC] [ITA+JPN]/Mobile Suit Gun…) - S01E31 - 031 - Zanzibar all'attacco [AmazonHD 720p HEVC] [ITA+JPN].mkv: checking
 *   Saiyuki (2000)/Stagione 01 [480p x264] [ITA]/Saiyuki (2000) - S01E18 - 018 - Vice or Justice - La verità della giustizia [WEBDL 480p x264] [ITA].mkv: checking
 *                      One Piece (1999)/Stagione 12 [720p] [JAPANESE]/One Piece (1999) - S12E29 - 354 - L'attesa di un amico [WEBDL 720p] [JAPANESE].mkv: checking
 *                 One Piece (1999)/Stagione 13 [720p] [JAPANESE]/One Piece (1999) - S13E010 - 391 - In giro per l'arcipelago [WEBDL 720p] [JAPANESE].mkv: checking

2021/08/20 18:13:01 INFO  : Mobile Suit Gundam (1979)/Stagione 01 [720p HEVC] [ITA+JPN]/Mobile Suit Gundam (1979) - S01E31 - 031 - Zanzibar all'attacco [AmazonHD 720p HEVC] [ITA+JPN].mkv: Moved (server-side)
2021/08/20 18:13:01 INFO  : Mobile Suit Gundam (1979)/Stagione 01 [720p HEVC] [ITA+JPN]/Mobile Suit Gundam (1979) - S01E31 - 031 - Zanzibar all'attacco [AmazonHD 720p HEVC] [ITA+JPN].mkv: Moved into backup dir
2021/08/20 18:13:03 INFO  : Saiyuki (2000)/Stagione 01 [480p x264] [ITA]/Saiyuki (2000) - S01E18 - 018 - Vice or Justice - La verità della giustizia [WEBDL 480p x264] [ITA].mkv: Moved (server-side)
2021/08/20 18:13:03 INFO  : Saiyuki (2000)/Stagione 01 [480p x264] [ITA]/Saiyuki (2000) - S01E18 - 018 - Vice or Justice - La verità della giustizia [WEBDL 480p x264] [ITA].mkv: Moved into backup dir
2021/08/20 18:13:04 INFO  : One Piece (1999)/Stagione 13 [720p] [JAPANESE]/One Piece (1999) - S13E010 - 391 - In giro per l'arcipelago [WEBDL 720p] [JAPANESE].mkv: Moved (server-side)
2021/08/20 18:13:04 INFO  : One Piece (1999)/Stagione 13 [720p] [JAPANESE]/One Piece (1999) - S13E010 - 391 - In giro per l'arcipelago [WEBDL 720p] [JAPANESE].mkv: Moved into backup dir
2021/08/20 18:13:05 INFO  : One Piece (1999)/Stagione 12 [720p] [JAPANESE]/One Piece (1999) - S12E29 - 354 - L'attesa di un amico [WEBDL 720p] [JAPANESE].mkv: Moved (server-side)
2021/08/20 18:13:05 INFO  : One Piece (1999)/Stagione 12 [720p] [JAPANESE]/One Piece (1999) - S12E29 - 354 - L'attesa di un amico [WEBDL 720p] [JAPANESE].mkv: Moved into backup dir
2021/08/20 18:13:06 INFO  : Card Captor Sakura (1998)/Stagione 03 [480p] [ITA+JPN]/Card Captor Sakura (1998) - S03E10 - 056 - Il bazaar [DVDrip 480p] [ITA+JPN].mkv: Moved (server-side)
2021/08/20 18:13:06 INFO  : Card Captor Sakura (1998)/Stagione 03 [480p] [ITA+JPN]/Card Captor Sakura (1998) - S03E10 - 056 - Il bazaar [DVDrip 480p] [ITA+JPN].mkv: Moved into backup dir
2021/08/20 18:13:07 INFO  : Dragon Ball Kai (2009)/Stagione 01 [720p x264] [JAPANESE]/Dragon Ball Kai (2009) - S01E61 - 061 - Nessuna speranza di vittoria contro n° 19! Super Vegeta arriva in ri... [WEBDL 720p x264] [JAPANESE].mkv: Moved (server-side)
2021/08/20 18:13:07 INFO  : Dragon Ball Kai (2009)/Stagione 01 [720p x264] [JAPANESE]/Dragon Ball Kai (2009) - S01E61 - 061 - Nessuna speranza di vittoria contro n° 19! Super Vegeta arriva in ri... [WEBDL 720p x264] [JAPANESE].mkv: Moved into backup dir
2021/08/20 18:13:08 INFO  : Dragon Ball Kai (2009)/Stagione 01 [720p x264] [JAPANESE]/Dragon Ball Kai (2009) - S01E95 - 095 - Addio a tutti! Questo è l'unico modo per salvare la Terra [WEBDL 720p x264] [JAPANESE].mkv: Moved (server-side)
2021/08/20 18:13:08 INFO  : Dragon Ball Kai (2009)/Stagione 01 [720p x264] [JAPANESE]/Dragon Ball Kai (2009) - S01E95 - 095 - Addio a tutti! Questo è l'unico modo per salvare la Terra [WEBDL 720p x264] [JAPANESE].mkv: Moved into backup dir
2021/08/20 18:13:09 INFO  : Bleach (2004)/Stagione 14 [720p x264] [JAPANESE]/Bleach (2004) - S14E28 - 293 - Hitsugaya, infuriato! La lama dell'odio! [WEBDL 720p x264] [JAPANESE].mkv: Moved (server-side)
2021/08/20 18:13:09 INFO  : Bleach (2004)/Stagione 14 [720p x264] [JAPANESE]/Bleach (2004) - S14E28 - 293 - Hitsugaya, infuriato! La lama dell'odio! [WEBDL 720p x264] [JAPANESE].mkv: Moved into backup dir
2021/08/20 18:13:11 INFO  : 
Transferred:   	         0 / 0 Bytes, -, 0 Bytes/s, ETA -
Checks:                26 / 30, 87%
Deleted:               17 (files), 0 (dirs)
Renamed:               13
Elapsed time:        50.8s
Checking:
 *          Ken il guerriero (1984)/Stagione 01 [480p x264] [ITA+JPN]/Ken il guerriero (1984) - S01E17 - 017 - L'adunata [DVDrip 480p x264] [ITA+JPN].mkv: checking
 * Mobile Suit Gundam (1979)/Stagione 01 [720p HEVC] [ITA+JPN]/Mobile Suit Gun…8 - 028 - L'Atlantico si tinge di rosso [AmazonHD 720p HEVC] [ITA+JPN].mkv: checking
 * Fullmetal Alchemist Brotherhood (2009)/Stagione 01 [1080p x264] [ITA+JPN+EN… - S01E37 - 037 - Il primo homunculus [BDrip 1080p x264] [ITA+JPN+ENG].mkv: checking
 * L'attacco dei giganti (2013)/Stagione 03 [1080p x264] [ITA+JPN]/L'attacco d…iganti (2013) - S03E06 - 043 - Peccato [AmazonHD 1080p x264] [ITA+JPN].mkv: checking

2021/08/20 18:13:11 INFO  : Ken il guerriero (1984)/Stagione 01 [480p x264] [ITA+JPN]/Ken il guerriero (1984) - S01E17 - 017 - L'adunata [DVDrip 480p x264] [ITA+JPN].mkv: Moved (server-side)
2021/08/20 18:13:11 INFO  : Ken il guerriero (1984)/Stagione 01 [480p x264] [ITA+JPN]/Ken il guerriero (1984) - S01E17 - 017 - L'adunata [DVDrip 480p x264] [ITA+JPN].mkv: Moved into backup dir
2021/08/20 18:13:13 INFO  : Mobile Suit Gundam (1979)/Stagione 01 [720p HEVC] [ITA+JPN]/Mobile Suit Gundam (1979) - S01E28 - 028 - L'Atlantico si tinge di rosso [AmazonHD 720p HEVC] [ITA+JPN].mkv: Moved (server-side)
2021/08/20 18:13:13 INFO  : Mobile Suit Gundam (1979)/Stagione 01 [720p HEVC] [ITA+JPN]/Mobile Suit Gundam (1979) - S01E28 - 028 - L'Atlantico si tinge di rosso [AmazonHD 720p HEVC] [ITA+JPN].mkv: Moved into backup dir
2021/08/20 18:13:13 INFO  : Fullmetal Alchemist Brotherhood (2009)/Stagione 01 [1080p x264] [ITA+JPN+ENG]/Fullmetal Alchemist Brotherhood (2009) - S01E37 - 037 - Il primo homunculus [BDrip 1080p x264] [ITA+JPN+ENG].mkv: Moved (server-side)
2021/08/20 18:13:13 INFO  : Fullmetal Alchemist Brotherhood (2009)/Stagione 01 [1080p x264] [ITA+JPN+ENG]/Fullmetal Alchemist Brotherhood (2009) - S01E37 - 037 - Il primo homunculus [BDrip 1080p x264] [ITA+JPN+ENG].mkv: Moved into backup dir
2021/08/20 18:13:14 INFO  : L'attacco dei giganti (2013)/Stagione 03 [1080p x264] [ITA+JPN]/L'attacco dei giganti (2013) - S03E06 - 043 - Peccato [AmazonHD 1080p x264] [ITA+JPN].mkv: Moved (server-side)
2021/08/20 18:13:14 INFO  : L'attacco dei giganti (2013)/Stagione 03 [1080p x264] [ITA+JPN]/L'attacco dei giganti (2013) - S03E06 - 043 - Peccato [AmazonHD 1080p x264] [ITA+JPN].mkv: Moved into backup dir
2021/08/20 18:13:16 INFO  : Boruto Naruto Next Generations (2017)/Stagione 01 [720p x264] [JAPANESE]/Boruto Naruto Next Generations (2017) - S01E157 - 157 - Le orme dei Kara [WEBDL 720p x264] [JAPANESE].mkv: Moved (server-side)
2021/08/20 18:13:16 INFO  : Boruto Naruto Next Generations (2017)/Stagione 01 [720p x264] [JAPANESE]/Boruto Naruto Next Generations (2017) - S01E157 - 157 - Le orme dei Kara [WEBDL 720p x264] [JAPANESE].mkv: Moved into backup dir
2021/08/20 18:13:17 INFO  : D.Gray-Man Hallow (2016)/Stagione 01 [720p x264] [JAPANESE]/D.Gray-Man Hallow (2016) - S01E12 - 115 - La mia casa [WEBDL 720p x264] [JAPANESE].mkv: Moved (server-side)
2021/08/20 18:13:17 INFO  : D.Gray-Man Hallow (2016)/Stagione 01 [720p x264] [JAPANESE]/D.Gray-Man Hallow (2016) - S01E12 - 115 - La mia casa [WEBDL 720p x264] [JAPANESE].mkv: Moved into backup dir
2021/08/20 18:13:19 INFO  : Dr. Slump & Arale (1981)/Stagione 02 [480p x264] [ITA]/Dr. Slump & Arale (1981) - S02E20 - 070 - La notte araba di Arale [DVDrip 480p x264] [ITA].mkv: Moved (server-side)
2021/08/20 18:13:19 INFO  : Dr. Slump & Arale (1981)/Stagione 02 [480p x264] [ITA]/Dr. Slump & Arale (1981) - S02E20 - 070 - La notte araba di Arale [DVDrip 480p x264] [ITA].mkv: Moved into backup dir
2021/08/20 18:13:21 INFO  : 
Transferred:   	         0 / 0 Bytes, -, 0 Bytes/s, ETA -
Checks:                40 / 44, 91%
Deleted:               24 (files), 0 (dirs)
Renamed:               20
Elapsed time:       1m0.8s
Checking:
 * Gundam Build Fighters (2013)/Stagione 02 [720p x264] [JAPANESE]/Gundam Buil…hters (2013) - S02E11 - 036 - Nielsen Lab [WEBDL 720p x264] [JAPANESE].mkv: checking
 *                          Holly e Benji (1983)/Stagione 07 [360p] [ITA]/Holly e Benji (1983) - S07E06 - 181 - Girone d'apertura [SATrip 360p] [ITA].mkv: checking
 *           Hello! Spank (1981)/Stagione 01 [360p x264] [ITA]/Hello! Spank (1981) - S01E12 - L'arcobaleno non si può mangiare [SDTV 360p x264] [ITA].mkv: checking
 *                         Baki (2018)/Stagione 02 [1080p x264] [JAPANESE]/Baki (2018) - S02E08 - 034 - I più forti [NetflixHD 1080p x264] [JAPANESE].mkv: checking

2021/08/20 18:13:21 INFO  : Gundam Build Fighters (2013)/Stagione 02 [720p x264] [JAPANESE]/Gundam Build Fighters (2013) - S02E11 - 036 - Nielsen Lab [WEBDL 720p x264] [JAPANESE].mkv: Moved (server-side)
2021/08/20 18:13:21 INFO  : Gundam Build Fighters (2013)/Stagione 02 [720p x264] [JAPANESE]/Gundam Build Fighters (2013) - S02E11 - 036 - Nielsen Lab [WEBDL 720p x264] [JAPANESE].mkv: Moved into backup dir
2021/08/20 18:13:23 INFO  : Holly e Benji (1983)/Stagione 07 [360p] [ITA]/Holly e Benji (1983) - S07E06 - 181 - Girone d'apertura [SATrip 360p] [ITA].mkv: Moved (server-side)
2021/08/20 18:13:23 INFO  : Holly e Benji (1983)/Stagione 07 [360p] [ITA]/Holly e Benji (1983) - S07E06 - 181 - Girone d'apertura [SATrip 360p] [ITA].mkv: Moved into backup dir
2021/08/20 18:13:25 INFO  : Baki (2018)/Stagione 02 [1080p x264] [JAPANESE]/Baki (2018) - S02E08 - 034 - I più forti [NetflixHD 1080p x264] [JAPANESE].mkv: Moved (server-side)
2021/08/20 18:13:25 INFO  : Baki (2018)/Stagione 02 [1080p x264] [JAPANESE]/Baki (2018) - S02E08 - 034 - I più forti [NetflixHD 1080p x264] [JAPANESE].mkv: Moved into backup dir
2021/08/20 18:13:26 INFO  : InuYasha (2000)/Stagione 07 [720p HEVC] [ITA+JPN]/InuYasha (2000) - S07E14 - Sulle tracce di Naraku [BDrip 720p HEVC] [ITA+JPN].mkv: Moved (server-side)
2021/08/20 18:13:26 INFO  : InuYasha (2000)/Stagione 07 [720p HEVC] [ITA+JPN]/InuYasha (2000) - S07E14 - Sulle tracce di Naraku [BDrip 720p HEVC] [ITA+JPN].mkv: Moved into backup dir
2021/08/20 18:13:27 INFO  : Hello! Spank (1981)/Stagione 01 [360p x264] [ITA]/Hello! Spank (1981) - S01E12 - L'arcobaleno non si può mangiare [SDTV 360p x264] [ITA].mkv: Moved (server-side)
2021/08/20 18:13:27 INFO  : Hello! Spank (1981)/Stagione 01 [360p x264] [ITA]/Hello! Spank (1981) - S01E12 - L'arcobaleno non si può mangiare [SDTV 360p x264] [ITA].mkv: Moved into backup dir
2021/08/20 18:13:30 INFO  : L'Uomo Tigre (1969)/Stagione 01 [360p] [ITA]/L'Uomo Tigre (1969) - S01E055 - Città Inquinate [DVDrip 360p] [ITA].mkv: Moved (server-side)
2021/08/20 18:13:30 INFO  : L'Uomo Tigre (1969)/Stagione 01 [360p] [ITA]/L'Uomo Tigre (1969) - S01E055 - Città Inquinate [DVDrip 360p] [ITA].mkv: Moved into backup dir
2021/08/20 18:13:31 INFO  : 
Transferred:   	         0 / 0 Bytes, -, 0 Bytes/s, ETA -
Checks:                52 / 56, 93%
Deleted:               30 (files), 0 (dirs)
Renamed:               26
Elapsed time:      1m10.8s
Checking:
 * Super Dragon Ball Heroes (2018)/Stagione 03 [720p x264] [JAPANESE]/Super Dr…o del Drago! I Super Saiyan 4 alla mas... [WEBDL 720p x264] [JAPANESE].mkv: checking
 *  City Hunter (1987)/Stagione 02 [1080p HEVC] [ITA+JPN]/City Hunter (1987) - S02E63 - 114 - L'assistente americana (3) [WEBDL 1080p HEVC] [ITA+JPN].mkv: checking
 *        Aggretsuko (2018)/Stagione 02 [1080p HEVC] [ITA+JPN]/Aggretsuko (2018) - S02E09 - 020 - I sogni di Retsuko [NetflixHD 1080p HEVC] [ITA+JPN].mkv: checking
 * Dr. Slump & Arale (1981)/Stagione 01 [480p x264] [ITA]/Dr. Slump & Arale (1… S01E25 - 025 - Lo studente della Metro-isola [DVDrip 480p x264] [ITA].mkv: checking

2021/08/20 18:13:31 INFO  : Super Dragon Ball Heroes (2018)/Stagione 03 [720p x264] [JAPANESE]/Super Dragon Ball Heroes (2018) - S03E06 - 026 - L'esplosione del Pugno del Drago! I Super Saiyan 4 alla mas... [WEBDL 720p x264] [JAPANESE].mkv: Moved (server-side)
2021/08/20 18:13:31 INFO  : Super Dragon Ball Heroes (2018)/Stagione 03 [720p x264] [JAPANESE]/Super Dragon Ball Heroes (2018) - S03E06 - 026 - L'esplosione del Pugno del Drago! I Super Saiyan 4 alla mas... [WEBDL 720p x264] [JAPANESE].mkv: Moved into backup dir

rclone started to move all folder to backup directory..
how can I avoid it?
or can I block rclone if an IO error (or some other errors) occurs?

Good example, I would like to understand your situation better before answering:

Will you please add the first lines of the log into the above post, I would like to see the full command in context.

Also I would like to see the output from rclone show config yourRemote, where you have redacted all secrets (user, password, token,...)

there's no first line...that's all.
here's the command used:

@ECHO OFF
For /f "tokens=1-3 delims=/:" %%a in ("%DATE%") do (set mydate=%%c%%b%%a)
For /f "tokens=1-3 delims=/:," %%a in ("%TIME%") do (set mytime=%%a%%b%%c)
rem ECHO %mydate%_%mytime%

REM Console height / width
rem MODE 200,13 | ECHO off
REM Console title
TITLE Media

REM SET /p RCLONE_BWLIMIT="> BWLIMIT: "
REM SET /p RCLONE_TRANSFERS="> TRANSFERS: "
SET RCLONE_BWLIMIT=6000
SET RCLONE_TRANSFERS=4
SET RCLONE_CHECKERS=8
SET RCLONE_STATS=10s

tasklist /FI "IMAGENAME eq rclone.exe" 2>NUL | find /I /N "rclone.exe">NUL
if "%ERRORLEVEL%"=="0" exit

REM JOB UNICO PER LE CARTELLE ANIME
SET RCLONE_TRANSFERS=4
N:\rclone\rclone.exe sync "H:\Anime" Media:"Anime"  --backup-dir=Media:"00 - Backup/Anime/%mydate%_%mytime%" --fast-list --delete-during --checksum --verbose --transfers %RCLONE_TRANSFERS% --checkers %RCLONE_CHECKERS% --bwlimit %RCLONE_BWLIMIT% --contimeout 60s --timeout 300s --retries 5 --low-level-retries 10 --rc --stats %RCLONE_STATS% --stats-file-name-length 150 --exclude "desktop.ini" --links --ignore-size --log-file "r:\rclone scripts\media_%mydate%_%mytime%.log" --track-renames --track-renames-strategy modtime --check-first

about the config (if this is what you need):

[gdrive]
type = drive
scope = drive
root_folder_id = xxxxxxxxxxxxxxxxxxxxxx
token = {"access_token":"xxxxxxxxxxxxxxxxxxxxxxxxxxx","token_type":"Bearer","refresh_token":"xxxxxxxxxxxxxx","expiry":"2021-08-20T18:47:13.4028574+02:00"}
client_id = xxxxxxxxxxxxxxx
client_secret = xxxxxxxxxxx

[Media]
type = crypt
remote = gdrive:01
filename_encryption = standard
directory_name_encryption = true
password = xxxxxxxxxxxxxxxxxxxxxxx

Thanks, that helps.

Are you able to create a small example (a testfolder with a few files) that we can play with?
and then perform a sync where you have added the -vv flag (debug info) to the command?
and then try the same while disconnecting the drives?

If you can reproduce the issue then try reproducing with a bare minimum command like this:

rclone sync H:testfolder Media:testfolder 

Caution: Please use --dry-run first

I am pretty sure the minimal command will not delete anything if there are any errors.

My best guess is that your issue may have something to do with --backup-dir, so next step would then be to add this parameter and see if you can reproduce - and soforth.

I will go offline for some time in a short while, so the more you can find out yourself the better.

I made a first test making a new folder a uploading some stuff from my local Anime folder

After that I launched the sync and shut off the usb box..
here's the log (with backup dir):

no folder deleted.....
I'll some other tests...

I've done another test using a more nested folder structure copied from original remote folder "Anime"
running the sync rclone starts the transfers..
shutting down the disk after the attempt 1/5 the new one started to delete files.
here's the full log (I closed the process after some deletions)

and here's the last test..

same situation of previous test, but removing the backup directory..
attempt 2 started to delete files again..

last (this time really) test.. using the flag --retries 1 after the first attempt failed rclone stops and no deletion

additional infos: the source folder is from a Drivepool so I think that the main H:\Anime folder is not going offline completelly even after the HDD shutdown.. can be usefull?
this is my Anime folder with all disks on:


this with all usb disk off:

these are empty folders stored probably on the poolpart on a local disk..
here:

this can explain why on the first attempt there is the I/O error and not in the second one?

additional test.
tried adding the flag --retries-sleep 30s to workaround a usb disconnection.
in 30s the hdd goes up again (can raise it to 60s or more to be more secure) and the attempt 2 doesn't give errors:

check after 2021/08/21 01:19:31

sorry to be so verbose..I ask you to read all the topic please...thx

Great testing effort! Your verbose postings helped me understand the issue and your thought process. To be used within reason off course.

I am very surprised to see deletion of files that pass check with the message: “Unchanged skipping”

This contradicts my understanding of correct rclone sync behavior, no matter the command flags or errors encountered during the sync.

Here is a simple example extracted from your log:

2021/08/21 00:48:22 DEBUG : Using config file from "N:\\rclone\\rclone.conf"
2021/08/21 00:48:22 INFO : Starting bandwidth limiter at 5.859MBytes/s
2021/08/21 00:48:22 DEBUG : rclone: Version "v1.55.1" starting with parameters ["N:\\rclone\\rclone.exe" "sync" "H:\\Anime" "Media:Anime test" "--backup-dir=Media:00 - Backup/Anime test/20210821_ 04822" "--fast-list" "--delete-during" "--checksum" "-vv" "--transfers" "4" "--checkers" "8" "--bwlimit" "6000" "--contimeout" "60s" "--timeout" "300s" "--retries" "5" "--low-level-retries" "10" "--rc" "--stats" "10s" "--stats-file-name-length" "150" "--exclude" "desktop.ini" "--links" "--ignore-size" "--log-file" "r:\\rclone scripts\\Anime test_20210821_ 04822.log" "--track-renames" "--track-renames-strategy" "modtime" "--check-first"]
2021/08/21 00:48:22 NOTICE: Serving remote control on http://localhost:5572/
2021/08/21 00:48:22 DEBUG : Creating backend with remote "H:\\Anime"
2021/08/21 00:48:22 DEBUG : local: detected overridden config - adding "{b6816}" suffix to name
2021/08/21 00:48:22 DEBUG : fs cache: renaming cache item "H:\\Anime" to be canonical "local{b6816}://?/H:/Anime"
2021/08/21 00:48:22 DEBUG : Creating backend with remote "Media:Anime test"
2021/08/21 00:48:23 DEBUG : Creating backend with remote "gdrive:01/fc72a6d2taars62jv7prm4jro8"
2021/08/21 00:48:23 INFO : Encrypted drive 'Media:Anime test': Running all checks before starting transfers
2021/08/21 00:48:23 DEBUG : Creating backend with remote "Media:00 - Backup/Anime test/20210821_ 04822"
2021/08/21 00:48:23 DEBUG : Creating backend with remote "gdrive:01/kmjdrgnqm9n6mc29qv1vjgr2ks/fc72a6d2taars62jv7prm4jro8/b7ahmdsg71echa31smlveavkbg"
2021/08/21 00:48:28 NOTICE: Encrypted drive 'Media:Anime test': --checksum is in use but the source and destination have no hashes in common; falling back to --size-only
2021/08/21 00:48:28 DEBUG : 7Seeds (2019)/NOTE CONVERSIONE.txt: Size of src and dst objects identical
2021/08/21 00:48:28 DEBUG : 7Seeds (2019)/NOTE CONVERSIONE.txt: Unchanged skipping
2021/08/21 00:48:28 DEBUG : Aggretsuko (2018)/~$Aggretsuko.xlsx: Size of src and dst objects identical
2021/08/21 00:48:28 DEBUG : Aggretsuko (2018)/~$Aggretsuko.xlsx: Unchanged skipping
…
2021/08/21 00:49:06 INFO : Aggretsuko (2018)/~$Aggretsuko.xlsx: Moved (server-side)
2021/08/21 00:49:06 INFO : Aggretsuko (2018)/~$Aggretsuko.xlsx: Moved into backup dir
…

I see similar deletions in your test without --backup-dir, so that isn’t the reason.

You didn’t see the issue when using the --retries=1 flag in the very last test, but this could be a coincidence caused by an issue having a somewhat random nature. I cannot see any reason it should influence the previous deletions happening in the first attempt.

This could be a serious issue in rclone, so I would like to find the root cause.

To do this we need to reduce complexity to a minimum of flags (and files). I therefore suggest you try to reproduce the issue using this bare bone command:

rclone sync “H:/Anime” “Media:Anime test” --size-only --log-file ”yourlogname” -vv

Please read carefully and verify that it doesn’t cause loss of important data and use --dry-run first. You can add --bw-limit if needed in your environment.

You may have to execute the command several times to provoke the issue.

If the issue doesn’t show after 5 tries, then try again after adding --fast-list and --delete-during to the command line.

Feel free to give updates along the way, but no need for logs unless you have a log showing the issue.

You can stop the tests as soon as you have managed to reproduce the issue.

I was thinking about it during this day and before doing additional test I want to do a reasoning with you.
I use the drivepool software to create the H drive:

The H:\Anime folder is usually from the poolpart in the Q drive

As you see in the screenshots the Anime folder is composed of 2.23TB taken from Q drive

On other drives can remain empty folders like this example:

When the Q drive goes off this cause an I/O error but the pool remain "stable". The H:\Anime folder is not missing but is taken from the poolparts that have something related. In our case after the Q drive shutdown, the H:\Anime folder is showed like this:

So in the next attempt rclone see the H:\Anime folder but is composed of only empty folder taken from other drives.

Are you following me?

Hi @Ole

Your support and thinking is always excellent.

Sadly @Bazzu85, i have nothing to offer on this topic but the common issue seems to be the drivepool virtual volume form what i am reading from your thread. I'm guessing this allows you to create virtual volumes from various other disks or volumes?

Are there any diagnostic logs on the drivepool side of things?
Anything being logged by the underlying volumes in the H: drive?

Hope you can get this fixed, that's a ton of data!

Yes I do, very good explanation!

It made me revisit my previous post, where I would like a correct a major mistake on my part before giving my advice to handle the situation.

There was no deletion of files that passed check with the message: “Unchanged skipping”. I overlooked, that the deletions happened in the second attempt.

Here is a more correct extract from the log:

2021/08/21 00:48:22 DEBUG : rclone: Version "v1.55.1" starting with parameters ["N:\\rclone\\rclone.exe" "sync" "H:\\Anime" "Media:Anime test" "--backup-dir=Media:00 - Backup/Anime test/20210821_ 04822" "--fast-list" "--delete-during" "--checksum" "-vv" "--transfers" "4" "--checkers" "8" "--bwlimit" "6000" "--contimeout" "60s" "--timeout" "300s" "--retries" "5" "--low-level-retries" "10" "--rc" "--stats" "10s" "--stats-file-name-length" "150" "--exclude" "desktop.ini" "--links" "--ignore-size" "--log-file" "r:\\rclone scripts\\Anime test_20210821_ 04822.log" "--track-renames" "--track-renames-strategy" "modtime" "--check-first"]
…
2021/08/21 00:48:28 DEBUG : Aggretsuko (2018)/~$Aggretsuko.xlsx: Size of src and dst objects identical
2021/08/21 00:48:28 DEBUG : Aggretsuko (2018)/~$Aggretsuko.xlsx: Unchanged skipping
…
2021/08/21 00:49:01 ERROR : Encrypted drive 'Media:Anime test': not deleting files as there were IO errors
2021/08/21 00:49:01 ERROR : Encrypted drive 'Media:Anime test': not deleting directories as there were IO errors
2021/08/21 00:49:01 ERROR : Attempt 1/5 failed with 8814 errors and: failed to open source object: The system cannot find the path specified.
…
No ERRORS here!
…
2021/08/21 00:49:06 INFO : Aggretsuko (2018)/~$Aggretsuko.xlsx: Moved (server-side)
2021/08/21 00:49:06 INFO : Aggretsuko (2018)/~$Aggretsuko.xlsx: Moved into backup dir
…

This corresponds perfectly to my understanding of rclone sync behaviour and confirms your above observation:

  • The DrivePool does not return an error to rclone (and other programs) when a part of the pool goes offline

So rclone has no way to know that missing files in the source are just offline - not deleted. rclone will therefore delete them in the destination :cry:

You can sometimes fix this by --retries=1 if the poolpart goes offline during the first checking, but it wouldn’t help if it went offline just before the sync started.

A work around could be to make an individual sync for each of the underlying drives (E.g. Q:\Anime -> Media:Q/Anime). That would fail and do nothing if Q: goes offline. But then you have a lot of data to reorganize, so I have another idea that may be better for you:

Rclone has the parameter --max-delete (When synchronizing, limit the number of deletes). This can be used to limit the number of files deleted if a drive pool goes offline and you can then then upload them in a later sync when the drive comes online again. Not perfect, but it will limit damage and the need for manual restoration.

If you decide to go this way, then I have some ideas/recommendations to your other sync parameters that I would like to share in a separate post. First, I would like to know that we now see the same and that you want to use the above idea.

@eh5 Thank you and very good input to identify the root cause and stabilize the DrivePool.

Another alternative could be to sync from an rclone union remote spanning the pool parts.

I have no experience with rclone union and haven’t checked the details, but I guess it would return an error if one of the underlying remotes doesn’t respond (has gone offline).

that's the major point..I posted on Drivepool forum searching suggestions..

I don't understand this assumption.. the --retries 1 tells rclone to do the sync. if an error comes no other attempts are made..
Checking the log (tell me if I'm wrong) on first attempt rclone grab the I/O error

2021/08/21 00:49:01 ERROR : Encrypted drive 'Media:Anime test': not deleting files as there were IO errors
2021/08/21 00:49:01 ERROR : Encrypted drive 'Media:Anime test': not deleting directories as there were IO errors

so the files are safe.
The second attempt on the contrary find a NO ERROR environment for the rules explained above so it start to delete files and folders from remote.
I tried for the moment to add the --retries-sleep 60s parameter. Doing so between the first and second attempt have to pass 60s and if a drive goes down, Drivepool has 60s to reorganize by itself and restore the correct view for H:\Anime.
I'm thinking to increment it to 5 minute.

This can be an approach, but I have to make a folder on the remote for every poolpart I have. this is not a great solution but thx anyway.

This is a very good tip for me. Maybe temporary I can insert a --max-delete=100. A question about it. With this flag the sync delete 100 files and then stop or if the checks found that 101 files need to be deleted, no files are deleted?

correct..

I'm here to accept other suggestions..
but first, a talk need to be made about my assumptions on the second quote about the attempts and I/O errors..
thx a lot

This isn't an assumption, it is a consequence of the information in the log. Here is a way to see it:

2021/08/21 00:48:23 rclone sync A starts with --retries=1
2021/08/21 00:48:28 rclone performs a DIR (ls -la)  of the source top folder and finds some files and a subfolder to be checked later
2021/08/21 00:48:29 a part of the DrivePool goes offline
2021/08/21 00:48:29 rclone does a DIR of the source subfolder and receives the ERROR "folder does not exist"
2021/08/21 00:49:01 ERROR : Sync A failed with errors - nothing is deleted

2021/08/21 00:49:06 rclone sync B starts with --retries=1
2021/08/21 00:49:06 rclone performs a DIR of the source top folder and finds (almost) nothing
2021/08/21 00:49:06 rclone performs a DIR on the target top folder and finds a lot of files and folders
2021/08/21 00:49:06 rclone starts deleting all the extra files and folders on the target
..some time later.. all extra files and folders on the target have been deleted (there was no errors)
..some time later.. Sync B completes without errors

Notice there are no errors in Sync B. Now suppose Sync A wasn't performed, but a part of the DrivePool happened to go offline just before a sync, then you can read the log like this:

2021/08/21 00:48:29 a part of the DrivePool goes offline

2021/08/21 00:49:06 rclone sync B starts with --retries=1
2021/08/21 00:49:06 rclone performs a DIR of the source top folder and finds (almost) nothing
2021/08/21 00:49:06 rclone performs a DIR on the target top folder and finds a lot of files and folders
2021/08/21 00:49:06 rclone starts deleting all the extra files and folders on the target
..some time later.. all extra files and folders the target have been deleted (there was no errors)
..some time later.. Sync B completes without errors

Can you see it?

Otherwise try this: (please be careful)

  1. Make a part of the DrivePool go offline until restarted
  2. Wait for it to be fully offline
  3. rclone sync ... --retries=1 --dry-run -vv

I haven't tried it, but the linked documentation says: "If that limit is exceeded then a fatal error will be generated and rclone will stop the operation in progress." I read it as: it will delete 100 files and then stop the sync with an error. I suggest you test it with your test setup to make sure it fits your purpose (and is free of bugs with your setup and flag combination)