Open HaleTom opened 6 years ago
It looks like /media/backup-alt/btrbk/home/home.20180213T0800
is an incomplete backup (not readonly). If it is not, this is probably a bug.
Note that "btrbk archive" is very restrictive and aborts all subsequent transfers after a send/receive error. The reason for this is when the target disk is full, we don't want to hammer on it just to find out "it's still full". There should probably be a config option to change this behavior. As a workaround, you could comment out the lines 4647 and 4648, and btrbk should go on with the rest of the backups
macro_archive_target($sroot, $droot, $snapshot_name, { results => $schedule_results });
if(ABORTED($droot)) {
# also abort $sroot
# $aborted = "At least one target aborted earlier";
# ABORTED($sroot, $aborted);
WARN "Skipping archiving of \"$sroot->{PRINT}/\": $abrt";
last;
}
PS: I'm on vacation next week, don't expect fast answers :)
Incremental archiving works fine on my part, so I can not confirm a problem in general. However, it seems that if an uncomplete snapshot is to be archived (e.g. because of another concurrently running btrbk instance), btrbk archive will fail and abort subsequent transfers.
Archive bails out when some of the backups already exist in the target location.
I want to use
archive
to copy newly created backups from my backup disk to another location. Assume I've previously runbtrbk archive
already, and then want to update the existing archive target with new backups that have been created.I see: