Back up and recover your data
Set the backup passphrase, get an encrypted backup every day on the PC and in Google Drive, save a copy on a pen drive, check a file and recover unsent work.
On this page
PetroKhata makes an encrypted copy of the station PC's data every business day. This page explains how to turn backups on, where the copies go, and how to use a backup when a PC breaks. The Owner sets the passphrase. Anyone with Setup access can open the Backup screen.
Go to Setup → Backup.
What a backup is
- A backup is one file that holds all the data on this PC. Its name ends in
.pumpbak. - It is encrypted with the Owner's backup passphrase. Nobody can open it without the passphrase, including PetroKhata.
- With the passphrase, a backup opens on any PC.
- The PC keeps the last 7 backups. If Google Drive is connected, Drive keeps the last 30, in a folder called
Petrol Pump backups.
Your data also lives on the PetroKhata server once it has synced. A backup matters most for work that has not yet reached the server, and as a copy that you hold yourself.
Turn on daily backups
Only the Owner can set the passphrase.
- Go to Setup → Backup.
- Under Set the backup passphrase, type a passphrase in Passphrase. Use at least 8 characters.
- Type it again in Type it again.
- Select Set passphrase.
- Choose the Owner's name and enter the Owner's PIN.
The screen says Passphrase saved. The daily backup will use it. and then Daily backups are on.
From now on, the PC makes one backup each business day by itself. You do not need to type the passphrase again.
Keep a copy away from the PC
A backup on the same PC does not help if the PC is stolen or its disk fails. Keep copies elsewhere too.
- Google Drive. When the Owner connects Google Drive, each backup also goes to the Owner's Drive. See Google Drive and Sheets. Until then the screen says Connect Google Drive (Setup → Google Drive) to keep a copy away from this PC too.
- Pen drive. Under On this PC, each backup is listed with its size. Select Save a copy next to one and save it to a pen drive. Do this now and then.
See when the last backup was made
- The bottom bar of every screen says Backed up with the date and time, or No backup yet.
- The Backup screen says Last backup on this PC: and Last copy in Google Drive: with the date and time.
Make a backup now
The Back up now button appears after the Owner has set the passphrase.
- Go to Setup → Backup.
- Select Back up now.
The screen says Backed up on this PC and in Google Drive. or Backed up on this PC. If Google Drive could not take the copy, the backup is still saved on this PC and the screen shows why Drive failed.
Change the passphrase
- Under Change the backup passphrase, type the new passphrase twice.
- Select Change passphrase.
- Choose the Owner's name and enter the Owner's PIN.
New backups use the new passphrase. Backups made earlier still open only with the passphrase they were made with.
Check that a backup file opens
Check a backup now and then, so you know it will work when you need it. Checking changes nothing on this PC.
- Under Check a backup file, select the file in Backup file.
- Type its passphrase in Passphrase.
- Select Check.
The screen shows the station name, when the backup was made, how many shifts it holds, the date of the last one, and how many records it holds in all.
Recover unsent work from a broken PC
If a station PC breaks before it sends its work to the server, that work is in its backups. You can send it from another PC. Only the Owner can do this.
Before you start
- Set up the new PC for the same station. See First-run setup.
- Add everyone who used the old PC to the new PC. The server accepts work only from people who are allowed on the PC that sends it. See People, PINs and locking.
- Have the old PC's latest backup file (from a pen drive or Google Drive) and its passphrase.
Recover the work
- On the new PC, go to Setup → Backup.
- Under Recover unsent work from another PC, select the file in Backup file.
- Type its passphrase in Passphrase.
- Select Recover.
- Choose the Owner's name and enter the Owner's PIN.
The new PC sends whatever the old PC had not sent. Work the server already has is not entered twice. The screen says how many pieces of unsent work were sent, and how many were already there. If the server refused some, the screen says so, and the top bar shows how many entries need a look. See Work offline and sync.
A backup from another business is refused with This backup is from another organisation.
Something here does not match your screen, or a step is unclear? Tell us and we will fix the page.