I have a dataset that I use for storing my media (photos, videos, etc). I have two automatic snapshot tasks configured.
1) Snapshot that occurs daily and expires after 1 month
2) Snapshot that occurs every 4 weeks and expires after 1 year
Today, I did something funny to a couple of files and wanted to revert the changes. So I rolled back to the most recent snapshot (it was this morning). After running the operation to roll back, I am now back to a snapshot that was taken manually, and it was taken a month ago. As a result, I have lost some really important photos.
Naturally, this is the first time I've performed the operation through the FreeNAS UI, and something has gone terribly wrong.
Before performing the snapshot, I could filter my list of snapshots by typing MediaStorage into the search bar, and it gave me a filtered list of 50 or so snapshots.
I then selected the most recent snapshot from the list and selected "Rollback". After performing that operation, all of my automated snapshots have disappeared from my list and I've lost Media that was recently (in the last couple of weeks) added to the storage pool.
Then, after some short time, I see this automatic snapshot show up, which doesn't make sense. I don't know when or why it was taken:
So I have a few questions:
1) Can anyone help me understand what happened?
2) Where can I find the logs of the commands I executed? I would like to see what time the commands were run, and what the commands actually were, etc.
3) Where did the auto snapshot shown above come from? It would appear to have been taken today (March 22nd), though I'm not sure at what time. But again, I'm missing files that were added even last week. So it seems like that snapshot was automatically taken after the Rollback?
4) I'm hoping that someone can make sense of this and that I didn't actually lose all of my data. Is it possible to recover or undo any of these operations? I know, in general, you can't undo a Rollback. But maybe, just maybe, something funny has happened here and all of those snapshots weren't really removed.
Oh, one other detail that might be relevant. I expose this storage pool to an Ubuntu server over nfs, which had an active nfs mount at the time of the Rollback. Hopefully I didn't break something by doing that.
Thanks in advance for any help
1) Snapshot that occurs daily and expires after 1 month
2) Snapshot that occurs every 4 weeks and expires after 1 year
Today, I did something funny to a couple of files and wanted to revert the changes. So I rolled back to the most recent snapshot (it was this morning). After running the operation to roll back, I am now back to a snapshot that was taken manually, and it was taken a month ago. As a result, I have lost some really important photos.
Naturally, this is the first time I've performed the operation through the FreeNAS UI, and something has gone terribly wrong.
Before performing the snapshot, I could filter my list of snapshots by typing MediaStorage into the search bar, and it gave me a filtered list of 50 or so snapshots.
I then selected the most recent snapshot from the list and selected "Rollback". After performing that operation, all of my automated snapshots have disappeared from my list and I've lost Media that was recently (in the last couple of weeks) added to the storage pool.
Then, after some short time, I see this automatic snapshot show up, which doesn't make sense. I don't know when or why it was taken:
So I have a few questions:
1) Can anyone help me understand what happened?
2) Where can I find the logs of the commands I executed? I would like to see what time the commands were run, and what the commands actually were, etc.
3) Where did the auto snapshot shown above come from? It would appear to have been taken today (March 22nd), though I'm not sure at what time. But again, I'm missing files that were added even last week. So it seems like that snapshot was automatically taken after the Rollback?
4) I'm hoping that someone can make sense of this and that I didn't actually lose all of my data. Is it possible to recover or undo any of these operations? I know, in general, you can't undo a Rollback. But maybe, just maybe, something funny has happened here and all of those snapshots weren't really removed.
Oh, one other detail that might be relevant. I expose this storage pool to an Ubuntu server over nfs, which had an active nfs mount at the time of the Rollback. Hopefully I didn't break something by doing that.
Thanks in advance for any help