USB Backup

  • Anyone know how to get the USB backup working?.

    I have a NAS that I want to back up files, to my western digital portable drive.

    I had it working years ago, and I got hacked so starting over. Openmediavault is in ext4, my passport is not, not sure what it is and the passport is empty. Could this be a problem, both have to be ext4?.

    here are the drives


    root@NAS:~# sudo fdisk -l

    Disk /dev/sdc: 5.46 TiB, 6001175126016 bytes, 11721045168 sectors

    Disk model: ST6000VN0033-2EE

    Units: sectors of 1 * 512 = 512 bytes

    Sector size (logical/physical): 512 bytes / 4096 bytes

    I/O size (minimum/optimal): 4096 bytes / 4096 bytes



    Disk /dev/sdb: 5.46 TiB, 6001175126016 bytes, 11721045168 sectors

    Disk model: ST6000VN0033-2EE

    Units: sectors of 1 * 512 = 512 bytes

    Sector size (logical/physical): 512 bytes / 4096 bytes

    I/O size (minimum/optimal): 4096 bytes / 4096 bytes



    Disk /dev/sda: 238.47 GiB, 256060514304 bytes, 500118192 sectors

    Disk model: INDMEM mSATA 256

    Units: sectors of 1 * 512 = 512 bytes

    Sector size (logical/physical): 512 bytes / 512 bytes

    I/O size (minimum/optimal): 512 bytes / 512 bytes

    Disklabel type: dos

    Disk identifier: 0xeb5f3674


    Device Boot Start End Sectors Size Id Type

    /dev/sda1 * 2048 498116607 498114560 237.5G 83 Linux

    /dev/sda2 498118654 500117503 1998850 976M 5 Extended

    /dev/sda5 498118656 500117503 1998848 976M 82 Linux swap / Solaris



    Disk /dev/sde: 5.46 TiB, 6001175126016 bytes, 11721045168 sectors

    Disk model: ST6000VN0033-2EE

    Units: sectors of 1 * 512 = 512 bytes

    Sector size (logical/physical): 512 bytes / 4096 bytes

    I/O size (minimum/optimal): 4096 bytes / 4096 bytes



    Disk /dev/sdd: 5.46 TiB, 6001175126016 bytes, 11721045168 sectors

    Disk model: ST6000VN0033-2EE

    Units: sectors of 1 * 512 = 512 bytes

    Sector size (logical/physical): 512 bytes / 4096 bytes

    I/O size (minimum/optimal): 4096 bytes / 4096 bytes



    Disk /dev/md0: 10.92 TiB, 12002079539200 bytes, 23441561600 sectors

    Units: sectors of 1 * 512 = 512 bytes

    Sector size (logical/physical): 512 bytes / 4096 bytes

    I/O size (minimum/optimal): 524288 bytes / 1048576 bytes



    Disk /dev/sdf: 10.91 TiB, 12000105070592 bytes, 23437705216 sectors

    Disk model: Elements 25A3

    Units: sectors of 1 * 512 = 512 bytes

    Sector size (logical/physical): 512 bytes / 4096 bytes

    I/O size (minimum/optimal): 4096 bytes / 4096 bytes

    Disklabel type: gpt

    Disk identifier: 29CF7A4D-2ED4-4E4D-B00E-4AB8DD1ABA7B


    Device Start End Sectors Size Type

    /dev/sdf1 2048 23437703167 23437701120 10.9T Microsoft basic data

    root@NAS:~#


    I'm lost tried this


    From shared folder to external storage

    Mode

    peter [on /dev/md0, peter/]

    Shared folder *

    The shared folder to synchronise when the external storage device is connected.

    WDC WD120EDAZ-11F3RA0 [/dev/sdf, 10.91 TiB]

    Device *

    The external storage device. Please make sure that the device has only one file system.

    Relative path *

    /dev/sdf

    The relative directory path on the external storage device from/to which the content of the shared folder is to be synchronized. The directory is created if it does not exist.


    I suspect at the bottom is not correct.

    "Relative path *

    /dev/sdf"


    • Official Post

    The external storage device. Please make sure that the device has only one file system.

  • I did all that and get an error it wont deploy.

    The only part I'm not sure is the

    Relative path * I used /dev/sdf that could be wrong.

    not sure what to try.

  • root@NAS:~# lsblk

    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS

    sda 8:0 0 238.5G 0 disk

    ├─sda1

    │ 8:1 0 237.5G 0 part /

    ├─sda2

    │ 8:2 0 1K 0 part

    └─sda5

    8:5 0 976M 0 part [SWAP]

    sdb 8:16 0 5.5T 0 disk

    └─md0

    9:0 0 10.9T 0 raid10 /export/peter

    /srv/dev-disk-by-uuid-e21f8585-562f-4155-9308-6

    7a413b9dc06

    sdc 8:32 0 5.5T 0 disk

    └─md0

    9:0 0 10.9T 0 raid10 /export/peter

    /srv/dev-disk-by-uuid-e21f8585-562f-4155-9308-6

    7a413b9dc06

    sdd 8:48 0 5.5T 0 disk

    └─md0

    9:0 0 10.9T 0 raid10 /export/peter

    /srv/dev-disk-by-uuid-e21f8585-562f-4155-9308-6

    7a413b9dc06

    sde 8:64 0 5.5T 0 disk

    └─md0

    9:0 0 10.9T 0 raid10 /export/peter

    /srv/dev-disk-by-uuid-e21f8585-562f-4155-9308-6

    7a413b9dc06

    sdf 8:80 0 10.9T 0 disk

    └─sdf1

    8:81 0 10.9T 0 part

    root@NAS:~#

    • Official Post

    Would be much easier, if you would post output on the console/CLI in a code box.


    Is sdf empty? If yes, wipe the drive from the GUI of OMV and create a new ext4 filesystem.

    Please note that device names like sda, sdb etc can change between boots.

  • "wipe the drive from the GUI of OMV"

    ok this might sound stupid I never thought of that. Wouldn't wipe just wipe the drive don't I need to format it.

  • Did long stopped it and now did short


    Creating new GPT entries in memory.
    GPT data structures destroyed! You may now partition the disk using fdisk or
    other utilities.
    1+0 records in
    1+0 records out
    10485760 bytes (10 MB, 10 MiB) copied, 0.12179 s, 86.1 MB/s
    20480+0 records in
    20480+0 records out
    10485760 bytes (10 MB, 10 MiB) copied, 0.539089 s, 19.5 MB/s

    END OF LINE


    "You may now partition the disk using fdisk"


    Can you help with that?

    I have putty.

  • "You may now partition the disk using fdisk"


    Can you help with that?

    I have putty.

    Create a new filesystem on the disk in OMV. It will create the partition for you and format the drive.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.


  • Storage | File Systems


    Press + button, select type, select device from drop down list.

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.


  • Its working thanks I owe you a beer

    Plug one end of an ethernet cable into your switch. Put the other end into a beer :)

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.


  • macom

    Added the Label resolved
  • macom

    Added the Label OMV 7.x

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!