Do not remember me!
/ / / Backup my website and Move to other Host

Backup my website and Move to other Host

Hello, i need help, i have DLE 10.5 and need make backup of posts,users,content of my website.. but how i can make that? and move my DLE to another host.. but i don't have to much experience, i not have experience..

Can you help me, with make a backup and move to other VPS?
Currently i have Ubuntu 14.04 on my VPS.

Thank you

Added by: in Others on


Tags: host, backup

0

Comments 7

  1. dlefaq
    0
    dlefaq Currently Offline → 20 August 2015 21:09

    1) backup files and database to your local computer
    2) upload files from local computer to new server
    3) create new database for your new host on new server
    4) import database from #1 to newly created database
    5) edit /engine/data/dbconfig.php for new database details
    7) Set CHMOD for all folders and files based on the installation instruction on http://www.dleguide.com/dle-info/6-installation.html in step #2 (plus all files within those folders to "666" except .htaccess to "444")
    8) Clear Smartcache in Admin CP

    it doesn't matter which server software or OD you are using, just make sure your server have met script requirements http://www.dleguide.com/dle-info/5-system-requirements.html
     2 |  102
    1. hanzor
      0
      hanzor Currently Offline → 22 August 2015 05:42

      Hello.. Ok, now appear this error

      http://i.imgur.com/LbYmseo.jpg

      I have configured the dbconfig.php with new database.. or i need put old database names? i can't put new databases names?

      Thank you for help
       8 |  3
    2. Jack
      0
      Jack Currently Offline → 29 January 2016 08:53


      1) backup files and database to your local computer
      2) upload files from local computer to new server
      3) create new database for your new host on new server
      4) import database from #1 to newly created database
      5) edit /engine/data/dbconfig.php for new database details
      7) Set CHMOD for all folders and files based on the installation instruction on http://www.dleguide.com/dle-info/6-installation.html in step #2 (plus all files within those folders to "666" except .htaccess to "444")
      8) Clear Smartcache in Admin CP


      Please help, i follow all steps, but receive strange error:

      Fatal error: Call to undefined function PHPdefine() in /home/accounts/myaccount/public_html/engine/data/dbconfig.php on line 1

      line 1 is "<?PHP" is correct, why get error?

      my dbconfig.php:
      
      <?PHP
      define ("DBHOST", "localhost");
      define ("DBNAME", "databasenew_dbname");
      define ("DBUSER", "databasenew_dbuser");
      define ("DBPASS", "database_new_password");
      define ("PREFIX", "dle104");
      define ("USERPREFIX", "dle104");
      define ("COLLATE", "utf8");
      define('SECURE_AUTH_KEY', 'abcdefghi..................................`g');
      $db = new db;
      ?>
      
       2 |  1
  2. hanzor
    0
    hanzor Currently Offline → 22 August 2015 15:17

    Quote: hanzor
    Hello.. Ok, now appear this error

    http://i.imgur.com/LbYmseo.jpg

    I have configured the dbconfig.php with new database.. or i need put old database names? i can't put new databases names?

    Thank you for help


    Sorry, i update: in line 44 the code is this
    http://i.imgur.com/VxazdSM.jpg
    How i can fix that?

    Thank you
     8 |  3
  3. dlefaq
    0
    dlefaq Currently Offline → 22 August 2015 22:59

    do not touch cron.php, just fix your database, the error is from database where the function can't find database table, fix your database not messing with php script files.
     2 |  102
    1. hanzor
      0
      hanzor Currently Offline → 23 August 2015 08:11

      Is not working, tell me the commands to do that.. because i have put various commands to fix database and is not working..

      Aff i am desesperate i have backups but, i can't log to admin.php or any.. only appear this error

      If i try make a new installation, without the old content, and put the backups, should be work? or i need put all files old of FTP on new vps?

      Because appear the same error

      Thank you, you are fantastic, trying help me! thank you.. i need fix this, but i don't know how.
       8 |  3
  4. dlefaq
    0
    dlefaq Currently Offline → 24 August 2015 00:44

    tell me if you made backup using DLE before you moved to new server? if your answer is "Yes" then you will have database backup file in "backup" folder, in this case all you need to do as simple way is
    - backup the following files "engine/data/config.php" then delete it from your server
    - upload fresh "install.php" (of dle install.php for your DLE version)
    - run fresh installation to your server (I recommend create new admin/pass with exact same user/pass from old database so it will be easier to restore database, if not the same will not be big deal)
    - after you have finished fresh installation then login to your dle admin admin cp using newly created admin account
    - upload backup database (which you made backup from old server) to your server folder "backup"
    - go to "Maintenance" settings http://site.com/admin.php?mod=dboption
    - in the bottom "Database Restore" select your database backup file name from drop down list and click "Restore" (red) button

    This will restore your old database back to old one, then after the restoration is complete it will log you out then simply login with "old admin account" then clear SmartCache in admin cp.
    Upload and replace "engine/data/config.php" from original backup and clear smartcache again...that's all you need...but it will onyl work if you made backup from inside dle "Maintenence" otherwise "Restore" will not work.
     2 |  102

Information

Would you like to leave your comment? Please Login to your account to leave comments. Don't have an account? You can create a free account now.