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

Why always /var/lib/psa/dumps ?

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by agarzon, Jul 29, 2009.

  1. agarzon

    agarzon New Pleskian

    24
    90%
    Joined:
    Jan 21, 2009
    Messages:
    16
    Likes Received:
    0
    Location:
    Canada
    A have a simple question:

    I run command:
    /usr/local/psa/bin/pleskbackup server --output-file=/backups/todat.tar.gz (and run excellent).

    But, WHY ALWAYS make a copy in /var/lib/psa/dumps ?

    Is any way to prevent unwanted backups while I have not authorized?
     
  2. agarzon

    agarzon New Pleskian

    24
    90%
    Joined:
    Jan 21, 2009
    Messages:
    16
    Likes Received:
    0
    Location:
    Canada
    Somebody can help here?
     
  3. Pie'oh'pah

    Pie'oh'pah Basic Pleskian

    23
    23%
    Joined:
    Apr 5, 2007
    Messages:
    27
    Likes Received:
    0
    I have the same problem.

    It spams over /dev/md6 witch is only 4.7GB in size and already needed to manually delete those files.

    Deaktivated Backups until Parallels fixes this.

    Regards
    - Alex
     
  4. Burnout

    Burnout New Pleskian

    22
    57%
    Joined:
    Nov 23, 2008
    Messages:
    18
    Likes Received:
    0
    Hello,

    I've got the same problem. Partitions are getting filled up. It seems to be impossible to set a temporary folder in pleskbackup. Maybe you can make a symlink of that folder to to another partition/folder?

    Is there a solution in pleskbackup?


    Kind regards,

    Burn
     
  5. Pie'oh'pah

    Pie'oh'pah Basic Pleskian

    23
    23%
    Joined:
    Apr 5, 2007
    Messages:
    27
    Likes Received:
    0
    Don't bother waiting for an official reply. Not coming....

    But here is what I what I did:

    Remove some Apps from the Application Vault, this will clean up /dev/md5.

    Hope that helps :)

    regards
    - Alex
     
  6. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    By default, pleskbackup stores backups in Plesk backup repository located on the Plesk server (/var/lib/psa/dumps/ folder in Plesk for Linux/Unix and %plesk_dir%\Backup\ in Plesk for Windows).
    Plesk is capable of exporting the created backup as a single file (.tar on Unix and .zip on Windows) in one of the following ways:

    * to stdout
    * to local file system
    * to FTP server

    For export backup as a single file you should use the --output-file option. After a backup is exported, pleskbackup removes it from the Plesk backup repository.
    Path to Plesk backup repository can be changed here:

    Or use this workaround.
     
    Last edited: Dec 3, 2009
  7. Burnout

    Burnout New Pleskian

    22
    57%
    Joined:
    Nov 23, 2008
    Messages:
    18
    Likes Received:
    0
    Indeed, this is a solution for me.

    Thx.
     
  8. Superkikim

    Superkikim Regular Pleskian

    25
    57%
    Joined:
    Mar 10, 2008
    Messages:
    135
    Likes Received:
    0
    I added a spare disk for temporary backup files, and I mounted it at /var/lib/psa/dumps

    Plesk backup is working like this:

    backup to local repository: Makes a complete copy of the domain and its databases to /var/lib/psa/dumps/.........

    Backup to ftp repository: Makes a complete copy of the domain and its databases to /var/lib/psa/dumps/...... and then makes a tar.gz of it, and send it to the FTP of your choice. If the FTP transfer is successful, the local copy is deleted. Otherwise, the local copy is kept, and so is the tar.gz file.

    I strongly recommend not zipping (makes a tar instead of a tar.gz) because zipping takes a hell out of the resources...

    I also strongly recommend making your own script with pleskbackup CLI and using the switches you want. It is a lot more flexible and allow a better control of what you're doing.

    I made my own script. It makes a reseller config backup for each reseller, and then a domain backup for each domain. I send each backup to its specific date named file, and then I send files with ncftp to a server, allowing me to get a verbose log of what is happening if the FTP tranfer fail.
     
Loading...