backup

Make comments, ask questions, or just complain about the software on this site. Or comment on any educational software.
Please note that by clicking on links that may appear in these posts that you may be leaving the Dale Harris Educational Software website and that the content of those sites is the sole resposibility of the authors of those sites.

Moderators:daleadmin, Dale Harris, Alan, Andrew

Post Reply
marine64
Forum Regular
Posts:36
Joined:Tue Oct 25, 2005 5:07 pm
Location:Mountain home AFB, ID
Contact:
backup

Post by marine64 » Tue Apr 24, 2007 11:16 pm

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%
http://www.xenocomp.com for all your tech needs.

User avatar
Andrew
Site Administrator
Posts:822
Joined:Sun Dec 28, 2003 3:40 pm
Location:New Zealand

Post by Andrew » Tue Apr 24, 2007 11:26 pm

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 :)
Image
DHPOS Veteran (from v3.46, July 2002)

marine64
Forum Regular
Posts:36
Joined:Tue Oct 25, 2005 5:07 pm
Location:Mountain home AFB, ID
Contact:

backup

Post by marine64 » Tue Apr 24, 2007 11:44 pm

yea that wouldn't be to hard to do. I could write a new section for the manual about possible backup procedures
http://www.xenocomp.com for all your tech needs.

User avatar
daleadmin
Forum Owner
Posts:1279
Joined:Tue Dec 30, 2003 9:47 pm

Backups

Post by daleadmin » Wed Apr 25, 2007 12:43 am

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

Post Reply

Who is online

Users browsing this forum: No registered users and 200 guests