Results 1 to 10 of 10
-
08-29-2007, 08:19 AM #1WHT Addict
- Join Date
- Jun 2007
- Posts
- 165
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
-
08-30-2007, 07:35 AM #2WHT Addict
- Join Date
- Jun 2007
- Posts
- 165
up pleaze help
-
08-31-2007, 06:25 AM #3WHT Addict
- Join Date
- Jun 2007
- Posts
- 165
can some one help ???
-
08-31-2007, 07:11 AM #4Web Hosting Master
- 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 /backupDavid | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
CliffWebManager | Access WHM from iPhone and Android
-
09-01-2007, 02:44 AM #5WHT Addict
- Join Date
- Jun 2007
- Posts
- 165
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
-
09-01-2007, 09:21 AM #6Web Hosting Master
- 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
-
09-01-2007, 11:17 AM #7WHT Addict
- Join Date
- Jun 2007
- Posts
- 165
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
-
09-01-2007, 11:25 AM #8Web Hosting Master
- 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 2David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
CliffWebManager | Access WHM from iPhone and Android
-
09-01-2007, 11:54 AM #9WHT Addict
- Join Date
- Jun 2007
- Posts
- 165
thank you david (l)
-
09-01-2007, 11:57 AM #10Web Hosting Master
- 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