While I understand you want this solved asap, at this moment people are still unsure about your exact situation and it seems that you are already changing by installing over what you had. It will be very difficult for people to help you to recover with the minimum of impact when you already are overwriting things.
If you backed up your files, but did not store them on another drive and have already begun the reinstall process, then those files are likely lost. You could use a search engine to find linux recovery applications and try running them from a USB disk on a live distro, but that may or may not be successful depending on how for the installation process has gone.
If you backed up your /home directory on an external or secondary drive you should be OK. All you need to do is install LEAP (might as well go to 15.1) and copy your home directory back over, then reinstall whatever programs you need.
The old system had been upgraded for every release since openSUSE 11. It was time for a fresh, complete new installation. The power failure just forced the issue.
At this point, the situation is that I have Leap 42.3 installed and would like to recover my files from backup. If I can recover my settings also, it would be nice.
There is a lot of accumulated junk in the old home directory so I am not certain that a full recovery is even desirable. This failure may force me to start fresh whether I want to or not.
Your reference describes several different backup methods, and several use tar as the backup method.
Whatever backup method you used, you should likely use that to restore.
In most cases described in your reference though, the restore command is simply to uncompress your tar file to the original location… If you happened to extract to a different location, you could do a straight copy to your /home folder.
Note though…
I don’t see it explained or noted anywhere in your reference that your re-installation of openSUSE should be the same version when your backup was made, and should also be the same Destktop… Your restore of /home will contain settings specific to the originally installed Desktop, so your restore should be as much the same as before as possible.
And, I didn’t notice anywhere in your reference the importance of updating your system. You may run into inconsistencies or things that just don’t work properly. if you do then post and I (or someone else) can look up an archive of the last published 42.3 update repo if needed.
Good luck, you may want to ensure consistent power during your next upgrade try.
Thank you. Your notes address some of the questions floating around my head as I try to decide how to proceed.
When the backup was made, 42.3 was updated with all recent (thru Oct 16, 2019) updates so it is NOT the same as the version just installed. I installed from a DVD made in January 2017.
–> if I download the last version of 42.3 offered at the download site, will it be close enough to the pre-crash version to work smoothly?
There are a lot of things that are in the backup that I do NOT want restored. For example, there was a local Apache server I used to develop websites that I no longer need and the remnants of online courses that I took over the years. I had planned to clean up all this junk after the upgrade but that isn’t an option now.
–> If I install 15.1 now, can I just copy the folders I want, install the corresponding applications and expect it to work smoothly?
The critical items that need to be restored are 1) an encrypted password database; 2) Kontact emails, calendar and contacts; 3) many family photo albums that have been captioned and organized at great effort; 3) encrypted business files and correspondence and 4) Other things that will come to light as time goes on.
–> How is the best way to accomplish this?
Looks like although the 42.3 update repo hasn’t been updated since July, it’s still accessible, so if you “zypper up” your new 42.3 (optional before, but definitely after restoring your /home and before you run any applications).
2.By default, all parts of your Apache server are not installed in your /home so that should not be an issue (It would have been an issue if you had wanted that. Is why a full backup and restore of your entire system might have been more recommended rather than only backing up your /home) If you want to re-deploy in 15.1, you’ll want to re upgrade first, then when you’re running 15.1 re-install Apache, configure it and then re-deploy your websites… Depending on code may also need to be re-installed.
AFAIK all KDE personal data is stored in subdirectories of your /home folder. I don’t know off the top of my head whether you’ll be able to access encrypted data, if there is any question about applications and access, a Full System Backup is a relatively safe option, but a backup/restore of only your /home may break some things. You may have to post asking about individual issues about re-accessing specific files and using specific apps.
Report and comment: (perhaps to help others who have similar problems)
The disaster recovery was a success with the following minor exceptions:
Several applications on the old system are not in the standard openSUSE repositories. They will have to be installed separately to access their associated data files, which were copied successfully.
tsu2 posted:
*“Note though…
I don’t see it explained or noted anywhere in your reference that your re-installation of openSUSE should be the same version when your backup was made, and should also be the same Destktop…”
This is a serious limitation when the object is to upgrade the operating system, eliminating accumulated junk but keeping all files, key settings, ownership and permissions intact. The disaster recovery was successful in that I got back to where I started. The upgrade problem remains unresolved.
A backup-recovery procedure based on the “import/export” idea rather than “copy/paste” would be useful. With an import/export model, old settings and files could be moved to another computer or a newer version on the same computer. Maybe it is here and I just missed it.