Comment 2 for bug 1652975

Revision history for this message
Tony George (teejee2008) wrote : Re: [Bug 1652975] Re: different dir is used for backups after docker is installed

Docker is not supported. /var/lib/docker/aufs will be excluded in next
update.

On Dec 28, 2016 11:50 PM, "Mateusz Czapliński" <email address hidden>
wrote:

Note: see for example "Path" in the output of --list (in VirtualBox):

$ sudo timeshift --list
Device : /dev/sda1
UUID : 20ca77a0-f6a7-4f4e-be8d-5228f6be34ca
Path : /var/lib/docker/aufs
Device is OK
1 snapshots, 4.9 GB free

Num Name Tags Description
------------------------------------------------------------
------------------
0 > 2016-12-28_20-21-14 O B D after mk2-docker

$ sudo ls -lFA /var/lib/docker/aufs/timeshift/snapshots
total 4
drwxr-xr-x 3 root root 4096 Dec 28 21:00 2016-12-28_20-21-14/

$ ll /timeshift/snapshots
total 24
drwxr-xr-x 6 root root 4096 Dec 28 20:15 ./
drwxr-xr-x 9 root root 4096 Dec 28 20:15 ../
drwxr-xr-x 3 root root 4096 Dec 28 20:02 2016-12-28_19-58-54/
drwxr-xr-x 3 root root 4096 Dec 28 20:11 2016-12-28_20-11-02/
drwxr-xr-x 3 root root 4096 Dec 28 20:12 2016-12-28_20-12-06/
drwxr-xr-x 3 root root 4096 Dec 28 20:15 2016-12-28_20-15-08/

--
You received this bug notification because you are subscribed to
TimeShift.
Matching subscriptions: timeshift-bugs
https://bugs.launchpad.net/bugs/1652975

Title:
  different dir is used for backups after docker is installed

Status in TimeShift:
  New

Bug description:
  After installing docker (on Ubuntu 16.04 LTS), timeshift switches to
  using directory '/var/lib/docker/aufs/timeshift/' for keeping
  snapshots, instead of normal '/timeshift/' (and doesn't see old
  snapshots anymore).

  Most probably, that's because docker registers a new mount point at
  /var/lib/docker/aufs path for the same device as / - e.g. my
  /proc/mounts (apparently loaded by Device.vala) has the following
  entries, in order as shown:

  $ cat /proc/mounts | grep vg-root
  /dev/mapper/ubuntu--vg-root / ext4 rw,relatime,errors=remount-ro,data=ordered
0 0
  /dev/mapper/ubuntu--vg-root /var/lib/docker/aufs ext4
rw,relatime,errors=remount-ro,data=ordered 0 0

  Please note I've excluded /var/lib/docker/*** in /etc/timeshift.json,
  otherwise this resulted in endless recursion, exhausting all available
  disk space on the device.

To manage notifications about this bug go to:
https://bugs.launchpad.net/timeshift/+bug/1652975/+subscriptions