Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add restore blurb #262

Closed
wants to merge 1 commit into from
Closed

Add restore blurb #262

wants to merge 1 commit into from

Conversation

cro
Copy link

@cro cro commented Feb 6, 2017

Document discussion in issue #257.

@coveralls
Copy link

coveralls commented Feb 6, 2017

Coverage Status

Coverage remained the same at 89.164% when pulling 5578586 on cro:restore_blurb into 8188a79 on oetiker:master.

- For ZVols, you will have to clone the snapshot since you cannot access a ZVol snapshot directly.

For remote file recovery:
- For ZFS filesets, while the directory structure will mirror your SRC, the directories will appear empty. In each directory targeted by a DST directive there will be a hidden directory `.zfs`. This directory typically will not show up with `ls -la`, but you can `cd` into it. Inside the `.zfs` directory will be a `snapshots` directory, and in there is a directory for each snapshot by date and time. You can restore files from there by `cp`ing or `scp`ing them, or use a zfs send/recv to recover the fileset to another host. Verify the ZFS properties after you send/recv.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if the destination fileset is mounted, the directories should not appear to be empty. did you check that?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also note, that the behaviour of .zfs depends on the snapdir property set on the fileset.

snapdir=hidden|visible
Controls whether the .zfs directory is hidden or visible in the root of
the file system as discussed in the Snapshots section. The default
value is hidden.

@stale
Copy link

stale bot commented Jun 28, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jun 28, 2021
@stale stale bot closed this Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants