1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

change location of server repository?

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by Joshua Sortino, Sep 21, 2009.

  1. Joshua Sortino

    Joshua Sortino Guest

    0
     
    I'm using the backup manager to keep copies of client's configurations and files. However, I would like these to be stored on an external hard drive. How do I change the location of the "Server Repository" so the backups will not be kept on the main drive.
     
  2. Nataliya Zagr

    Nataliya Zagr Regular Pleskian

    21
    87%
    Joined:
    Apr 14, 2009
    Messages:
    242
    Likes Received:
    0
    Hello,

    The location of root backup directory is stored in file /etc/psa/psa.conf and set by variable DUMP_D as before:

    # Backups directory
    DUMP_D /var/lib/psa/dumps

    Server backups, backups of resellers, clients, domains and daily MySQL dumps are stored in this directory.

    ~# ls -l $DUMP_D
    total 632
    -rw-r----- 1 root root 56437 Dec 1 15:06 backup_info_0812010906.xml
    -rw-r----- 1 root root 3362 Dec 1 15:06 backup_keyXXafHukD.key_0812010906.tgz
    drwxr-xr-x 4 root root 4096 Dec 1 15:06 clients
    drwxr-xr-x 6 root root 4096 Dec 1 15:06 domains
    -rw------- 1 root root 137520 Dec 1 00:04 mysql.daily.dump.0.gz
    -rw------- 1 root root 137562 Nov 30 00:04 mysql.daily.dump.1.gz
    -rw------- 1 root root 137540 Nov 29 00:04 mysql.daily.dump.2.gz
    -rw------- 1 root root 132342 Nov 26 00:04 mysql.daily.dump.3.gz
    drwxr-xr-x 3 root root 4096 Nov 28 17:06 resellers
    ~ #

    So try to change the DUMP_D parameter at /etc/psa/psa.conf.

    Please, check the following article for more information:

    http://kb.odin.com/en/5816

    Thank you
     
Loading...