0
Welcome Guest! Login
0 items Join Now

How to back up your site - worst nightmare?

    • Dave Goodwin's Avatar
    • Dave Goodwin
    • Elite Rocketeer
    • Posts: 1472
    • Thanks: 4
    • Howdy!!

    Re: How to back up your site - worst nightmare?

    Posted 17 years 10 months ago
    • Franck wrote:
      For me it's a really great component. Just need to install JCron Sheduler from JoomlaPlug too. $49.95 for 1 year and you can use it with unlimited websites! It's not free but very easy to use and I don't worry anymore. It's just my humble opinion but I really think that's a good investment.

      So, Franck, are you saying that you installed JoomlaCloner AND JoomlaPlug too? Is that two prices for two components, or part of the same package or order. Any details about that?

      Thanks, man!

      dave
    • "I'm an individual, just like everyone else."
    • Franck's Avatar
    • Franck
    • Elite Rocketeer
    • Posts: 1049
    • Thanks: 0

    Re: How to back up your site - worst nightmare?

    Posted 17 years 10 months ago
    • Dave G. wrote:
      Franck wrote:
      For me it's a really great component. Just need to install JCron Sheduler from JoomlaPlug too. $49.95 for 1 year and you can use it with unlimited websites! It's not free but very easy to use and I don't worry anymore. It's just my humble opinion but I really think that's a good investment.

      So, Franck, are you saying that you installed JoomlaCloner AND JoomlaPlug too? Is that two prices for two components, or part of the same package or order. Any details about that?

      Thanks, man!

      dave

      Yes Dave. I installed JoomlaCloner AND JCron (both of us from JoomlaPlug.com); JCron is a free component, easy to use too and essencial if you want to cron your backups ;)
    • Yves's Avatar
    • Yves
    • Preeminent Rocketeer
    • Posts: 9214
    • Thanks: 5

    Re: How to back up your site - worst nightmare?

    Posted 17 years 10 months ago
    • An open source backup solution, Joomla! Pack, is also available at the forge .
      Joomla! Pack is a PHP application that strives to be the complete solution for backing up Joomla! based sites, creating custom Joomla! installations and cloning Joomla! sites. The application creates a gzipped tar archive (.tar.gz) with your site's file and a modified version of the standard Joomla! installer. In order to restore the backed up site, all you have to dois to uncompress the archive on your server and navigate to the installation directory, in the standard Joomla! installation fashion. This means that a backup you create on one host can be restored on a different host without much more hassle than updating database preferences!
    • Yves
    • Lee's Avatar

    Re: How to back up your site - worst nightmare?

    Posted 17 years 10 months ago
    • I always pick a host that has cpanel. You can shedule daily backups very easy. My current problem is that the backup is on the same machine the site is on. They offered me some space on a remote server but as it turns out, if I ftp the backup to that sever, it eats away at my monthly bandwidth :(
    • Dave Goodwin's Avatar
    • Dave Goodwin
    • Elite Rocketeer
    • Posts: 1472
    • Thanks: 4
    • Howdy!!

    Re: How to back up your site - worst nightmare?

    Posted 17 years 10 months ago
    • My hosting Control Panel allows me to zip the entire site (with database) and then it e-mails me the zipped file. I can archive it and copy it as I please.

      dave
    • "I'm an individual, just like everyone else."
    • Ben Lee's Avatar
    • Ben Lee
    • Elite Rocketeer
    • Posts: 4193
    • Thanks: 42

    Re: How to back up your site - worst nightmare?

    Posted 16 years 1 month ago
    • Andy Miller wrote:
      This is the script exactly:
      #!/bin/sh
      HOST='YOURBACKUPSERVER'
      USER='USERNAME'
      PASSWD='PASSWORD'
      DATE=`date +%Y%m%d`
      TMP_DIR=/tmp
      IGNORE_FILE=/tmp/ignorefiles.txt
      FILE_DB=rocket_db_$DATE.sql
      FILE_WWW=rocket_www_$DATE.tar.gz
      DOMAIN=/var/www/vhosts/rockettheme.com
      DB_USER='DBUSER'
      DB_PASSWORD='DBPASSWORD'
       
      # mysql db
      echo 'dumping mysql databases....'
      mysqldump --opt -u $DB_USER -p$DB_PASSWORD --all-databases > $TMP_DIR/$FILE_DB
      cd $TMP_DIR
      tar czf $FILE_DB.tar.gz $FILE_DB
      rm $FILE_DB
       
      #file system
      echo 'dumping rocket directory...'
      cd $DOMAIN
       
      find . -type d -name 'logs'  > $IGNORE_FILE
      find . -type d -name '*cache*' >> $IGNORE_FILE
       
      tar -czf $TMP_DIR/$FILE_WWW ./* --exclude=./statistics/logs/*  --exclude=*cache/* --exclude=*tmp/*  --exclude=./download/*
       
       
      cd $TMP_DIR
      ftp -n $HOST <<END_SCRIPT
      quote USER $USER

      Thank you for posting this as I've been searching around for a while for a solution like this. One question, how would this script need to change if I wanted the DB emailed to me instead of stored on a backup server?

Time to create page: 0.062 seconds