MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    clone image raspberry

    General Discussion
    3
    8
    219
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      chassain 0 last edited by

      Hello everybody,

      i’m looking for to clone my image of raspberry pi directly on my pc without take off my card from the raspberry…
      Is it possible via my vnc or winscp application to clone ?
      thanks and be careful with virus

      S bhepler 2 Replies Last reply Reply Quote 0
      • S
        sdetweil @chassain 0 last edited by

        @chassain-0 r u trying to backup?

        Sam

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • C
          chassain 0 last edited by

          yes…if i have a pb a day. I do a backup each big changes config or css or upload

          1 Reply Last reply Reply Quote 0
          • bhepler
            bhepler Project Sponsor @chassain 0 last edited by

            @chassain-0 - Rather than clone the entire image, why not just zip up the MagicMirror folder? Or possibly just the config and modules folders. That way you’re not saving all the standard Raspbian files.

            If you ever need to restore from backup, you can just re-flash Raspbian onto the SD card, run your OS updates, run the Magic Mirror installer and then unpack your config and modules folders. Run the npm install in the particular folders and you should be good to go.

            C 1 Reply Last reply Reply Quote 0
            • C
              chassain 0 @bhepler last edited by

              @bhepler
              i do this with winscp. I need just to upgrade after a flash. you’re right but i wanted to know for my experience if there is a simple way to copy sd card to my pc, like a script

              S 1 Reply Last reply Reply Quote 0
              • S
                sdetweil @chassain 0 last edited by

                @chassain-0 you can use scp commandline to copy file(s) from there to here.

                syntax

                scp options user@ip:path_to_file(s) path_to_save_files_here

                for example

                scp -r user@ip:~/MagicMirror ~/save_folder/MagicMirror

                Sam

                Create a working config
                How to add modules

                C 1 Reply Last reply Reply Quote 0
                • C
                  chassain 0 @sdetweil last edited by

                  @sdetweil

                  i have copied MagicMirror on my pc after load the new version… if i have a pb with my sd card, i clone with an old image containing an old MagicMirror. If i change the old by the new, the version will be ok ?

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    sdetweil @chassain 0 last edited by

                    @chassain-0 yes, just erase the node_modules folders in each place, base and modules, and then redo npm installs each place…

                    Sam

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 1
                    • 1 / 1
                    • First post
                      Last post
                    Enjoying MagicMirror? Please consider a donation!
                    MagicMirror created by Michael Teeuw.
                    Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                    This forum is using NodeBB as its core | Contributors
                    Contact | Privacy Policy