Hi,
I've tested zfs-snapshots with samba and shadow_copy2 to access old file versions which are created with zfs-snapshots.
This work well on the host, but I don't want to use samba on the host directly.
But if I snapshot an container mount point, I can see inside the container the snapshots, but no content:
On the host I see the content:
Is there an way to access the snapshot-content inside an container?
Udo
I've tested zfs-snapshots with samba and shadow_copy2 to access old file versions which are created with zfs-snapshots.
This work well on the host, but I don't want to use samba on the host directly.
But if I snapshot an container mount point, I can see inside the container the snapshots, but no content:
Code:
ls -lsa /export/data/.zfs/snapshot/zfs-auto-snap_05-2019-02-22-1234
ls: cannot access '/export/data/.zfs/snapshot/zfs-auto-snap_05-2019-02-22-1234/.': Object is remote
ls: cannot access '/export/data/.zfs/snapshot/zfs-auto-snap_05-2019-02-22-1234/..': Object is remote
Code:
ls -lsa /rpool/data/subvol-100-disk-1/.zfs/snapshot/zfs-auto-snap_05-2019-02-22-1234/
total 2
1 drwxr-xr-x 4 xshare root 4 Feb 22 12:11 .
0 drwxrwxrwx 2 root root 2 Feb 22 13:36 ..
1 drwxrwxrwx 2 xshare root 2 Feb 22 12:11 data
1 drwxrwxrwx 4 xshare root 4 Feb 22 12:11 gamma
Udo