On Tue 2017-08-22 (18:08), Peter Becker wrote: > This is possible. Use the -b or -B option. > > -b basedir places the snapshot in basedir with a directory structure > that mimics the mountpoint > -B basedir places the snapshots in basedir with NO additional > subdirectory structure > > 2017-08-22 16:24 GMT+02:00 Ulli Horlacher <framstag@xxxxxxxxxxxxxxxxxxxx>: > > On Tue 2017-08-22 (15:44), Peter Becker wrote: > >> Is use: https://github.com/jf647/btrfs-snap > >> > >> 2017-08-22 15:22 GMT+02:00 Ulli Horlacher <framstag@xxxxxxxxxxxxxxxxxxxx>: > >> > With Netapp/waffle you have automatic hourly/daily/weekly snapshots. > >> > You can find these snapshots in every local directory (readonly). > >> > Example: > >> > > >> > framstag@fex:/sw/share: ll .snapshot/ > >> > drwxr-xr-x framstag root - 2017-08-14 10:21:47 .snapshot/daily.2017-08-15_0010 > >> > drwxr-xr-x framstag root - 2017-08-14 10:21:47 .snapshot/daily.2017-08-16_0010 > >> > drwxr-xr-x framstag root - 2017-08-14 10:21:47 .snapshot/daily.2017-08-17_0010 > >> > drwxr-xr-x framstag root - 2017-08-14 10:21:47 .snapshot/daily.2017-08-18_0010 > >> > drwxr-xr-x framstag root - 2017-08-18 23:59:29 .snapshot/daily.2017-08-19_0010 > >> > drwxr-xr-x framstag root - 2017-08-19 21:01:25 .snapshot/daily.2017-08-20_0010 > >> > drwxr-xr-x framstag root - 2017-08-20 19:48:40 .snapshot/daily.2017-08-21_0010 > >> > drwxr-xr-x framstag root - 2017-08-20 02:50:18 .snapshot/hourly.2017-08-20_1210 > >> > drwxr-xr-x framstag root - 2017-08-20 02:50:18 .snapshot/hourly.2017-08-20_1610 > >> > drwxr-xr-x framstag root - 2017-08-20 19:48:40 .snapshot/hourly.2017-08-20_2010 > >> > drwxr-xr-x framstag root - 2017-08-21 00:42:28 .snapshot/hourly.2017-08-21_0810 > >> > drwxr-xr-x framstag root - 2017-08-21 00:42:28 .snapshot/hourly.2017-08-21_1210 > >> > drwxr-xr-x framstag root - 2017-08-21 13:05:28 .snapshot/hourly.2017-08-21_1610 > > > > btrfs-snap does not create local .snapshot/ sub-directories, but saves the > > snapshots in the toplevel root volume directory. No, I want in EVERY directory of the sourcetree a subdirectory named snapshot, example: framstag@fex:/sw/share: ll .snapshot a*/.snapshot a*/*/.snapshot drwxrwxrwx root root - 2017-08-22 16:10:01 .snapshot drwxrwxrwx root root - 2017-08-22 16:10:01 aggis-1.0/.snapshot drwxrwxrwx root root - 2017-08-22 16:10:01 aggis-1.0/bin/.snapshot drwxrwxrwx root root - 2017-08-22 16:10:01 aggis-1.0/man/.snapshot (this is on a Netapp NFS volume) btrfs-snap creates a snapshot directory tree on a different path. -- Ullrich Horlacher Server und Virtualisierung Rechenzentrum TIK Universitaet Stuttgart E-Mail: horlacher@xxxxxxxxxxxxxxxxxxxx Allmandring 30a Tel: ++49-711-68565868 70569 Stuttgart (Germany) WWW: http://www.tik.uni-stuttgart.de/ REF:<CAEtw4r1Dj4APzHuLfKR6LDNkjoDvX89mV-92Q0ntNueR+sss_Q@xxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
