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

Complete back-up script

Discussion in 'Plesk for Linux - 8.x and Older' started by al0000, Sep 14, 2005.

  1. al0000

    al0000 Guest

    0
     
    Hello,

    I have a dedicated server running Plesk 7.5.3.

    I'm looking for a good backup solution for my websites/databases.

    The backup feature of Plesk is a real mess (i tried backing up, and it destroyed my hosting setup).

    I heard you can have good backups using cronjobs. I really don't know much about Linux (just enough to setup my websites).

    How can i make a cronjob script?

    I basicaly want the entire httpdocs folder, and the database, sent to a FTP server (myhost offers backup solutions using FTP).

    Is that even possible?

    Anyone could help me do that cronjob? That would be greatly appreciated.

    Thanks,
    Alex
     
  2. AFTDESIGN

    AFTDESIGN Guest

    0
     
    I need exactly the same thing.

    I have 75+ domains on my server that I need to backup.

    My server is running Fedora Core 2 with Plesk 7.5.4.

    I need to backup the OS weekly and the websites, e-mail, & databases daily.

    I only have FTP access to the backup server. Bandwidth to and from the backup server is UNLIMITED.


    If anyone could help I would really appreciate it.

    Thanks!


    Andrew
     
  3. JLChafardet

    JLChafardet Regular Pleskian

    26
    57%
    Joined:
    Feb 20, 2004
    Messages:
    379
    Likes Received:
    0
    Location:
    Caracas - Venezuela
    well psadump does really a good job if it is used correctly.

    i do daily backups onsite and weekly backups offsite, what i do is this.

    a bash shell script croned to run every day (monday-saturday) and another on sunday.

    dialy:
    backuper.sh
    #!/bin/bash
    rUTAD="/backups"
    fILE="backup_server"
    service psa stop1
    /usr/local/psa/bin/psadump -f $rUTAD/$fILE --nostop --nostop-domain --force
    /usr/local/psa/bin/psarestore -f $rUTAD/$fILE -t -m $rUTAD/$fILE.ipmap -s $rUTAD/$fILE.shellmap
    /usr/local/psa/bin/psarestore -f $rUTAD/$fILE -t -m $rUTAD/$fILE.ipmap -s $rUTAD/$fILE.shellmap
    service psa start1
    exit 0

    weekly does the same but has a ncftpput line to upload to a remote server.
     
  4. sieb@

    sieb@ Guest

    0
     
    I have a script posted in this forum you should search for.
     
Loading...