Helmut Jarausch
2023-10-12 17:00:02 UTC
Hi,
from time to time - as was the case a few days ago - Gentoo updates
lead to an unbootable system.
I backup my system each day - using BTRFS snapshots.
Now, only a few files on current system have changed; the rest of the
400 GB root partition is unchanged.
Therefore I only have to replace these newer files by the versions
saved a day before.
How can this be done efficiently? Unfortunately AFAIK rsync doesn't
have an option to copy only files which are
NEWER on the destination than the corresponding files in the backup.
Many thanks for a hint,
Helmut
from time to time - as was the case a few days ago - Gentoo updates
lead to an unbootable system.
I backup my system each day - using BTRFS snapshots.
Now, only a few files on current system have changed; the rest of the
400 GB root partition is unchanged.
Therefore I only have to replace these newer files by the versions
saved a day before.
How can this be done efficiently? Unfortunately AFAIK rsync doesn't
have an option to copy only files which are
NEWER on the destination than the corresponding files in the backup.
Many thanks for a hint,
Helmut