Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3676620
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T03:07:15+00:00 2026-05-19T03:07:15+00:00

I am using Nhibernate for my project. I was wondering, is there any tool/lib

  • 0

I am using Nhibernate for my project. I was wondering, is there any tool/lib that I can use to backup/restore entire database in xml format using Nhibernate.

nDBUnit does sort of what I want. But, it is a database testing library and thus the purpose is different. Besides, it uses xxd to do that. What I am looking for is something which uses hbm files to do that.

For hibernate, this is a link I found:
Backup/Restore to/from XML using Hibernate
http://www.jroller.com/ara_e/entry/backup_restore_to_from_xml

Another “side” question:
For a “sufficiently large“ database, is it a good idea to backup in a xml file?

Any help will be greatly appreciated.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T03:07:16+00:00Added an answer on May 19, 2026 at 3:07 am

    If you had a large database, I would say ‘no’. I have used XML for import/export operations before (for instance, I implemented a feature where you could export an entity as a “template”, and them import it at some other site, along with all the dependencies).

    The problem is that XML naturally blows up to many times the size of the original data, and you also have to worry about consistency. Are you going to be able to get a real snapshot of the database at a single point in time? How much time will this take? If you manage to get a read lock on everything, that will start to block other concurrent operations at the same time. That’s something that the native backup feature of your database will already take into account.

    Summary: XML’s good for moving data around between disparate systems, but backups are best done natively by your data store.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Fluent NHibernate on a project that has an Oracle 10g database.
We're using NHibernate in a project that gets data out of the database and
I'm pondering the use of NHibernate on a project that has a database with
there is a project using nhibernate v2.1 and i have been wondering whether v3
I'm using NHibernate 2.1.2.400 that is referencing log4net 1.2.10.0. In the same project, I
I have a c# library project, that i configured using nhibernate, and I like
I am considering using Fluent NHibernate for my project and I haven't found any
I have a project where I'm using NHibernate to handle bindings to the database.
I'm using NHibernate for a project. This project opens a SQL Server 2005 database
I am using NHibernate for my project. i am quite a beginner at working

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.