|
From: | Josh Nisly |
Subject: | [rdiff-backup-users] Resuming failed backups |
Date: | Tue, 10 Mar 2009 11:22:19 -0500 |
User-agent: | Thunderbird 2.0.0.19 (X11/20090105) |
I believe strongly in rdiff-backup's idea of consistent "snapshots"; I don't think that it should tie off a partial backup. Instead, I think it should simply keep the uploaded files outside of the backup set and use them in the next backup.
Here is what I propose: when regressing a repository prior to a backup, rdiff-backup takes all "new" files (files that have been added during the failed backup) and moves them to a temporary location inside of the rdiff-backup-data folder. Then, when the backup runs, if it encounters a new file, it first checks to see if the file exists in this temporary location, and if it does, it diffs against that file (or moves it to the target location, then diffs; I don't know which would be easier). At the end of any backup run, rdiff-backup empties out this folder.
Thoughts/reactions? Thanks, JoshN
[Prev in Thread] | Current Thread | [Next in Thread] |