4

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?

11
  • that does sound like making a copy of it ;) Commented Oct 8, 2022 at 10:57
  • 2
    Does this answer your question? How do I replicate installed package selections from one Debian system to another? (Debian Wheezy) Commented 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) Commented 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. Commented 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 folders Commented Oct 8, 2022 at 13:47

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.