Tags:
create new tag
view all tags

How to retrieve your corrupted or deleted /t3home and /work files

Every user can retrieve from snapshots corrupted or deleted files from /t3home or /work . Choose a snapshot dir and copy back either to /t3home/$USER (or /work/$USER) what you need by cp command.

/t3home example:

$ cd /t3home/$USER/.snapshot
$ ls 
daily.2019-02-26_0010  daily.2019-02-27_0010  monthly.2019-02-01_0010  weekly.2019-02-24_001

/work snapshot location example

[feichtinger@t3ui01 feichtinger]$ ls -a /work/.zfs/snapshot
.                      snap-20210201-215535        snap-daily-20210310-063001
..                     snap-daily-20210306-063001  snap-daily-20210311-063001
base-copy              snap-daily-20210307-063001  snap-daily-20210312-063001
snap-2021-01-26T18:59  snap-daily-20210308-063001
snap-2021-01-29T23:41  snap-daily-20210309-063001

[feichtinger@t3ui01 feichtinger]$ cp /work/.zfs/snapshot/snap-daily-20210308-063001/feichtinger/nfstestfile /tmp

Edit | Attach | Watch | Print version | History: r18 < r17 < r16 < r15 < r14 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r18 - 2021-03-12 - DerekFeichtinger
 
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback