CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • I Challenge Thee: Best Backup Procedures Evuh!
Pages: [1]

Author Topic: I Challenge Thee: Best Backup Procedures Evuh!  (Read 2081 times)

linkx

  • I post occasionally
  • **
  • Posts: 86
  • Karma: 7
I Challenge Thee: Best Backup Procedures Evuh!
November 14, 2007, 12:46:03 pm
 :o A challenge: describe the BEST way to do a COMPLETE backup and COMPLETE restore of a CiviCRM Drupal Installation:

Details:
  • Hosted on a shared server with PHPMyAdmin and FTP access; NO SSH!
  • CiviCRM and Drupal have separate databases
  • For noobs
Thanks!

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: I Challenge Thee: Best Backup Procedures Evuh!
November 30, 2007, 08:30:17 am
I use the MySQL Gui Tools (available here: http://mysql.com/products/tools/). I have found them to be absolutely invaluable. Query Browser makes browsing, manipulating, querying, etc. my tables a very easy process. Administrator is what is used for backup and restore. You can create projects, and it has scheduling ability (though I haven't used this). One note -- the backup created through Administrator cannot be later imported through Phpmyadmin. You have to use Administrator for both backup and restore/import. One reason I like this tool over Phpmyadmin is that when importing/restoring, you have the ability to import to a different schema. This is useful if you are moving the database from one server to another, such as from a local installation to a live hosting environment, where the database name is different. You also can backup multiple databases as part of a single backup process.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

marlutin

  • I’m new here
  • *
  • Posts: 22
  • Karma: 1
Re: I Challenge Thee: Best Backup Procedures Evuh!
December 15, 2007, 04:41:56 pm
Hm, the mysql Admin tool is great if you work locally, but many providers will not give access to their servers remotely with that tool. It is the situation i'm facing, with only PHPMyAdmin to connect to my live DBs and no other tool to dump the civicrm dbs. Everything goes smootly both ways for Drupal, but it's not the case for CiviCRM. What is the way you recommend for:
  • upload a local db to a "live" one on a shered server...
  • download a live version and restoring it locally for further dev/testing

Denver Dave

  • Ask me questions
  • ****
  • Posts: 471
  • Karma: 9
Re: I Challenge Thee: Best Backup Procedures Evuh!
December 15, 2007, 08:33:38 pm
I've been using phpmyadmin to backup.  I'm not sure why the backup menu choice in civicrm does not work for me - looking into that.  For large databases a routine like bigdump or similar may be necessary to reload the files without exceeding your time limit (mine is 30 seconds of server time - I think).

MacRonin

  • I post frequently
  • ***
  • Posts: 153
  • Karma: 14
Re: I Challenge Thee: Best Backup Procedures Evuh!
December 16, 2007, 12:01:52 pm
If the error you get is that the application(Mysqlbackup) can't be found, it might be that php is being restricted as to which directories to look in for the program.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • I Challenge Thee: Best Backup Procedures Evuh!

This forum was archived on 2017-11-26.