Re: cross-platform backup tool Duplicate timestamp date after copying rdiff-backup repository.

Chris Wilson <[email protected]>
Newsgroups gmane.comp.sysutils.backup.rdiff-backup.general
Message-ID <CAOg7f81=qofnd-FW51q=4k=YkRNeBBttaXAzckqErYQJLeo2Tg@mail.gmail.com>
Hi Reio,

You need to delete files from the destination that have been removed from
the source, especially the current_mirror file.

Use rsync with --delete to do that.

Thanks, Chris.

On Thu, 23 Dec 2021 at 11:24, Reio Remma via Any discussion of rdiff-backup
<[email protected]> wrote:

> Hello!
>
> I'm migrating my backups from an LVM volume to ZFS dataset, however after
> rsyncing the data over, I'm getting the following error:
>
> $ rdiff-backup --verify backup-zfs/hostname
> Warning, two different times for current mirror found
> Fatal Error: Metadata file
> '/mnt/backup-zfs/hostname/rdiff-backup-data/mirror_metadata.2021-12-23T06:17:32+02:00.diff.gz'
> has a duplicate timestamp date, you might not be able to recover files on
> or earlier than this date. Check the man page on how to clean up your
> repository using the '--allow-duplicate-timestamps' option.
>
> I'm unsure what to make of it or how to avoid it.
>
> I used the following rsync command to copy the data:
>
> rsync -avhA --progress --stats backup/ backup-zfs/
>
> It seems that it breaks when I run rsync again after an initial run and
> when data has changed at the source by then.
>
> Thanks!
>
> Reio
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.