Re: Backup Objects HP 49G+



On Mar 28, 1:48 pm, "John H Meyers" <jhmey...@xxxxxxxxxxxxxx> wrote:
On Fri, 27 Mar 2009 21:54:25 -0500, PremiumBlend wrote:
I was pondering the efficiency of creating a new backup
object everytime I update that object.  No problem is
encountered when creating the object for the first time.
But, the second time of course you generate an error.

All HP48/49/50 have this safety measure,
to avoid clobbering (storing over) objects stored in ports.

Is purging the existing backup object a logical albeit
inefficient way to handle this?

In between purging an old object and storing a new one,
you are without any backup at all.

I use something like :3:B1234 ARCHIVE (with an SD card),
incrementing the number each time; an SD card can hold
a very large number of backups, so there is no concern
about available space.  Numbering makes it easy
to determine which is the latest,
or to purge the oldest, etc.

Having too many objects in the root directory of an SD card
may slow down and clutter the Filer, so one may also
move older objects to any subfolder on the card,
using the Filer, if one wants to keep them forever.

It seems to me that
doing so would accumulate a lot of garbage because
you are recalling a large amount of objects to the
stack in order to back them up over and over again.

What large number of objects?

The ARCHIVE command writes the entire HOME directory,
as a single object (of calculator type 15 -- Directory),
which can be restored using :3:B1234 RESTORE

ARCHIVE over a cable sends a "Backup" object (named "HOMEDIR"),
which contains the same directory; this object can be restored
either directly from the stack, or by first storing to a port.

Backups of libraries may of course also be stored in an SD card, from which
it is easy to restore an entire 49G+/50G calculator in just moments;
it is also easy to convey backups (and all other files)
between a computer and the calculator, on the card.

So an SD card is a highly valuable accessory for an HP49G+/50G

"Don't leave HOME without it" :)

http://en.wikipedia.org/wiki/American_Express#Advertising

[r->] [OFF]

Thanks for the response, John!

In between purging an old object and storing a new one,
you are without any backup at all.

Good point. If I was overly concerned about this I guess
I could backup the backup before purging.

I use something like :3:B1234 ARCHIVE (with an SD card)

Good idea. I guess I could set up a loop with a counter
and purge the old objects at a specific interval.

What large number of objects?

I should have written "large object." I guess the stack
uses one reference pointer per object, regardless of the
size of the object, so a 2 KB object is no more difficult
to clean up than a 20 byte object.
.



Relevant Pages

  • Re: How to backup everything on a HP50g?
    ... and then restore everything on a HP50g? ... Where should I place the backup? ... :2:BK123 ARCHIVE (into on-board flash, ... you can use the Filer to copy them all to a removable SD card, ...
    (comp.sys.hp48)
  • Re: Pls help with WinCE 5
    ... the values of in the registry would be and even what their names are is ... It is a 2gb SD card from Kingston. ... reset the backup with activesync as it shows that the backup was not made ... Later I tried to restore the backup with "Pocket ...
    (microsoft.public.windowsce.app.development)
  • Re: Why Cant You Backup Your Pocket PC 2003 Settings (Not Data) For After Hard Resets?
    ... I have had this problem in the past, I now backup my Ipaq locally to the SD ... To open the storage card lick on Open in the bottom left hand corner, ... that I now will be able to restore in exactly the same way although I have ...
    (microsoft.public.pocketpc)
  • Re: ARCHIEVE, RESTORE and flag handling
    ... it does not clear ports 1-3. ... Is the entire backup segregated into a directory ... The idea is to take a formatted SD card and make a copy ... from where it could be executed, ending with RESTORE; ...
    (comp.sys.hp48)
  • StandyBy Server
    ... I want to create a warm standby server of my production database. ... It works fine the first time though. ... complete backup and 19 additionally entries for log backup. ... my cursor and calls the restore command 20 times. ...
    (microsoft.public.sqlserver.server)