Project

General

Profile

Bug #10716

rdiff add basedir confvar

Added by friki almost 2 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
rdiff-backup handler
Target version:
-
Start date:
12/06/2015
Due date:
% Done:

0%

QA Check:
Ready for QA

Description

Hi,

First of all THANKS to all ninjas for your great job. I'm using this software
for about 10 years.

My little contribution here (after a fatal issue):

My confing looks like this:
[...]
include = /mnt/sdb/*
[...]

After a reboot /mnt/sdb was not mounted and backupninja was launched anyway,
so just silently remove all data on the backup.

It's not the first time it happened to me, so I need to fix it this time.

I've created rdiff2 script based on rdiff and added a new confvar called
"basedir". If basedir doesn't exists rdiff-backup launch a FATAL and die
(without deleting any file, of course).

Files attached (based on Debian Stable).

Regards

backupninja-rdiff2.tgz (7.7 KB) friki, 12/06/2015 05:18 AM

rdiff2.tgz - Full rdiff2 version (3 files) (8.04 KB) friki, 12/06/2015 05:31 AM

rdiff.patch View - Patch to rdiff (4 lines modified) (1.31 KB) friki, 12/06/2015 05:36 AM

History

#1 Updated by friki almost 2 years ago

Sorry the previously attached file doesn't include the changes.

This time I've included a new attachment based on git version.
As you'll see it's just a minor change.

Regards

PS: Also patch attached

Also available in: Atom PDF