Results 1 to 10 of 10
  1. #1

    * External FTP Backup . need help PLZ

    I have an External FTP Backup (NAS) :

    IP : XXX.XXX.XXX.XXX
    username: user
    password: pass

    how can I mount it with one floder in my root
    and how can I configure it in /etc/fstab ??


    thanks

  2. #2
    up pleaze help

  3. #3
    can some one help ???

  4. #4
    Join Date
    Oct 2004
    Location
    Kerala, India
    Posts
    4,771
    If you are having nfs server configured on the remote server and you have added your server IP in the /etc/exports file there, mount from your server as follows. Suppose 111.111.111.111 is the IP of the remote backup server.

    mount -t nfs 111.111.111.111:/path/to/backup /backup
    David | www.cliffsupport.com
    Affordable Server Management Solutions sales AT cliffsupport DOT com
    CliffWebManager | Access WHM from iPhone and Android

  5. #5
    I have mounting my External FTP backups with this :
    mount -t cifs //Hostname/Username -o username=username,password=password /local/mountpoint

    But at sometime I must reboot my server and I forget to mount FTP again
    how can mount it in /etc/fstab ???

    please help

  6. #6
    Join Date
    Oct 2004
    Location
    Kerala, India
    Posts
    4,771
    Just add the command to the file /etc/rc.local. It will make sure backup is mounted once the server is rebooted.
    David | www.cliffsupport.com
    Affordable Server Management Solutions sales AT cliffsupport DOT com
    CliffWebManager | Access WHM from iPhone and Android

  7. #7
    very nica david for the amazing solution
    but what is the difference between /etc/fstab and /etc/rc.local ??
    also I have an internal HDD I have formated with EX3 and mounted with /home2

    how I can put it in /etc/fstab

  8. #8
    Join Date
    Oct 2004
    Location
    Kerala, India
    Posts
    4,771
    /etc/fstab is for mounting the drives during the booting up. In rc.local file, we can add the commands that needed to be executed when a system boots up. If we want to run script at the system startup, we can place it here.

    Add the following line to fstab file to attach the other harddirve. (assuming /dev/hda2)

    /dev/hda2 /home2 ext3 defaults,usrquota 1 2
    David | www.cliffsupport.com
    Affordable Server Management Solutions sales AT cliffsupport DOT com
    CliffWebManager | Access WHM from iPhone and Android

  9. #9
    thank you david (l)

  10. #10
    Join Date
    Oct 2004
    Location
    Kerala, India
    Posts
    4,771
    You are welcome
    David | www.cliffsupport.com
    Affordable Server Management Solutions sales AT cliffsupport DOT com
    CliffWebManager | Access WHM from iPhone and Android

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •