Yes, ~/.local/share/flatpak includes all user installed flatpaks, while /var/lib/flatpak includes all system wide installed flatpaks. Both include repository information and required runtimes (i.e. dependencies).
This does not include user data, which is stored in ~/.var/app.
Make sure to test your backup just in case on another system/VM.
Yes,
~/.local/share/flatpak
includes all user installed flatpaks, while/var/lib/flatpak
includes all system wide installed flatpaks. Both include repository information and required runtimes (i.e. dependencies).This does not include user data, which is stored in
~/.var/app
.Make sure to test your backup just in case on another system/VM.