Skip to main content

Store backup on different directory

Comments

4 comments

  • User Avatar
    cPRex Jurassic Moderator
    Hey there! The transfer just connects as the user configured in the remote destination, so it's going to place the files in the user's home directory. I think changing the user's homedir on the remote server as you mentioned is likely the easiest solution.
    0
  • User Avatar
    samuelmf
    Thannks for reply i will to that, then!
    0
  • User Avatar
    samuelmf
    [root@core backup1]# usermod -d /backup1/vida vida [root@core backup1]# finger vida Login: vida Name: Directory: /backup1/vida Shell: /bin/bash Never logged in. No mail. No Plan. [root@core backup1]#
    0
  • User Avatar
    samuelmf
    [QUOTE]Simply open this file using a text editor, type: vi /etc/default/useradd The default home directory defined by HOME variable, find line that read as follows: HOME=/home Replace with: HOME=/iscsi/user Save and close the file. Now you can add user using regular useradd command: # useradd vivek # passwd vivek Verify user information: # finger vivek
    If i do those steps, it will affect the new cpanel accounts homedir?
    0

Please sign in to leave a comment.