cloning

    • OMV 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Hello.

      I use OMV.

      I want to use an other SD Card for OMV.
      Where is the file that save all settings (passwords, accounts ...) please ?
      How to copy it onto the new SD Card ?

      I use Windows 7, so i can't read write directy the SD Card. It is a Linux system on SD Crad due to OMV files.

      Tk's
      Rock 64 - 1 Go Ram - SD Card System on + OMV (Debian) 3.0.88 Erasmus - Linux 44.77 - 118 + Official POWER SUPPLY 3A/5V + Official ACRYLIC OPEN ENCLOSURE.
      [IMG:http://zupimages.net/up/17/46/18qm.jpg]
    • letomtom wrote:

      Where is the file that save all settings (passwords, accounts ...) please ?
      Don't worry about single files. Create an image of the complete SD with Win32DiskImager.
      Odroid HC2 - armbian - Seagate ST4000DM004 - OMV4.x
      Asrock Q1900DC-ITX - 16GB - 2x Seagate ST3000VN000 - Intenso SSD 120GB - OMV4.x
      :!: Backup - Solutions to common problems - OMV setup videos - OMV4 Documentation - user guide :!:
    • You can most likely clone the 64 GB SD card to the 16 GB SD card. The reason is that you most likely use less than 8 GB of the card. I can imagine that it might be difficult in Windows. So use Linux. You can install and run Linux from a thumbdrive. There are many rescue distros available that already have all the tools needed to clone drives and SD cards. You might have to get a SD card reader as well.

      So get a thumbdrive and install Linux to that, and clone away using Linux tools. You MUST have this capability anyway. Otherwise you wouldn't be able to backup your rootfs. And that would be silly, wouldn't it?
      OMV 4, 5 x ODROID HC2, 2 x 12TB, 2 x 8 TB, 1 x 500 GB SSD, GbE, WiFi mesh
    • What is working for me
      let's says we want to put your 64 GB on a 16 GB you need Gparted. Put iit on a thumb drive with Linux live USB creator gparted.org/liveusb.php when you are in Gparted, there you can shrink the second partition by moving the cursor on the right and move the Linux swap to the left as far as you can, click apply now.
      Optional
      I advise you to save it to a new shrank image for back-up, in in windows use win32 disk imager check mark "Read only allowed partition" to save it. so if you need it latter you got a smaller backup to rebuilt a card you can also zip that image in order to reduce the file in your computer.
      Images
      • 2018-11-29_085220.jpg

        357.79 kB, 1,123×842, viewed 15 times
    • New

      Hi Nefertiti, i tried your method using Gparted. Seems it works. But then i go back in windows to make the cloning using Win32DiskImager, as said geaves. But the Win32DiskImager does not see any files in the Drive; because it is not Windows compatible i think. How to clone on windows or Gparted fro eg ?


      Tk's
      Rock 64 - 1 Go Ram - SD Card System on + OMV (Debian) 3.0.88 Erasmus - Linux 44.77 - 118 + Official POWER SUPPLY 3A/5V + Official ACRYLIC OPEN ENCLOSURE.
      [IMG:http://zupimages.net/up/17/46/18qm.jpg]
    • New

      letomtom wrote:

      Hi Nefertiti, i tried your method using Gparted. Seems it works. But then i go back in windows to make the cloning using Win32DiskImager, as said geaves. But the Win32DiskImager does not see any files in the Drive; because it is not Windows compatible i think. How to clone on windows or Gparted fro eg ?


      Tk's
      Win32 strangely, wont show any file from an SD just pick in device your SD click on the icon folder where you want to save when it open the windows write boot.img and click open you will get something like in the pick click read only allocated partition and push read.
      Images
      • 2018-12-06_142748.jpg

        58.6 kB, 993×449, viewed 5 times
      • 2018-12-06_142524.jpg

        31.33 kB, 483×337, viewed 6 times
    • New

      Using Win32DiskImager -> Choose your backup location -> Create new text document -> Select it, right click, rename -> Give it a name with the ext .img windows will complain, ok or yes to the pop up -> File created

      Win32 -> Automatically locates USB (if there is only one!) -> Click on the folder and browse to the file you just created -> Select Read you will get a request to overwrite the current selected file, yes or ok -> The image is now written to that file name

      Win32 is "imaging" the whole of that USB regardless of any partitioning, to clone back/write image to a USB it must be the same size as the original drive.
      Raid is not a backup! Would you go skydiving without a parachute?