how to use 2nd drive?

neorder

Verified User
Joined
Oct 1, 2003
Messages
336
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.
 
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
 
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.
 
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 ?
 
xcensus said:
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
 
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
 
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
 
Back
Top