The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Adding disk for backup, what about mount options?

Discussion in 'Data Protection' started by Wabun, May 11, 2017.

Tags:
  1. Wabun

    Wabun Well-Known Member

    Joined:
    Oct 6, 2012
    Messages:
    66
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    Antwerpen
    cPanel Access Level:
    Root Administrator
    Hi all,

    In participation of the new backup system, I am adding a disk to my VM for backups only.
    What about these mount options in /etc/fstab?

    Do I need to add noauto when using the Mount Backup Drive as Needed [Enabled] ???

    #
    # Backup drive
    #
    UUID=e3d9046b-a216-4652-a449-0b5d6d5918b3 /backup2drive ext4 defaults,noexec,nosuid,nodev,noatime 1 2

    Thanks.
     
    #1 Wabun, May 11, 2017
    Last edited: May 11, 2017
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    The following third-party URL documents what each mount option does:

    mount(8) - Linux manual page

    There's no need to add the "noauto" option to the /etc/fstab entry for this mount unless you want to prevent the system from mounting the drive at reboot time. Here's a third-party URL where this is discussed:

    What is the noauto mount flag for?

    The most common question we see about backup mount options is the use of "noexec". Here's a quote from our Backup FAQ document regarding this option:

    Thank you.
     
  3. Wabun

    Wabun Well-Known Member

    Joined:
    Oct 6, 2012
    Messages:
    66
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    Antwerpen
    cPanel Access Level:
    Root Administrator
    Thank you.
     
    cPanelMichael likes this.
Loading...

Share This Page