Backup and Restore of Libronix

Dave Hooton
Dave Hooton Member, MVP Posts: 35,667 ✭✭✭
edited November 20 in English Forum

There have been many discussions on migrating Libronix from one computer to another and wanting to share or synchronise specific Libronix folders e.g. Notes/Annotations. There are many generic programs that can satisfy this need but I'd like to present a solution that is specific to Libronix, that uses the relevant folders to achieve a secure backup of your user files and preferences so that you don't have to start from scratch each time you move computers, and that also enables a succesful migration/transfer without inserting every Libronix CD you purchased in the past!

As a bonus, it also enables you to synchronise multiple installations of Libronix.

It works across a LAN,  but doesn't reach into the clouds!

It works on Windows XP/2000, Vista and Windows 7.

For the tech minded, it uses Robocopy which is supplied with Vista/Win7 but a copy is attached for Win XP/2k.

More details,explanations and error
messages can be found in the
enclosed Instructions and procedures.

1261.Backup_Restore_XP_Vista.zip

4010.Robocopy_XP.zip

 

Dave
===

Windows 11 & Android 13

Tagged:

Comments

  • Steven Yu
    Steven Yu Member Posts: 212 ✭✭

    Great work on the batch files :-), Maybe Logos should implement a similar backup utility like the one in iTune, backup all your libronix book to a DVD :-)

    "And you will know the truth, and the truth will set you free", John 8:32.
    "你們必定認識真理,真理必定使你們自由", 約翰福音 8:3.

  • Bohuslav Wojnar
    Bohuslav Wojnar Member Posts: 3,466

    There have been many discussions on migrating Libronix from one computer to another and wanting to share or synchronise specific Libronix folders e.g. Notes/Annotations. There are many generic programs that can satisfy this need but I'd like to present a solution that is specific to Libronix, that uses the relevant folders to achieve a secure backup of your user files and preferences so that you don't have to start from scratch each time you move computers, and that also enables a succesful migration/transfer without inserting every Libronix CD you purchased in the past!

    Dave, You would not believe how I appreciated your little program a few days ago. As I installed new Service Pack 2 to my Vista, something went wrong and I had to reinstall my whole Notebook [:(]

    It was the easiest thing of all other programs to make my Logos work as usual with your program. No complicated copying of files and not knowing if you really have everything. Just make sure you have your license backup done fresh and than it is very easy.

    Thank you so much for this great tool.

    Bohuslav

  • Jim Dean
    Jim Dean Member Posts: 312 ✭✭

    THANK YOU!

    Seems like Logos ought to snatch this up with glee ... particularly if you're offering it gratis with sourcecode.

    Does it work properly if the "My Documents" LBS folder is on a different drive / partition than the "Programs" LBS is?  Does it have the smarts to chase down alternative Resource paths, if any are input in Options?   Are there any known glitches?

    sorry I haven't read the instructions yet [:$]

    =============
    Redeeming the time (Eph.5:16+Col.4:5) ... Win 10, iOS & iPadOS 16
    Jim Dean

  • Bohuslav Wojnar
    Bohuslav Wojnar Member Posts: 3,466

    As I played with this backup tool in VISTAs today, I run into a problem I haven't had before. It showed me an error message that WIndows does not recognize those files as an executable files. I run Permission.cmd file a few times and I think I messed it up. It works now only when I turn off the UAC function in the User Accounts. When I turn it on, it does the error again. Do you have any idea how to make it work? Is there any registry entry I can work on? Or some security settings? Thanks for any piece of advice.

    Bohuslav

  • Dave Hooton
    Dave Hooton Member, MVP Posts: 35,667 ✭✭✭

    I run Permission.cmd file a few times and I think I messed it up.

    Permissions.cmd does require Admin elevation - just right click to run
    as Administrator. Once done, the restore scripts/functions will execute
    without privilege.

    Dave
    ===

    Windows 11 & Android 13

  • Dave Hooton
    Dave Hooton Member, MVP Posts: 35,667 ✭✭✭

    Does it work properly if the "My Documents" LBS folder is on a different drive / partition than the "Programs" LBS is?  Does it have the smarts to chase down alternative Resource paths, if any are input in Options?

    If My Docs is re-allocated to a non-standard location, the script will not find it. But if you define the location of User Files (normally in My Docs) using Tools > Options > Power Tools the scripts will work.

    You have to specify the Resource Path if it is in a non-standard location. I don't use the Libronix file containing your resource paths because there could be multiple paths and it is difficult to know which one is valid!

     

    Dave
    ===

    Windows 11 & Android 13

  • Bohuslav Wojnar
    Bohuslav Wojnar Member Posts: 3,466

    Permissions.cmd does require Admin elevation - just right click to run
    as Administrator. Once done, the restore scripts/functions will execute
    without privilege.

    Yes, I run it in Admin mode (by right click, finding the admin mode there). It worked before. I did something to my security system I think. That is why when I do it in UAC turned off, it works.

    Bohuslav

  • Bohuslav Wojnar
    Bohuslav Wojnar Member Posts: 3,466

    Permissions.cmd does require Admin elevation - just right click to run
    as Administrator. Once done, the restore scripts/functions will execute
    without privilege.

    Yes, I run it in Admin mode (by right click, finding the admin mode there). It worked before. I did something to my security system I think. That is why when I do it in UAC turned off, it works.

    Just for you Dave to know, it still does not work for me. It says always something like that:  (I translate it from my Czech Vista) "BackupLibronix is not name of inner or outer command, executable program or batch file."  Similar thing is written also about the BackupResources. Is it just me? Any advice? Funny thing is, it worked perfect for me, before I made a really nice comment about the tool here in this forum [:)]

     

    Bohuslav

  • Dave Hooton
    Dave Hooton Member, MVP Posts: 35,667 ✭✭✭

    Just for you Dave to know, it still does not work for me. It says always something like that:  (I translate it from my Czech Vista) "BackupLibronix is not name of inner or outer command, executable program or batch file."

    Check your shortcut (path may be incorrect) or make a new shortcut from the file in your script folder as per section 2c of the Instructions. Then tell me exactly what happens when you double-click the shortcut.

    Dave
    ===

    Windows 11 & Android 13

  • LimJK
    LimJK Member Posts: 1,068

    Dave,

    Thanks for the Utility. Question: is this version posted here the same as the last one posted in the Newsgroup? (February 2009 - I think)

     

    JK

    MacBookPro Retina 15" Late 2013 2.6GHz RAM:16GB SSD:500GB macOS Sierra 10.12.3 | iPhone 7 Plus iOS 10.2.1

  • Bohuslav Wojnar
    Bohuslav Wojnar Member Posts: 3,466

    Check your shortcut (path may be incorrect) or make a new shortcut from the file in your script folder as per section 2c of the Instructions. Then tell me exactly what happens when you double-click the shortcut.

    Thanks Dave. Yes, I created new shortcut and checked the path, all is correct to my knowledge. I switch on the Administrative mode and when I click it, it shows the following:

      image

    The Czech text says something like this: "BackupLibronix is not name of inner or outer command, executable program or batch file."

    I don't know what happend. The only thing I know is that I installed Service Pack 2 to my Vista. And, yes, I installed the version of your files from this forum, instead of those I had before. Thanks for any advice.

    Blessings

    Bohuslav

  • Dave Hooton
    Dave Hooton Member, MVP Posts: 35,667 ✭✭✭

    BackupLibronix is not name of inner or outer command, executable program or batch file.

    BackupLibronix.cmd (and the other files) has to be in the same folder as Backup-Restore.cmd

    Dave
    ===

    Windows 11 & Android 13

  • Dave Hooton
    Dave Hooton Member, MVP Posts: 35,667 ✭✭✭

    is this version posted here the same as the last one posted in the Newsgroup? (February 2009 - I think)

    It is the same as the one posted in late April 2009. The changes from the February release are:-

    - you can now perform the
    backup and restore functions with a few simple key
      clicks.
    Backup-Restore.cmd provides a single interface that will reduce the
     
    number of shortcuts you need.
    - Permissions.cmd also operates
    interactively.

    The new interface does not preclude you from using the
    individual scripts as
    before, especially as it does not use CloneSettings nor
    permit as much
    flexibility with the use of backup folders e.g. it will backup
    all your
    Libronix data and you can choose whether to include resources in the
    backup
    folder. You can add resources in a subsequent backup operation or
    choose
    only to backup/restore User data. The "limitation" is that you cannot
    backup
    & restore resources by themselves, or have only resources in the
    backup
    folder!

    Dave
    ===

    Windows 11 & Android 13

  • LimJK
    LimJK Member Posts: 1,068

    JK

    MacBookPro Retina 15" Late 2013 2.6GHz RAM:16GB SSD:500GB macOS Sierra 10.12.3 | iPhone 7 Plus iOS 10.2.1

  • Dave Hooton
    Dave Hooton Member, MVP Posts: 35,667 ✭✭✭

    BackupLibronix.cmd (and the other files) has to be in the same folder as Backup-Restore.cmd

    The other possibility is that you are running Backup-Restore.cmd with Admin privilige. Run it normally, but ensure you have run Permissions.cmd as per the Instructions.

    Dave
    ===

    Windows 11 & Android 13

  • Bohuslav Wojnar
    Bohuslav Wojnar Member Posts: 3,466

    BackupLibronix.cmd (and the other files) has to be in the same folder as Backup-Restore.cmd

    The other possibility is that you are running Backup-Restore.cmd with Admin privilige. Run it normally, but ensure you have run Permissions.cmd as per the Instructions.

    I am sorry Dave to bother you all the time with that. I did all possible. I use Premissions.cmd (it says successfully), I use Admin privilage mode, with the same negative results. ONe interesting thing is Dave, that when I use directly the tools (BackupLibronix.cmd, BackupResources.cmd and BackupSettings.cmd, it works fine. The only problem is, when I run Backup-Restore.cmd. Maybe that helps to explain the problem. (Backup-Restore.cmd works only when I switch off the User Account Control UAC function in my Vista).

     

    Bohuslav

  • Bohuslav Wojnar
    Bohuslav Wojnar Member Posts: 3,466

    BackupLibronix.cmd (and the other files) has to be in the same folder as Backup-Restore.cmd

    The other possibility is that you are running Backup-Restore.cmd with Admin privilige. Run it normally, but ensure you have run Permissions.cmd as per the Instructions.

    I am sorry Dave to bother you all the time with that. I did all possible. I use Premissions.cmd (it says successfully), I use Admin privilage mode, with the same negative results. ONe interesting thing is Dave, that when I use directly the tools (BackupLibronix.cmd, BackupResources.cmd and BackupSettings.cmd, it works fine. The only problem is, when I run Backup-Restore.cmd. Maybe that helps to explain the problem. (Backup-Restore.cmd works only when I switch off the User Account Control UAC function in my Vista).

     

    Eureka! I solved the problem. Apparently there was some kind of mistake in the User Rights to the folder on my external drive. I just deleted the folder and made a new one and all is working and fine. Should do it earlier... I am sorry. I am happy the backup is working for me again. It is great tool Dave. Thank you for it Dave.

    Bohuslav

  • Dave Hooton
    Dave Hooton Member, MVP Posts: 35,667 ✭✭✭

    Eureka! I solved the problem.

    Great - I feared having to load Vista SP2 when I'm enjoying Windows 7 so much!

    Dave
    ===

    Windows 11 & Android 13

  • Bohuslav Wojnar
    Bohuslav Wojnar Member Posts: 3,466

    Eureka! I solved the problem.

    Great - I feared having to load Vista SP2 when I'm enjoying Windows 7 so much!

    Yea, just stay with Windows7. After I installed SP2, I just looked at the security and other things and I had to do something unintentionally to cause the folder to have some mixed security setup. Yes, it is always something. The problem is to find what it is. Thanks again for your assistance.

    Bohuslav

  • Ken Shawver
    Ken Shawver Member Posts: 515 ✭✭

    Dave,

    I wanted to thank you for your efforts in creating this Backup-Restore process. I have watched it for some time and although had no need for it because I could backup to a disc without a problem. Thankfully my collection of titles has grown in the last few weeks that I can't do that any longer. I am grateful to you process as I can now run it to an 8GB flash drive and it works great!!!

    Thank you so much for your efforts.

     

    In Christ,

    Ken

    In Christ,

    Ken

    Lenovo Yoga 7 15ITL5 Touch Screen; 11th Gen Intel i7 2.8Ghz; 12Gb RAM; 500Gb SDD;WIN 11

    http://wiki.logos.com/

  • Dave Hooton
    Dave Hooton Member, MVP Posts: 35,667 ✭✭✭

    Thank you so much for your efforts.

    That's a great start to my day!

    Dave
    ===

    Windows 11 & Android 13

  • Dudley Rose
    Dudley Rose Member Posts: 278

    Dave,

    Just a quick couple of questions.  The install directions indicate the necessity of installing the program from disks because otherwise the addins won't be added or work correctly.  Does that mean that PBB addin must be re-downloaded?  On a reinstall I did manually I used the http://www.logos.com/media/update/LogosAddinsAutoUpdate.lbxupdscript, which seemed to add all missing addins.  Is that asking for trouble?

    Thanks,
    Dudley

  • Dave Hooton
    Dave Hooton Member, MVP Posts: 35,667 ✭✭✭

    The install directions indicate the necessity of installing the program from disks because otherwise the addins won't be added or work correctly.  Does that mean that PBB addin must be re-downloaded? 

    If the PBB addin is not part of a normal installation it must be installed separately e.g. I keep the msi file for SmartTags to avoid re-downloading (you can find others in the \Inbound folder). If it is not offered initially when re-installing from DVD I would try again (from DVD) after your licence has been restored.

    On a reinstall I did manually I used the http://www.logos.com/media/update/LogosAddinsAutoUpdate.lbxupdscript, which seemed to add all missing addins.  Is that asking for trouble?

    It is! Some data components are not installed from the web.

    Dave
    ===

    Windows 11 & Android 13

  • Dudley Rose
    Dudley Rose Member Posts: 278

    It is! Some data components are not installed from the web.

    Thanks, Dave.  All set now, using your scripts and the DVD.

    Dudley