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.

Recommended way of mounting backup directory

Discussion in 'Data Protection' started by Simsen, Aug 15, 2008.

  1. Simsen

    Simsen Active Member

    Joined:
    Apr 13, 2007
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    Hi all,

    could you please assist me by showing me the correct way of mounting the backup directory?

    I have done something as simple as
    Code:
    mount /misc/backup /mnt/backup
    but it returns
    Code:
    mount: you must specify the filesystem type
    
    In addition to mounting it the right way, shouldn't I edit some boot setting file so that it is mounted after server restarts? Pardon my ignorance.

    - Simsen
     
  2. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    983
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    what is /misc/backup? Is it a mounted file system? IF so, which file system?
     
  3. Simsen

    Simsen Active Member

    Joined:
    Apr 13, 2007
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    6
    Hi, thank you for your reply.

    No, it is not a mounted file system. /misc/backup is just the directory I thought I'd use for backups.

    This is from the "Configure backup" page on WHM:
    Code:
    Backup Destination (this should be a directory/NFS/Coda mount with at least twice the space of all your /home* partitions...
     
  4. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    983
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    Well, you can't mount a folder / directory - only devices and file systems, so you just need to use that folder in the backup configuration without mounting it
     
  5. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,460
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    You can use a bind mount on Linux:

    Code:
    mount -o bind /misc/backups /mnt/backup
    
     

Share This Page