I have a remote google cloud instance which runs Debian GNU/Linux 11 (bullseye), and I would like to create not nessesarily a copy of it, but rather I would like to copy everything that is installed or is stored on it to my local machine. It runs the same version of the operation system and is completely stock. One of the more important aspects of this transfer for me would be Python (which was installed manually) and it's libraries. Is there a way to do this?
-
that does sound like making a copy of it ;)Marcus Müller– Marcus Müller2022-10-08 10:57:21 +00:00Commented Oct 8, 2022 at 10:57
-
2Does this answer your question? How do I replicate installed package selections from one Debian system to another? (Debian Wheezy)Marcus Müller– Marcus Müller2022-10-08 10:58:07 +00:00Commented Oct 8, 2022 at 10:58
-
(for the stored data, you will want to copy that over manually using rsync, as it's rather specific. Might mostly be your home directory, might be things like documents served from /var/www ; short of actually copying the whole machine, there's no way for debian to know what this entails and what not)Marcus Müller– Marcus Müller2022-10-08 10:59:23 +00:00Commented Oct 8, 2022 at 10:59
-
Are you only looking to restore the installed packages or also to restore all system configurations, all configs in /etc, and so on? People here often censor posts about copying/backing up whole systems (not the same as making a clone or just copying some files) for unknown reasons so this may get deleted too. Maybe you could use the tool TimeShift.mYnDstrEAm– mYnDstrEAm2022-10-08 13:04:59 +00:00Commented Oct 8, 2022 at 13:04
-
2@MarcusMüller The question by your link as far as I understood only discusses apt packages, but for me one of the important things is Python which I have installed manually, and also the packages I gave installed after that using pip. I am afraid that I don't know where are all those files located to copy the foldersuser9102437– user91024372022-10-08 13:47:32 +00:00Commented Oct 8, 2022 at 13:47
|
Show 6 more comments