Skip to content

acclivity/Checkoutapp-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Checkoutapp-Scripts

End-user scripts for point-of-sale software Checkout.app

backup.py

This script can make a backup of a Checkout store. This script can run independently of the Checkout application, but has the following requirements:

  • a running Checkout.app (perhaps on a separate computer). There is no need to log in to a specific store.

  • Python 2.6.x and 2.7.x, in case you are running python 2.6 (default on 10.6.8) you have to install the module argparse, with the following command:

    sudo easy_install -U argparse

  • postgresql 8.3, included in Checkout.app or installed manually.

The output file is .checkoutbackup file that is compressed with gzip and can be used in the "Manage Checkout Store..." interface to restore your store.

Preparation steps:

  • Open Terminal.app.

  • If Checkout.app is not installed in /Applications/, the postgresql 8.3 "bin" directory must be in the PATH environment variable:

    export PATH=/Applications/Checkout.app/Contents/Resources/postgres83/bin:$PATH

Now your are ready to run the backup script:

python scripts/backup.py "My Store name" ~/testbackup.checkoutbackup

If you wish to automate the backup, running it once-a-day for example, you can use cron, or use the GUI application Cronnix to set it up.

About

End User scripts for the software Checkout.app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages