Skip to content
Chase Lau edited this page Feb 18, 2020 · 1 revision

Description

Running the findoid utility with a filepath will report back all changes of a given file (or folder) over all available snapshots. This is useful in case you need to recover a file or folder but don't want to rollback an entire snapshot.

Usage

findoid <filepath>

Example

Taken from this issue

$ findoid /home/christoph/src/sanoid/sanoid
Tue Dec 31 13:11:21 2019	54.8 KB	/home/.zfs/snapshot/autosnap_2020-01-14_07:12:39_daily/christoph/src/sanoid/sanoid
Tue Jan 14 08:32:13 2020	54.6 KB	/home/.zfs/snapshot/autosnap_2020-01-16_09:03:42_daily/christoph/src/sanoid/sanoid
Fri Jan 17 10:50:28 2020	54.7 KB	/home/.zfs/snapshot/autosnap_2020-01-20_08:56:39_daily/christoph/src/sanoid/sanoid
Mon Jan 20 10:14:22 2020	54.7 KB	/home/.zfs/snapshot/autosnap_2020-01-20_23:30:48_weekly/christoph/src/sanoid/sanoid
Wed Jan 22 17:40:27 2020	55.0 KB	/home/.zfs/snapshot/autosnap_2020-01-28_08:00:26_daily/christoph/src/sanoid/sanoid
Fri Jan 31 09:15:33 2020	55.0 KB	/home/.zfs/snapshot/autosnap_2020-02-11_16:37:17_frequently/christoph/src/sanoid/sanoid
Tue Feb 11 17:45:02 2020	55.1 KB	/home/.zfs/snapshot/autosnap_2020-02-11_16:45:04_frequently/christoph/src/sanoid/sanoid
Tue Feb 11 18:00:14 2020	55.6 KB	/home/.zfs/snapshot/autosnap_2020-02-11_17:00:50_hourly/christoph/src/sanoid/sanoid
Tue Feb 11 18:13:27 2020	55.4 KB	/home/.zfs/snapshot/autosnap_2020-02-11_17:15:45_frequently/christoph/src/sanoid/sanoid
Tue Feb 11 18:20:50 2020	55.6 KB	/home/.zfs/snapshot/autosnap_2020-02-11_17:30:13_frequently/christoph/src/sanoid/sanoid
Tue Feb 11 18:34:03 2020	55.5 KB	/home/.zfs/snapshot/autosnap_2020-02-12_08:02:35_hourly/christoph/src/sanoid/sanoid
Wed Feb 12 09:52:39 2020	55.5 KB	/home/.zfs/snapshot/autosnap_2020-02-12_13:45:01_frequently/christoph/src/sanoid/sanoid
Wed Feb 12 14:59:47 2020	56.2 KB	/home/.zfs/snapshot/autosnap_2020-02-12_14:00:19_hourly/christoph/src/sanoid/sanoid
Wed Feb 12 15:01:01 2020	56.0 KB	/home/.zfs/snapshot/autosnap_2020-02-12_15:45:01_frequently/christoph/src/sanoid/sanoid
Wed Feb 12 18:15:16 2020	55.0 KB	/home/.zfs/snapshot/autosnap_2020-02-12_17:30:11_frequently/christoph/src/sanoid/sanoid
Wed Feb 12 18:33:36 2020	55.0 KB	/home/.zfs/snapshot/autosnap_2020-02-13_07:30:17_daily/christoph/src/sanoid/sanoid
Thu Feb 13 08:34:37 2020	56.7 KB	/home/.zfs/snapshot/autosnap_2020-02-13_08:00:59_hourly/christoph/src/sanoid/sanoid
Thu Feb 13 09:26:32 2020	56.7 KB	/home/.zfs/snapshot/autosnap_2020-02-13_17:00:29_hourly/christoph/src/sanoid/sanoid
Thu Feb 13 18:20:10 2020	55.0 KB	/home/.zfs/snapshot/autosnap_2020-02-14_07:59:59_daily/christoph/src/sanoid/sanoid
Thu Feb 13 18:20:10 2020	55.0 KB	/home/christoph/src/sanoid/sanoid
Clone this wiki locally