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

What backup proceedure are you using?

Discussion in 'Plesk for Linux - 8.x and Older' started by MattElmore, Aug 31, 2005.

  1. MattElmore

    MattElmore Guest

    0
     
    I am curious as to what backup solutions people are using on Plesk with freeBSD

    Deposit knowledge here :)
     
  2. Blackbit

    Blackbit Guest

    0
     
    psadump/psarestore

    On Sundays we make a full-backup like this:

    http://faq.oneandone.co.uk/server/root_server/7.html

    In addition we backup the hostings like this:

    PHP:
    LOGFILE=/home/backup/logs/domainbackup_$(date +'%Y%m%d_%H%M').log
    FILE
    =domainbackup_$(date +'%Y%m%d_%H%M').tar
    DATE
    =$(date +'%Y%m%d_%H%M')


    cd /home/httpd/vhosts/

    echo 
    "*** Creating Single-Backups ***" >> $LOGFILE

    for file in $( ls -xA1d * ); do
            if [ -
    ${file} ]
            
    then
                    du $file 
    --max-depth=>> $LOGFILE
                    
    echo "Saving " $file
                    tar 
    -czf $file.tar.gz $file >>$LOGFILE
            fi
    done

    cd 
    /var/lib/mysql

    for database in $( ls -xA1d *); do
            if [ -
    ${database} ]
            
    then
                    du $database 
    --max-depth=>> $LOGFILE
                    
    echo "Dumping databases " $database
                    mysqldump 
    -uadmin -p*** $database $database.sql
                    tar 
    -czf $database.sql.tar.gz $database.sql >>$LOGFILE
            fi
    done
    btw.: Datasheet is a script of us, wich prints out the passwords of a domain for plesk/mail/ftp, etc. If someone wants to try it out... ;)
     
  3. jamesyeeoc

    jamesyeeoc Guest

    0
     
    I favor using 4PSA's Total Backup, and where possible Acronis.
     
Loading...