This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

ZFS snapshot backup recovery

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
1aigaisa
NewUser
NewUser
Posts: 4
Joined: 27 Jul 2015 11:12
Status: Offline

ZFS snapshot backup recovery

Post by 1aigaisa »

Dear all
I have a plan with a daily snapshot, and I think it's running properly:

RAID6 auto-20150721-200000 20.9M Tue Jul 21 20:00 2015 Edit snapshot Delete snapshot
RAID6 auto-20150722-200000 17.7M Wed Jul 22 20:00 2015 Edit snapshot Delete snapshot
RAID6 auto-20150723-200000 12.6M Thu Jul 23 20:00 2015 Edit snapshot Delete snapshot
RAID6 auto-20150724-200000 72K Fri Jul 24 20:00 2015 Edit snapshot Delete snapshot
RAID6 auto-20150725-200000 72K Sat Jul 25 20:00 2015 Edit snapshot Delete snapshot
RAID6 auto-20150726-200000 72K Sun Jul 26 20:00 2015 Edit snapshot Delete snapshot

But, In case of disaster how can I access to one file or recover the full snapshot?
I'm trying to find .zfs\snapshots\ but I can't see it... Is it possible to share it in SAMBA?
BR

User avatar
crowi
Forum Moderator
Forum Moderator
Posts: 1176
Joined: 21 Feb 2013 16:18
Location: Munich, Germany
Status: Offline

Re: ZFS snapshot backup recovery

Post by crowi »

http://docs.oracle.com/cd/E19253-01/819 ... index.html
I'm trying to find .zfs\snapshots\ but I can't see it... Is it possible to share it in SAMBA?
Disks|ZFS|Datasets|Dataset|Edit
Enable Snapshot Visibility
But snapshots just store the differences, it makes no sense to share them via SMB
http://docs.oracle.com/cd/E19253-01/819 ... index.html
NAS 1: Milchkuh: Asrock C2550D4I, Intel Avoton C2550 Quad-Core, 16GB DDR3 ECC, 5x3TB WD Red RaidZ1 +60 GB SSD for ZIL/L2ARC, APC-Back UPS 350 CS, NAS4Free 11.0.0.4.3460 embedded
NAS 2: Backup: HP N54L, 8 GB ECC RAM, 4x4 TB WD Red, RaidZ1, NAS4Free 11.0.0.4.3460 embedded
NAS 3: Office: HP N54L, 8 GB ECC RAM, 2x3 TB WD Red, ZFS Mirror, APC-Back UPS 350 CS NAS4Free 11.0.0.4.3460 embedded

Onichan
Advanced User
Advanced User
Posts: 238
Joined: 04 Jul 2012 21:41
Status: Offline

Re: ZFS snapshot backup recovery

Post by Onichan »

Technically snapshots store just the changes on disk, but you can browse them and it will act like the normal full files as they were at that time, allowing you to copy the files to other locations.

Snapshots on disk are stored at /mnt/<pool>/<dataset>/.zfs/snapshot/<snapshot_name>

Anyways you don't share them out like that, you just set CIFS to present them, it's the "Enable shadow copy" checkbox and "Shadow Copy format" textbox under each share. Then you can use the Previous Versions tab in windows explorer to browse and copy files from snapshots.

Post Reply

Return to “ZFS (only!)”