The snap app HOME
is the /home/USER/snap/chromium/494
, some applications like Chromium will store data in this directory, the directory may have many files and will be very large.
As far as I know, when refresh a revision, the content in the home directory will be copied to new home directory, such as copy from /home/USER/snap/chromium/494
to /home/USER/snap/chromium/495
, this cause some issues:
- The directory is very large, copy will waste disk space
- After using new revision for a week, I find a critical bug, then I need to revert to old revision, then the one week data will loss.
- How can the copy process safe while opening/using the home directory files.
I know the design purpose of snap app is very smart, all snap apps can upgrade and rollback safely, but the real world is complicated, do you have some ideas to overcome these issues?
In my opinion, the data backward compatibility should be handled by the application itself, not snap.
cc @oSoMoN