Page 1 of 1

backup

Posted: Tue Apr 24, 2007 11:16 pm
by marine64
I was wondering what backup solution everyone is using i am using the following batch script to just copy the data files and not the pos software its self
I would like to hear everyone's input on this

@echo off
cd c:\pos
set folder=%date:~10,4%%date:~7,2%%date:~4,2%
mkdir %folder%
copy c:\pos\*.pos c:\pos\%folder%
copy c:\pos\*.cst c:\pos\%folder%
copy c:\pos\*.dem c:\pos\%folder%
copy c:\pos\*.hr c:\pos\%folder%
copy c:\pos\*.idx c:\pos\%folder%
copy c:\pos\*.jnl c:\pos\%folder%
copy c:\pos\*.kit c:\pos\%folder%
copy c:\pos\*.pos c:\pos\%folder%
copy c:\pos\*.ps1 c:\pos\%folder%
copy c:\pos\*.tbl c:\pos\%folder%
copy c:\pos\*.tms c:\pos\%folder%
copy c:\pos\null2 c:\pos\%folder%
copy c:\pos\*.xls c:\pos\%folder%
copy c:\pos\*.log c:\pos\%folder%
copy c:\pos\*.txt c:\pos\%folder%
copy c:\pos\*.dat c:\pos\%folder%

Posted: Tue Apr 24, 2007 11:26 pm
by Andrew
Nice script - I note you would have to update it if Dale introduced any new file extensions. Perhaps you could use another "set" command to define the name of your register e.g. MARTHA, and then e.g. copy c:\pos\%regname%.* c:\pos\%folder%

That would theoretically (it's been a while since I've done batch files :p ) pick up all the data files for your register, even if Dale adds new file extensions to the mix :)

backup

Posted: Tue Apr 24, 2007 11:44 pm
by marine64
yea that wouldn't be to hard to do. I could write a new section for the manual about possible backup procedures

Backups

Posted: Wed Apr 25, 2007 12:43 am
by daleadmin
I have a RAM drive that I stick into the USB port. Then I use "My Computer" to just copy the whole POS folder (and sub-folders) to it. Then I stick it in my pocket.

If a meteor comes by and wipes out the whole front of the store all I have to do is stick the RAM drive in a new computer and I am good to go. The software files, data files, and the gift cards files will all be there.

Dale