How do I backup and Restore the database?

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
donm
Ensign (ENS)
Ensign (ENS)
Posts: 4
Joined: Tue Jul 08, 2008 4:19 pm

How do I backup and Restore the database?

Post by donm » Tue Jul 08, 2008 4:54 pm

I want to use the AbleCommerce Data Client Utility Beta .19 to upload products to the database.

There is a warning to Backup the Database Fist.

Where is the database? How do I back it up? How do i restore it if there is a problem?

Thank you.

jdpatterson74
Lieutenant (LT)
Lieutenant (LT)
Posts: 64
Joined: Wed Feb 27, 2008 4:02 pm

Re: How do I backup and Restore the database?

Post by jdpatterson74 » Tue Jul 08, 2008 5:18 pm

Here are the instructions I wrote myself so I would not forget......it may not be completely clear....but it works for me. Any specific questions, I can guide you thru it.

Created a new database (SQL2005 - SQL Server Management Studio)

Backup the database I am interested in.
Changed Backup set name - "oldbackup"
Removed all locations and add a new location
Performed a Full Backup

Selected new database
Restored....Database
To: New Database
From: oldbackup.bak
Selected backup set to restore

Overwrite the exiting database option
Restore the database files as:
Changed "restore as" new_name.mdf
Changed "restore as" new_name_log.ltf

Backed up the new file created from the restore.

Uploaded the new file to my host server.

Restored the file into my host database.

donm
Ensign (ENS)
Ensign (ENS)
Posts: 4
Joined: Tue Jul 08, 2008 4:19 pm

Re: How do I backup and Restore the database?

Post by donm » Tue Jul 08, 2008 10:15 pm

Thank you for the reply.

However, I don't know how to do anything you mentioned. This is a new site which is not yet live. We are not using an external SQL database.

Where do I find the Database to backup? Can I find it through the dashboard? through FTP? if so in what directory?

Thanks Don

jdpatterson74
Lieutenant (LT)
Lieutenant (LT)
Posts: 64
Joined: Wed Feb 27, 2008 4:02 pm

Re: How do I backup and Restore the database?

Post by jdpatterson74 » Tue Jul 08, 2008 10:34 pm

Do you have SQL 2005 Server and SQL Management Studios?

SQL 2005 Server : http://www.microsoft.com/express/sql/default.aspx

SQL Management Studios : http://www.microsoft.com/downloads/deta ... laylang=en

Visual Web Developer : http://www.microsoft.com/express/vwd/Default.aspx

Check the operating system is correct....

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: How do I backup and Restore the database?

Post by jmestep » Wed Jul 09, 2008 8:41 am

Here is an alternate way if your database is with a shared hoster and you can't do it from within SQL itself. Download and install the free MS Database publishing wizard:
http://www.microsoft.com/downloads/deta ... laylang=en

Follow the steps below. You can restore the database from the file. If your hoster has the database really, really locked down (one of ours is), you can't get there from here. They will have to back it up for you.
DBPW.gif
DBW2.gif
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: How do I backup and Restore the database?

Post by jmestep » Wed Jul 09, 2008 8:42 am

Here's last image
DBW4.gif
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
sohaib
Developer
Developer
Posts: 1079
Joined: Fri Jan 23, 2004 1:38 am

Re: How do I backup and Restore the database?

Post by sohaib » Wed Jul 09, 2008 9:27 am

Very useful info!!
Should go to 'Good Reference Posts' and Ablecommerce WIKI

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: How do I backup and Restore the database?

Post by jmestep » Wed Jul 09, 2008 10:51 am

Drundo.net told me about it because they don't allow backups directly from the database. We also used it to transfer two Able 5.5 stores to them from another hoster.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

donm
Ensign (ENS)
Ensign (ENS)
Posts: 4
Joined: Tue Jul 08, 2008 4:19 pm

Re: How do I backup and Restore the database?

Post by donm » Wed Jul 09, 2008 11:24 am

Thank you for the help.

Don

Post Reply