sessions are saved right into prefs.js.. to backup sessions, you'll need to backup the whole prefs.js file(unless with autoit script that can read the sessions strings and write them again into the current prefs.js).
it will backup the whole profile folder including prefs.js and you can restore the backup with sessions.. i'm not sure how stable/reliable it will be through sandboxie; you'll need to test it out first.