Jump to content
IndiaDivine.org

Folio Warning

Rate this topic


Guest guest

Recommended Posts

Hare Krishna.

Please accept my humble obeisances. All glories to Srila Prabhupada.

 

This is further to a warning recently posted by HG Nrsimha Kavaca Prabhu.

 

In order to avoid complete loss of your shadow files (due to data

corruption) in Folio 4.11, which may happen if you are doing a save and

windows goes down, it is advisable to implement some backup strategy.

 

My own shadow files are now getting to be 3mb+ and I recently had this occur

with my 'Supplementary Vedabase' shadow which was 1.8mb so personally I'm

learning the hard way (as usual).

 

Nrsimha Kavaca Prabhu kindly brought this to light originally but I would

like to try to improve his plan.

 

The original plan was to put line(s) in your autoexec.bat file to copy your

shadow files to a backup folder when starting the computer. The problem is

that if the machine goes down and there is nothing else to do but reboot,

the corrupted shadow file is copied over the good backup copy, thus

nullifying the backup plan.

 

Thus my idea is to create a series of multiple, numbered backup copies so

that if one backup copy is bad, you will have a (quite recent) good one to

save the day. The plan goes like this:

 

Make a backup folder:

(from windows)

c:\Bhaktivedanta Vedabase\backup

(from dos)

c:\bhakti~1\backup

 

Put a line at the bottom of your autoexec.bat that says:

 

call c:\foliobak.bat

 

Then create a batch file called 'foliobak.bat' and put the following lines

of code in it:

 

copy c:\Bhakti~1\backup\bhakti~2.bak c:\bhakti~1\backup\bhakti~3.bak /y

copy c:\Bhakti~1\backup\thehis~2.bak c:\bhakti~1\backup\thehis~3.bak /y

copy c:\Bhakti~1\backup\vedaba~2.bak c:\bhakti~1\backup\vedaba~3.bak /y

 

copy c:\Bhakti~1\backup\bhakti~1.bak c:\bhakti~1\backup\bhakti~2.bak /y

copy c:\Bhakti~1\backup\thehis~1.bak c:\bhakti~1\backup\thehis~2.bak /y

copy c:\Bhakti~1\backup\vedaba~1.bak c:\bhakti~1\backup\vedaba~2.bak /y

 

copy c:\Bhakti~1\infoba~1\bhakti~1.sdw c:\bhakti~1\backup\bhakti~1.bak /y

copy c:\Bhakti~1\infoba~1\thehis~1.sdw c:\bhakti~1\backup\thehis~1.bak /y

copy c:\Bhakti~1\infoba~1\vedaba~1.sdw c:\bhakti~1\backup\vedaba~1.bak /y

 

The '/y' switches force copying over the top of existing files without user

intervention.

 

With this in effect you will have 3 copies of each of your 3 shadow files

backed up. This way, if you ever see a dialog that says:

 

Unable to open the infobase.

An error occurred while reading 100 bytes at 0:0 in 'C:\Bhaktivedanta

Vedabase\Infobases\Vedabase.000'

The file name is too long.

 

you won't be faced with the complete loss of months of work, like I was

today.

 

Your servant,

Vraja Kumara das

Link to comment
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...