Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > uk.comp.sys.mac > #119649

Re: df

From Jaimie Vandenbergh <jaimie@sometimes.sessile.org>
Newsgroups uk.comp.sys.mac
Subject Re: df
Date 2017-09-30 09:54 +0100
Message-ID <tplusc5jg6sbe3940511shrgo0svf7ijic@4ax.com> (permalink)
References <oqgene$1kfs$1@macpro.inf.ed.ac.uk> <oqj5c9$1hj$1@macpro.inf.ed.ac.uk> <nn6tsc9fuql7la13h27kvtvgfejhh40395@4ax.com> <flctsc9j2gncp66d5bft3i9opo25fttd7u@4ax.com> <oqmm48$1uu3$1@macpro.inf.ed.ac.uk>

Show all headers | View raw


On Fri, 29 Sep 2017 23:48:24 +0000 (UTC), richard@cogsci.ed.ac.uk
(Richard Tobin) wrote:

>In article <flctsc9j2gncp66d5bft3i9opo25fttd7u@4ax.com>,
>Jaimie Vandenbergh  <jaimie@sometimes.sessile.org> wrote:
>
>>>>Is there a way to ask what snapshots exist?
>
>>>Not one that I've found. 
>
>>Found one!
>>
>>tmutil listlocalsnapshots /
>>tmutil snapshot
>>tmutil deletesnapshot {datestring}
>>
>>and various other tmutil verbs.
>
>I'm confused now.  Are these snapshots in the APFS sense?  Time
>Machine already called local backups snapshots and had "tumtil
>snapshot".  I was expecting there to be a generic APFS snapshot
>listing program, unrelated to Time Machine.

As was I, which is why it took so long to find. 

>Is it that Time Machine local snapshots are either APFS snapshots or
>conventional backups, depending on whether the filesystem is APFS?

Yeah, seems to be. On APFS a snapshot is a snapshot, its only
interesting feature is the date it was taken. APFS snapshots are not
touted as atomic, which is interesting.

https://developer.apple.com/library/content/documentation/FileManagement/Conceptual/APFS_Guide/Features/Features.html

>I notice that the snapshot names only contain the date, not an
>indication of the backup disk they correspond to.  Presumably TM looks
>for one matching the time of the last backup present on the backup
>disk.

For write, TM appears to make a local APFS snapshot, and if the external
TM destination is available writes a normal backup same as always.

For restore, it includes APFS snapshots from the fs you're browsing and
also includes the backups from the external TM destination, sorted by
date in the usual way. 

No colour indicator on the ticks any more, but on the head of the TM
'Finder' window in the UI it erratically shows either the usual path or
a /Volumes/com.Apple.TimeMachine.localsnapshots/ path or a /Volumes/Time
Machine Backups/ path. Which is probably a bit of debugging code left
in, given how it's erratic.

I notice TM is also truckloads faster than it used to be for firing up
and browsing, which is no doubt down to those local snapshots.

>I see there are several programs in
>
>  /System/Library/Filesystems/apfs.fs/Contents/Resources/
>
>and the apfs.util program there has this option:
>
>  -R SNAPSHOT : set the volume to revert to the snapshot named by SNAPSHOT on next mount.

Yum, point-in-time consistent filesystem reversion :) 

	Cheers - Jaimie
-- 
I love children, especially when they cry, for then someone takes them away.
                                                           -- Nancy Mitford

Back to uk.comp.sys.mac | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

df richard@cogsci.ed.ac.uk (Richard Tobin) - 2017-09-27 15:05 +0000
  Re: df dempson@actrix.gen.nz (David Empson) - 2017-09-28 13:59 +1300
    Re: df nmassello@yahoo.com (Neill Massello) - 2017-09-28 04:29 -0600
      Re: df dempson@actrix.gen.nz (David Empson) - 2017-09-29 00:40 +1300
    Re: df richard@cogsci.ed.ac.uk (Richard Tobin) - 2017-09-28 10:39 +0000
      Re: df dempson@actrix.gen.nz (David Empson) - 2017-09-29 00:40 +1300
        Re: df richard@cogsci.ed.ac.uk (Richard Tobin) - 2017-09-28 15:44 +0000
          Re: df Jaimie Vandenbergh <jaimie@sometimes.sessile.org> - 2017-09-29 20:13 +0100
            Re: df Jaimie Vandenbergh <jaimie@sometimes.sessile.org> - 2017-09-29 21:54 +0100
              Re: df richard@cogsci.ed.ac.uk (Richard Tobin) - 2017-09-29 23:48 +0000
                Re: df dempson@actrix.gen.nz (David Empson) - 2017-09-30 15:23 +1300
                Re: df Theo <theom+news@chiark.greenend.org.uk> - 2017-10-02 21:01 +0100
                Re: df Jaimie Vandenbergh <jaimie@sometimes.sessile.org> - 2017-10-02 21:24 +0100
                Re: df dempson@actrix.gen.nz (David Empson) - 2017-10-03 12:07 +1300
                Re: df Jaimie Vandenbergh <jaimie@sometimes.sessile.org> - 2017-09-30 09:54 +0100
                Re: df Paul Sture <nospam@sture.ch> - 2017-09-30 22:33 +0200
                Re: df Jaimie Vandenbergh <jaimie@sometimes.sessile.org> - 2017-09-30 22:12 +0100
            Re: df Paul Sture <nospam@sture.ch> - 2017-09-30 22:24 +0200
              Re: df Jaimie Vandenbergh <jaimie@sometimes.sessile.org> - 2017-09-30 22:14 +0100
    Re: df me32@privacy.net (R) - 2017-09-30 11:32 +0100

csiph-web