05-07-2024, 01:44 PM | #31 | |
Wizard
Posts: 1,811
Karma: 27050516
Join Date: Sep 2017
Device: PW3, Fire HD8 Gen7, Moto G7, Sansa Clip v2, Ruizu X26
|
Quote:
You definitely want to turn off --ignore-existing. Permanently. That kills the majority of the purpose for the backup in this case where things are changing (e.g., metadata.db) |
|
05-08-2024, 02:57 PM | #32 |
Resident Curmudgeon
Posts: 76,945
Karma: 138256890
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
yes you do want to turn off --ignore-existing. You want to let rsync add or remove content as needed. based on the fast that the file have a different date and/or file size.
Last edited by JSWolf; 05-09-2024 at 06:47 AM. |
05-08-2024, 09:20 PM | #33 |
Wizard
Posts: 1,811
Karma: 27050516
Join Date: Sep 2017
Device: PW3, Fire HD8 Gen7, Moto G7, Sansa Clip v2, Ruizu X26
|
--ignore-existing will cause rsync to NOT copy a modified file over an earlier version of itself that is already on the backup side. This behavior would be a disaster when copying Calibre via rsync, as the metadata files can change frequently. You would want the newest one, not the oldest.
It is rare that you want this "prefer older version over newer version" behavior. The usual reason is when you want to keep a historical chain of all versions of the file. This is typical for sophisticated backup systems that use advanced rsync capabilities like linking. But it is not that common for simple rsync invocations for non-experts. |
05-09-2024, 08:24 AM | #34 | |
Reading till the spring
Posts: 12,518
Karma: 94058919
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Quote:
|
|
Tags |
linux, rsync |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
KOReader and rsync | dmpop | KOReader | 3 | 04-23-2022 11:37 AM |
rsync PC to Kobo | Lo2 | Kobo Developer's Corner | 3 | 03-25-2019 07:06 PM |
Rsync on Kindle Touch | leonardo84 | Kindle Developer's Corner | 11 | 10-31-2012 06:31 PM |
Request Geek Tools for moving files to/from the Library: ssh/sftp/rsync/samba | kenjennings | enTourage Archive | 6 | 04-07-2010 12:36 AM |
rsync | thetechnobear | iRex | 1 | 03-05-2008 02:57 PM |