How are the backup .bak files formed?

Created by Bernard Czenkusz
Keywords:
backup files bak
Last updated by:
Bernard Czenkusz

Each backup file internally holds the two files:

VATStuff.vat
logo.png

These are added to a tar file, compressed using bz2, and renamed as a .bak file. The actual python code that does this is held in vs_gui/admin/backup.py

The file VATStuff.vat holds all the accounts, transactions etc, as an sqlite3 database, and logo.png (if it exists) is the company logo image imported by the user.