![]() |
#31 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,778
Karma: 26050790
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) |
|
![]() |
![]() |
![]() |
#32 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,745
Karma: 134321338
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 05:47 AM. |
![]() |
![]() |
![]() |
#33 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,778
Karma: 26050790
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. |
![]() |
![]() |
![]() |
#34 | |
the rook, bossing Never.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,247
Karma: 89531599
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Quote:
|
|
![]() |
![]() |
![]() |
Tags |
linux, rsync |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
KOReader and rsync | dmpop | KOReader | 3 | 04-23-2022 10:37 AM |
rsync PC to Kobo | Lo2 | Kobo Developer's Corner | 3 | 03-25-2019 06:06 PM |
Rsync on Kindle Touch | leonardo84 | Kindle Developer's Corner | 11 | 10-31-2012 05:31 PM |
Request Geek Tools for moving files to/from the Library: ssh/sftp/rsync/samba | kenjennings | enTourage Archive | 6 | 04-06-2010 11:36 PM |
rsync | thetechnobear | iRex | 1 | 03-05-2008 01:57 PM |