Buying Looking for instructions on how to backup files and move to another server. $5-$10

Discussion in 'Services' started by profanitytalker, Jan 28, 2010.

  1. #1
    Hi,

    I need a debian command line for ssh for backing up certain files because I am moving my forum to a dedicated server. I am willing to tip $5 if I successfully backup my files and another $5 if I successfully move my site to the dedicated server.

    Note that I'm not looking for someone to move the site for me. I need instructions on how to do it. BTW if it helps it's a decently large vbulletin forum. Please at least have decent English speaking skills.

    Please pm me if you want to give me the instructions. I will also add you on msn.

    Thanks!:D
     
    profanitytalker, Jan 28, 2010 IP
  2. maue

    maue Peon

    Messages:
    101
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    How do I backup/restore my Big Medium data, or move to a new server?
    E-mail this page Print this page

    This FAQ page is for Big Medium 1.x. It does not apply to Big Medium 2.0 or later._

    * Create an offline backup of your Big Medium data
    * Restore Big Medium data for a single site
    * Restore Big Medium data for all sites, or move to a new server

    Create an offline backup of your Big Medium data

    To backup your website data, download the following files/directories (make sure that your FTP client is in "binary" or "raw data" mode):

    * moxiedata and all of its contents (one exception: you can leave the moxiedata/skins directory if you like)
    * announcement.txt file in the site's page directory
    * moxiepix directory (located in the site's page directory) and all of its contents
    * bm~docs directory (located in the site's page directory; skip it if you don't see it)

    Restore Big Medium data for a single site from an offline backup

    These steps walk you through the process of restoring the website data for a single site.

    In these instructions, the offline backup is referred to as the "backup site," and the online version that needs to be restored is referred to as the "online site."

    1.

    If the online version of the site has not yet been created, create the site by clicking "New Site" under "Setup" in the left-column menu of the Big Medium control panel. (This is necessary, for example, if you had to reinstall a fresh version of Big Medium and the data for the online site no longer exists).
    2.

    In the online site, find its site ID and make note of it. You can look up the ID in the siteindex.cgi file on your server. This file is in your moxiedata directory:

    moxiedata/sites/siteindex.cgi

    3.

    Repeat step two for the backup site, finding the site ID for the site to upload by looking in the siteindex.cgi file in the backup site.
    4.

    The site ID tells you the directory where your site's data is stored. For example, if your site ID is 00000001, then your data directory is located here:

    moxiedata/sites/00000001

    5.

    In the offline data directory, locate the file site_setup.cgi:

    moxiedata/sites/SITE_ID/site_setup.cgi

    Make a backup of this file, then edit the following settings so that they match the paths and URLs for the new, online version of the site, if changes are necessary:
    * $bmSetup::htmlDir. The path to the page directory.
    * $bmSetup::htmlURL. The URL to the page directory.
    * $bmSetup::ImageURL. The URL to the moxiepix directory, which is located just inside the page directory.
    * $bmSetup::ImageDir. The path to the moxiepix directory.
    * $bmSetup::HomepageDir. The path to the homepage directory.
    * $bmSetup::HomepageURL. The URL to the homepage directory.
    * $bmSetup::EngineInclude. The relative URL for the page directory (basically, just remove the domain name from your URL so that this setting begins with a / slash).
    * $bmSetup::DataDir. The full path to the new online site's data directory.
    6.

    Set your FTP client to "ASCII" or "plain text" mode and upload all of the contents of your offline site's data directory to your online site's data directory. (Note: If you are using version 1.3 or later, then the unpubdocs directory -- if present -- should be uploaded in binary mode, not plain-text mode).
    7.

    Set all of the uploaded directories to chmod 777, and set all of the other files to chmod 666.
    8.

    Set your FTP client to binary mode and upload the moxiepix and bm~docs (if it exists) directories from your offline site to the page directory of the online site. Set both directories to chmod 777 and all of the files inside to chmod 666.
    9.

    Set your FTP client to plain text. Upload the announcement.txt file from the offline page directory to the online page directory. Set this file's permission to chmod 666.
    10.

    Sign into the online version of the site, and open/save each of the following settings. Although you can make changes to these settings, it's not necessary. If you like, you can just open and save each setting. Do this in the following order:
    1. Setup>Site Settings
    2. Templates>Style Settings
    3. Templates>Widget Settings
    4. Templates>Section Editor. Open the settings page for each main section (you don't have to do this for subsections) and save the settings.
    11.

    Go to "Templates>Rebuild Pages" and rebuild all pages.

    Restore Big Medium data for all sites, or move to a new server

    In these instructions, the offline backup is referred to as the "backup site," and the online version that needs to be restored is referred to as the "online site."

    1.

    If you are moving your Big Medium installation to a new server, download the necessary data files by following the instructions for creating an offline backup of your data.
    2.

    If you are moving your Big Medium installation to a new server, or if you are restoring your data to a fresh version of Big Medium, install Big Medium on the server by following the instructions in the Big Medium installation guide. You can stop after completing step 2 in the Big Medium setup wizard (after you confirm the general Big Medium settings and before establishing your account and password).
    3.

    In the moxiedata directory of the offline site, open the sites directory. Inside you will find one or more numbered directories. For each of these directories, find the file named site_setup.cgi located just inside each directory and follow these instructions:

    Make a backup for the site_setup.cgi file. Opensite_setup.cgi in a text editor and edit the following settings so that they match the paths and URLs for the new, online version of the site, if changes are necessary:
    * $bmSetup::htmlDir. The path to the page directory.
    * $bmSetup::htmlURL. The URL to the page directory.
    * $bmSetup::ImageURL. The URL to the moxiepix directory, which is located just inside the page directory.
    * $bmSetup::ImageDir. The path to the moxiepix directory.
    * $bmSetup::HomepageDir. The path to the homepage directory.
    * $bmSetup::HomepageURL. The URL to the homepage directory.
    * $bmSetup::EngineInclude. The relative URL for the page directory (basically, this is the same as your page directory URL but with the domain name removed so that the entry begins with a / slash).
    * $bmSetup::DataDir. The full path to the new online site's data directory.

    If your homepage directory and/or page directory have changed: After making these changes in site_setup.cgi, open and edit the dirindex.cgi file in the moxiedata/sites directory. Find the line that starts with the same eight-digit number of the directory whose site_setup.cgi file you just edited. This number is followed by "_!_". After the "_!_" you will see two paths, also separated by "_!_" -- edit the first path so that it is the same as your new homepage directory, and the second path so that it is the same as your new page directory. For example:

    Old:
    00000001_!_/path/to/old/homepagedir_!_/path/to/old/pagedir


    New:
    00000001_!_/path/to/new/homepagedir_!_/path/to/new/pagedir

    4.

    Set your FTP client to "ASCII" or "plain text" mode and upload all of the contents of your offline site's moxiedata/sites and moxiedata/user_data directories, completely replacing these directories in the online site's moxiedata directory. (Note: If you are using version 1.3 or later and you see the unpubdocs directory located in any of the numbered site data directories, this directory should be uploaded in binary mode if they , not plain-text mode).
    5.

    Set all of the uploaded directories to chmod 777, and set all of the other files to chmod 666, including the files located inside each directory.
    6.

    In your web browser, sign into Big Medium for all of the sites you are restoring, and open/save each of the following settings. Although you can make changes to these settings, it's not necessary. If you like, you can just open and save each setting. Do this in the following order:
    1. Setup>Site Settings
    2. Templates>Style Settings
    3. Templates>Widget Settings
    4. Templates>Section Editor. Open the settings page for each main section (you don't have to do this for subsections) and save the settings.
    5. Templates>Rebuild Pages. Rebuild all pages.
    6. Set your FTP client to binary mode and upload the moxiepix and bm~docs (if present) directories from the page directory of each of your offline sites to the page directory of each online site. Also upload the announcement.txt file from the offline page directory to the page directory of each online site. Set the moxiepix and bm~docs (if it exists) directories to chmod 777 and all of the files inside to chmod 666. Set the announcement.txt file to chmod 666.
     
    maue, Jan 28, 2010 IP