"Fajar A. Nugraha" <fa...@fajar.net> writes:

> On Sat, Apr 11, 2009 at 4:41 AM, Harry Putnam <rea...@newsguy.com> wrote:
>> Thanks for the input... I guess I'll have to wait and see what is
>> resolved in the other thread about what happens when you rsync data to
>> a zfs filesystem and how that inter plays with zfs snapshots going on too.
>
> Is there anything to wait?
> Didn't that thread already mention that using rsync with --inplace and
> zfs snapshots work as expected? Or do you ave other problems?

I guess not... I'm a little slow on the uptake and easily confused.  I
guess the upshot is that if one were to daily rsync data to an zfs
filesystem, the changes wrought there by rsync would be reflected in
zfs snapshots, maybe timed to happen right after the rsync runs, as
these new blocks covering only the deltas... I don't really know what
deltas are... but I guess it would be only the changed parts.

And I'm guessing further that one would be able to recover each change
from the snapshots somehow.

In my OP, I mentioned rsync and rsnapshot backup system on linux as
being in some way comparable.  I do understand how rsnapshot works but
still not seeing exactly how the zfs snapshots work.

Maybe a concrete example would be a bit easier to understand if you
can give one.  I''m still not really understanding COW.

Say we have a files residing on a remote non zfs file system.  Each
day these file might receive a bit more data... or not.  Each day
rsync is run on this filesystem.  When nothing is added, rsync ignores
it, when something is changed rsync sends it.

On the local host a zfs filesystem is receiving these rsync runs.
After each run of rsync... a zfs snapshot is taken on the data now on
the local host.  Any change is preserved in the zfs snapshot.

These snapshots would at least vaguely resemble the backups create by
rsnapshot using rsync.  I know how to seek out a change to a specific
file in pile of rsnapshot backups... But not how to do so zfs
snapshots which in my mind are vaguely similar.

So if I wanted to find a specific change in a file... that would be
somewhere in the zfs snapthosts... say to retrieve a certain
formulation in some kind of `rc' file that worked better than a later
formulation. How would I do that?

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to