This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

Backup Advice


  1. StephenGormley
    Member

    Having now put together a number of forms and created a client database, can anybody recommend what I need to backup from my server to ensure I have copies of forms and the database in the event of a server loss.

    Many thanks,
    Stephen

    Posted 15 years ago #
  2. yuniar

    You will need to backup two things:
    1) Your machform database (use PhpMyAdmin database export tool)
    2) Your machform folder and all files under that folder.


    MachForm Founder

    Posted 15 years ago #
  3. Saghalie
    Pro Member

    Here, use this:
    http://www.appnitro.com/forums/topic/mysql-backup-script?replies=2

    Saghalie

    Posted 15 years ago #
  4. Carel
    Member

    When I delete my data files from the surver in machform, the filles are still there I think. I back up machform but the size is the same as when I delete files from the server earlier. I only want a small back up whitout all data files from my customers. It is now 1.6 GB. Can you tell met how to do this?

    Carel

    Posted 11 years ago #
  5. brenwa
    Member

    Hi

    I have the same issue... need to do backups

    the link on that page is no longer valid... any other alternatives?
    is a backup like that something that could possibly be built in at a later date?

    Here, use this:
    http://www.appnitro.com/forums/topic/mysql-backup-script?replies=2

    Posted 11 years ago #
  6. AMurray
    Pro Member

    If you are familiar with phpMyAdmin then you should be able to do a database export to *sql or a number of file formats. Just open the database to export, choose the tables, and then use the export option.

    If you use MF 3.x an (apparently) little known feature is when data is deleted, be it forms, or entries, the data is not actually deleted; it remains int he database for the intention of easy recovery if required. There is a way to permanently delete the data - look in the config.php file, the option is there - just change it from "False" to "True". With the option turned On, that means there's no way to recover data (except from your own backups).

    Regarding doing DB backups, I found this script (just doing a google search): http://www.larryullman.com/forum/read.php?19,51689.

    Scroll down the page to the part about exporting mySQL database. Copy the PHP code sample there into a text file and save as *.php (suggest using Notepad++ or similar editor). You have to enter manually the database details into the script (just like you do for any PHP script's config.php file), and do this for each/every database you need to backup.

    You could copy the file and make one for each database you have so you don't have to change the detail all the time.

    Posted 11 years ago #

RSS feed for this topic

Reply