[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] Daylight Saving Time problem?
From: |
Randall Nortman |
Subject: |
Re: [rdiff-backup-users] Daylight Saving Time problem? |
Date: |
Mon, 4 Apr 2005 09:19:49 -0400 |
User-agent: |
Mutt/1.3.28i |
On Sun, Apr 03, 2005 at 09:33:46PM -0700, Ben Escoto wrote:
> >>>>> Randall Nortman <address@hidden>
> >>>>> wrote the following on Sun, 3 Apr 2005 08:44:33 -0400
>
> > I woke up this morning to nasty errors from my rdiff-backup cron
> > job, which I assume are most likely caused by the DST switch.
> > First, I got "AssertionError: Time 1112514303 is out of bounds", and
> > the backup failed. Now, when I try to regress the archive, I get
> > "AssertionError: Too many recent increments".
>
> Hmm, the first error happens when rdiff-backup thinks the previous
> backup occurred after the current one (time-travel!). Is it possible
> that your timezone information is bugged in some way? I don't see why
> you would get this error, especially since clocks get ahead, not
> behind.
>
> Also rdiff-backup checks the time and time once at the beginning of
> the backup, so in theory the timezone changing during the backup
> shouldn't matter.
>
> > AssertionError: Too many recent increments
> >
> > So... how do I fix this?
>
> Since the failed backup never really got started, it should be ok to
> delete the rdiff-backup-data/current-mirror.xxxx file corresponding to
> the failed backup. My guess is you need to delete the earlier one but
> if you posted the relevant files it would be easier to tell.
Not knowing exactly what the relevant files are, I'm offering a
directory listing of the rdiff-backup-data and
rdiff-backup-data/increments directories. Both of these directories
are very large, so I'm sorting by time and including the head and the
tail. I'm including the tail because I noticed a lot of files dated
well in the past but with names indicating that they are recent --
what is the deal with these? Some are Aug 9, 2004, and some are Aug
16, 2003. I only maintain at most 30 days of increments in this
archive, so there should be nothing from these dates. Are these magic
dates, with special meaning for rdiff-backup?
Note that this particular backup is scheduled to run every 15
minutes. It seems to jump from 01:45 to 03:00, as expected.
First rdiff-backup-data:
total 527627
drwx------ 3 rbackup users 727968 Apr 3 03:15 .
-rw------- 1 rbackup users 0 Apr 3 03:00
current_mirror.2005-04-03T03:00:04-04:00.data
-rw------- 1 rbackup users 108 Apr 3 03:00
error_log.2005-04-03T03:00:04-04:00.data.gz
drwx------ 4 rbackup users 242184 Apr 3 01:45 increments
-rw------- 1 rbackup users 0 Apr 3 01:45
current_mirror.2005-04-03T01:45:03-05:00.data
-rw------- 1 rbackup users 116 Apr 3 01:30
error_log.2005-04-03T01:30:08-05:00.data.gz
-rw------- 1 rbackup users 109827 Apr 3 01:30
file_statistics.2005-04-03T01:30:08-05:00.data.gz
-rw------- 1 rbackup users 134451 Apr 3 01:30
mirror_metadata.2005-04-03T01:30:08-05:00.snapshot.gz
-rw------- 1 rbackup users 507 Apr 3 01:30
session_statistics.2005-04-03T01:30:08-05:00.data
...
-rwxr-xr-x 1 rbackup users 0 Aug 9 2004
increments.2005-04-02T23:15:03-05:00.dir
-rwxr-xr-x 1 rbackup users 0 Aug 9 2004
increments.2005-04-02T23:30:04-05:00.dir
-rwxr-xr-x 1 rbackup users 0 Aug 9 2004
increments.2005-04-02T23:45:03-05:00.dir
-rwxr-xr-x 1 rbackup users 0 Aug 9 2004
increments.2005-04-03T00:00:04-05:00.dir
-rwxr-xr-x 1 rbackup users 0 Aug 9 2004
increments.2005-04-03T00:15:03-05:00.dir
-rwxr-xr-x 1 rbackup users 0 Aug 9 2004
increments.2005-04-03T00:30:04-05:00.dir
-rwxr-xr-x 1 rbackup users 0 Aug 9 2004
increments.2005-04-03T00:45:03-05:00.dir
-rwxr-xr-x 1 rbackup users 0 Aug 9 2004
increments.2005-04-03T01:00:08-05:00.dir
-rwxr-xr-x 1 rbackup users 0 Aug 9 2004
increments.2005-04-03T01:15:04-05:00.dir
-rwxr-xr-x 1 rbackup users 0 Aug 9 2004
increments.2005-04-03T01:30:08-05:00.dir
Now increments:
total 1509
drwx------ 3 rbackup users 727968 Apr 3 03:15 ..
drwx------ 4 rbackup users 242184 Apr 3 01:45 .
drwx------ 4 rbackup users 224544 Apr 3 01:45 var
drwx------ 7 rbackup users 351232 Apr 3 01:45 home
-rwxrwsr-x 1 rbackup users 0 Aug 6 2004
home.2005-03-10T12:45:04-05:00.dir
-rwxrwsr-x 1 rbackup users 0 Aug 6 2004
home.2005-03-10T13:00:05-05:00.dir
-rwxrwsr-x 1 rbackup users 0 Aug 6 2004
home.2005-03-10T13:15:03-05:00.dir
-rwxrwsr-x 1 rbackup users 0 Aug 6 2004
home.2005-03-10T13:30:03-05:00.dir
-rwxrwsr-x 1 rbackup users 0 Aug 6 2004
home.2005-03-10T13:45:03-05:00.dir
...
-rwxr-xr-x 1 rbackup users 0 Aug 16 2003
var.2005-04-02T23:15:03-05:00.dir
-rwxr-xr-x 1 rbackup users 0 Aug 16 2003
var.2005-04-02T23:30:04-05:00.dir
-rwxr-xr-x 1 rbackup users 0 Aug 16 2003
var.2005-04-02T23:45:03-05:00.dir
-rwxr-xr-x 1 rbackup users 0 Aug 16 2003
var.2005-04-03T00:00:04-05:00.dir
-rwxr-xr-x 1 rbackup users 0 Aug 16 2003
var.2005-04-03T00:15:03-05:00.dir
-rwxr-xr-x 1 rbackup users 0 Aug 16 2003
var.2005-04-03T00:30:04-05:00.dir
-rwxr-xr-x 1 rbackup users 0 Aug 16 2003
var.2005-04-03T00:45:03-05:00.dir
-rwxr-xr-x 1 rbackup users 0 Aug 16 2003
var.2005-04-03T01:00:08-05:00.dir
-rwxr-xr-x 1 rbackup users 0 Aug 16 2003
var.2005-04-03T01:15:04-05:00.dir
-rwxr-xr-x 1 rbackup users 0 Aug 16 2003
var.2005-04-03T01:30:08-05:00.dir
I can post the content of any of these files if that's helpful; just
let me know which ones you'd need to see.
Thanks!
Randall
- [rdiff-backup-users] Daylight Saving Time problem?, Randall Nortman, 2005/04/03
- Re: [rdiff-backup-users] Daylight Saving Time problem?, Keith Edmunds, 2005/04/03
- Re: [rdiff-backup-users] Daylight Saving Time problem?, Ben Escoto, 2005/04/04
- Re: [rdiff-backup-users] Daylight Saving Time problem?,
Randall Nortman <=
- Re: [rdiff-backup-users] Daylight Saving Time problem?, Ben Escoto, 2005/04/04
- Re: [rdiff-backup-users] Daylight Saving Time problem?, Randall Nortman, 2005/04/04
- Re: [rdiff-backup-users] Daylight Saving Time problem?, Ben Escoto, 2005/04/06
- Re: [rdiff-backup-users] Daylight Saving Time problem?, Randall Nortman, 2005/04/06
- Re: [rdiff-backup-users] Daylight Saving Time problem?, Ben Escoto, 2005/04/07
- Re: [rdiff-backup-users] Daylight Saving Time problem?, Randall Nortman, 2005/04/07
- Re: [rdiff-backup-users] Daylight Saving Time problem?, Ben Escoto, 2005/04/07
Re: [rdiff-backup-users] Daylight Saving Time problem?, David Kempe, 2005/04/04