View Full Version : how to use 2nd drive?
neorder
06-21-2004, 11:35 PM
i got a 2nd harddisk attached to my server, it was mounted as one partition /backup.
now if i want to run DA backup on the 2nd harddisk, how to do it? i don't see any option under admin that i can set backup my files to 2nd harddisk.
and what if i run backup remotely, and i want to use my 2nd harddisk to host websites, how to do it then?
and where is my mysql database stored in the server?
thanks.
ProWebUK
06-22-2004, 09:44 AM
you can symlink /home/reseller_username/user_backups to /backup - and then setup reseller backups from within DA - alternatively you could setup an FTP account to /backup
We use the symlink method, together with use of the "upon user creation" scripts to automate the setup ready for resellers.
Chris
neorder
06-22-2004, 08:08 PM
i'm interested in how to setup a ftp accout for 2nd harddisk. how to do it and make it secure?
and what is
"together with use of the "upon user creation" scripts "
is there any special consideration we shall notice when create resellers? is it because the default backup directory for reseller is also at 1st HDD, and that script makes a symlink for reseller/backups to 2nd HDD automatically?
thanks.
xcensus
09-07-2004, 03:19 PM
Hi,
I use CentOS which only has the LN command, how do I set this up so it redirects /home/resellerdir/user_backups to /backup/resellerdir ?
nobaloney
09-08-2004, 10:52 AM
Originally posted by xcensus
I use CentOS which only has the LN command, how do I set this up so it redirects /home/resellerdir/user_backups to /backup/resellerdir ?
I'm presuming you mean the 'ln' command (don't forget that linux is case sensitive and 'ln' and 'LN' would be two different commands).
So, using the 'ln' command:
# ln -s /backup/resellerdir /home/resellerdir/user_backups
Jeff
xcensus
09-08-2004, 11:47 AM
Ok, but wont that just show the contents of the directory? i.e. If a file is deleted either from the original location or the backup dir then both will disapear?
Should the -h command not be used instead?
Cheers
xcensus
09-08-2004, 11:57 AM
Hmm hard links dont work, how do I remove a sym link ? cheers
nobaloney
09-08-2004, 10:01 PM
presuming /path/to/file is a symlink to /path/to/realfile, then rm /path/to/file will remove only the symlink and not the file.
Jeff
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.