Skip to main content

Restore backup from a local drive

Comments

7 comments

  • SysSachin
    Hello, Please post the output for the df -h command.
    0
  • Don D.
    Good morning SysSachin, Thanks so much for your willingness to help me, here is what I have: [root@ns519638 /]# df -h Filesystem Size Used Avail Use% Mounted on /dev/root 48G 7.5G 38G 17% / devtmpfs 32G 0 32G 0% /dev tmpfs 32G 0 32G 0% /dev/shm tmpfs 32G 19M 32G 1% /run tmpfs 32G 0 32G 0% /sys/fs/cgroup /dev/md2 392G 72M 372G 1% /home tmpfs 6.3G 0 6.3G 0% /run/user/0 [root@ns519638 /]# When I do fdisk -l as I read online, here is what I have: [root@ns519638 /]# fdisk -l Disk /dev/sda: 480.1 GB, 480103981056 bytes, 937703088 sectors 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 label type: dos Disk identifier: 0x655cdf40 Device Boot Start End Blocks Id System /dev/sda1 * 4096 102402047 51198976 fd Linux raid autodetect /dev/sda2 102402048 936648703 417123328 fd Linux raid autodetect /dev/sda3 936648704 937695231 523264 82 Linux swap / Solaris Disk /dev/sdb: 480.1 GB, 480103981056 bytes, 937703088 sectors 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 label type: dos Disk identifier: 0x29b7c816 Device Boot Start End Blocks Id System /dev/sdb1 * 4096 102402047 51198976 fd Linux raid autodetect /dev/sdb2 102402048 936648703 417123328 fd Linux raid autodetect /dev/sdb3 936648704 937695231 523264 82 Linux swap / Solaris WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion. Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk label type: gpt # Start End Size Type Name 1 34 3907029134 1.8T Microsoft basic primary WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion. Disk /dev/sdd: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk label type: gpt # Start End Size Type Name 1 34 3907029134 1.8T Microsoft basic primary Disk /dev/md2: 427.1 GB, 427134222336 bytes, 834246528 sectors 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/md1: 52.4 GB, 52427685888 bytes, 102397824 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes [root@ns519638 /]# Those two /dev/sdb and /dev/sdc were in raid and they should have identical storage of my site Thanks so much for your help! Don
    0
  • Don D.
    I mean the two /dev/sdd and /dev/sdc in my last statement
    0
  • cPanelMichael
    ) I don't see the /backup mount on my new installed Centos 7 and WHM. I really don't want to accident do wrong mounting of those back up drives and loose all of the months of works on the data in this server.

    Hello, I recommend reaching out to your data center or the company you rent the server from to have them assist with mounting the /backup drive to the system. This isn't something you should do on your own without the help of a qualified system administrator or your data center. Thank you.
    0
  • Don D.
    Thanks Michael, I will call OVH now to have them mount those drives in our server and I will report back to you. Thanks so much for your help! Don
    0
  • Don D.
    I called them and they sent me back to Cpanel, stating it is Cpanel not recognizing the drive, not hardware....? I went ahead and submitted the support ticket with them any way and hoping they will help. In the mean time, I tested mounting the drive here and get the following error: [root@ns519638 /]# mount -t gpt /dev/sdc /mnt mount: unknown filesystem type 'gpt' For some reason gpt is not a recognized filesystem, but we were able to mount and got it to work and stored the backup before it crashed. If we somehow can mount just one of the two drives, we can atleast copy the data into /home directory to carry out the restoration... Further looking into 1 of the 2 back up drives, here is what I have, and obviously the drive did partition for just 1 partition: [root@ns519638 /]# fdisk -l /dev/sdc WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion. Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk label type: gpt # Start End Size Type Name 1 34 3907029134 1.8T Microsoft basic primary [root@ns519638 /]# parted /dev/sdc print Model: ATA HGST HUS724020AL (scsi) Disk /dev/sdc: 2000GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: Number Start End Size File system Name Flags 1 17.4kB 2000GB 2000GB primary [root@ns519638 /]#
    0
  • cPanelMichael
    Hello, Feel free to open a support ticket using the link in my signature if you'd like us to take a closer look. You can post the ticket number here and we will update this thread with the outcome. Thank you.
    0

Please sign in to leave a comment.