backing up root directory fails

Bug #455149 reported by wch
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Back In Time
Fix Released
High
Bart de Koning

Bug Description

If you backup the root directory (/) of your machine, it doesn't do anything.

The rsync command line contains this:
--include="//**"
but it should contain this:
--include="/**"

I think this happens because for all other directories, it makes sense to put in the leading and trailing slash; but for the root dir, it doesn't. For example, this makes sense:
--include="/mydir/**"

Side note: when backing up the root directory, I have to manually exclude all sorts of system directories and mount directories: /tmp, /media, /mnt, /sys, /proc, /dev, and so on. It would be nice if they were excluded by default.

Revision history for this message
afrodoc (arsenovic) wrote :

i have a same complaint. but when i try to backup / the rsync commands does nothing because it contains
exclude = "*"
even though i have no excludes. being able to simply backup the entire filesystem would be a huge improvement, i would expect this to be the most common usage of backintime?

Revision history for this message
Martin Hoefling (martoss) wrote :

Find attached a patch for snapshots.py.

Revision history for this message
Bart de Koning (bratdaking) wrote :

Thanks for the fix! We will include it in the next release

Changed in backintime:
status: New → Confirmed
assignee: nobody → Bart de Koning (bratdaking)
Changed in backintime:
importance: Undecided → High
Changed in backintime:
status: Confirmed → Fix Committed
Revision history for this message
Ed Guenter (edgue) wrote :

It says: fix commited; but was it actually released at any point?

I am running ubuntu 10.04 and find it a bit annoying that a simple backup of "/" is still not possible?!

Dan (danleweb)
Changed in backintime:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.