What snapshot does schnapps update-factory use?

It would be nice to have a clearer understanding of what snapshot this command uses to replace the current one. Does it create a new snapshot from the current state of the system? Does it copy and replace from the last major update or the last saved snapshot? The documentation doesn’t explain what it actually does in this sense and I think it should.

I was also wondering this today. There definitely is no factory snapshot in schnapps list. But I think you can schnapps mount @factory or something like this (not at the router ATM, so can’t try).

See Updating factory image:anchor:.

Did you read that I said that its not in the documentation or read the documentation to see if its there because the answer to the question is not there?

Read more thoroughly: Rollback to factory reset:anchor:

Internally the file system rolls back to a special snapshot (the one that has been created in the factory).

I think this is what the OP was seeking:

You can achieve the same results by calling schnapps rollback factory from CLI.

No geez, schnapps update-factory updates the factory rollback to a newer image so that when you rollback to factory, it doesnt rollback to an image from years ago. It doesnt activate the factory snapshot. Im asking where schnapps update-factory gets this image from, if it takes a new snapshot to replace the factory image?

So no its not the same command

I think it’s all stated in documentary, even though at different places.

From sw repository… similarly like all sw versions and updates :wink: Command

schnapps update-factory

allows us to refresh this image to latest status, so when we in the last resort invoke rollback to factory reset it don’t return to some old version of OS. And no, IMHO, it doesn’t create any new snapshot of current OS version.

Yeh in the script Pepe shows, it seems to be coming from the repository.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.