I am curious if I am running a certain Linux distribution with everything running fine on it (account, network, config) and I want to migrate to another system. Do I have to install everything again from scratch, or can I copy all or certain files in directories that I can paste on the new system and be up and running again in no time?
My actual situation is a Raspberry Pi with some applications running on it. Most are fine, but just one is mall-functioning.
I got the Raspberry Pi with a custom image. The creator user posts complete versions with his software installed. The package is not separate downloadable, nor does he have a repository where it can be installed / updated. The content, next to the Raspbian contains a webpage under php and a database with the electricity measures in it.
If he has an update he posts a new version of a complete Raspbian image. You should dump the the database before and import after the "update".
Now the application has broken down after a power failure and I want to have all applications up and running again.
The user has posted a new image with a new working version of Raspbian and the application. The thing is, I can use this, but then I have to set everything back up as the current version (static IP, users password change, repositories added for other applications I run on it (Unifi and PiHole) and probably more than I can think of now..
It would save me a lot of time and I think, as many of the Linux config files are in txt/cnf format I can copy them over.
Which part is true and what do others use to migrate for example from SystemA to SystemB or HardwareA to HardwareB.
Also it would be more easy for a backup not to backup the whole image, but just some / all config files I guess?
My actual situation is a Raspberry Pi with some applications running on it. Most are fine, but just one is mall-functioning.
I got the Raspberry Pi with a custom image. The creator user posts complete versions with his software installed. The package is not separate downloadable, nor does he have a repository where it can be installed / updated. The content, next to the Raspbian contains a webpage under php and a database with the electricity measures in it.
If he has an update he posts a new version of a complete Raspbian image. You should dump the the database before and import after the "update".
Now the application has broken down after a power failure and I want to have all applications up and running again.
The user has posted a new image with a new working version of Raspbian and the application. The thing is, I can use this, but then I have to set everything back up as the current version (static IP, users password change, repositories added for other applications I run on it (Unifi and PiHole) and probably more than I can think of now..
It would save me a lot of time and I think, as many of the Linux config files are in txt/cnf format I can copy them over.
Which part is true and what do others use to migrate for example from SystemA to SystemB or HardwareA to HardwareB.
Also it would be more easy for a backup not to backup the whole image, but just some / all config files I guess?