[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] remove broken from-the-future increment?
From: |
dean gaudet |
Subject: |
Re: [rdiff-backup-users] remove broken from-the-future increment? |
Date: |
Sat, 19 May 2007 12:07:20 -0700 (PDT) |
On Sat, 19 May 2007, Dan Muresan wrote:
> Hi,
>
> > wait a day and try again? ;)
>
> the broken timestamp is a few *months* off into the future, so you must mean
> "wait a couple of months and try again" in this case... Right? Which is not
> practical...
>
> > perhaps find, xargs and touch are your friends:
> >
> > touch /tmp/now
> > find /backup/location -type f -newer /tmp/now -print0 \
> > | xargs -0 touch
>
> OK, so this would reset the timestamp of "future" files to a reasonable value.
> Is this enough though? It seems timestamp is stored in some file names too:
>
> mirror_metadata.2007-09-07T07:35:06+03:00.snapshot.gz
> session_statistics.2007-09-07T07:35:06+03:00.data
>
> (today is May 2007, and these filenames refer to Sep 2007)
>
> Are you sure that touch alone will help (and not break the backup repository?)
yeah you're right, a lot more editing is required... sorry, you'll either
need to dive in and do all the editing or ditch your rdiff-backup-data
subdir and lose the history (and start the next backup with a --force so
it'll create that subdir).
-dean