# why the number of .frm files backuped is not enough

**URL:** <https://forums.percona.com/t/why-the-number-of-frm-files-backuped-is-not-enough/2320>\
**Category:** Percona XtraBackup\
**Created:** [December 24, 2012, 12:28am UTC](https://forums.percona.com/t/why-the-number-of-frm-files-backuped-is-not-enough/2320 "2012-12-24T00:28:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnwang](https://avatars.discourse-cdn.com/v4/letter/j/35a633/32.png) [@johnwang](https://forums.percona.com/u/johnwang)\
**Post date:** [December 24, 2012, 12:28am UTC](https://forums.percona.com/t/why-the-number-of-frm-files-backuped-is-not-enough/2320/1 "2012-12-24T00:28:48Z")

</div>

I’m a newer to the xtrabackup. The version of the xtrabackup installed is v1.5.1.  
There are 100 .frm files in mysql data directory. However, there are only 8 .frm files in the backup data directory. I use the full backup command, such as  
/usr/bin/innobackupex --user=$User --password=$Passwd --defaults-file=/etc/my.cnf --database=$Database $databak\_dir

I view the backup log. No error hints occur.  
121224 03:01:44 innobackupex: completed OK!  
BackupFileName:xishiqu  
DataBase Backup Success

I wonder whether the backup is OK for xtrabackup?

---

<div class="post-metadata">

**Author:** ![miguelangelnieto](https://avatars.discourse-cdn.com/v4/letter/m/b9e5f3/32.png) [@miguelangelnieto](https://forums.percona.com/u/miguelangelnieto)\
**Post date:** [December 27, 2012, 1:17am UTC](https://forums.percona.com/t/why-the-number-of-frm-files-backuped-is-not-enough/2320/2 "2012-12-27T01:17:07Z")

</div>

I see in that command line that you are only backing up one single database. You should compare the number of tables on that database with the number of .frm files on the backup directory.

The log of the backup process will also help, attach it please.

---

<div class="post-metadata">

**Author:** ![johnwang](https://avatars.discourse-cdn.com/v4/letter/j/35a633/32.png) [@johnwang](https://forums.percona.com/u/johnwang)\
**Post date:** [December 27, 2012, 5:19am UTC](https://forums.percona.com/t/why-the-number-of-frm-files-backuped-is-not-enough/2320/3 "2012-12-27T05:19:14Z")

</div>

I have sovled the problem. the problem is not due to innobackupex. Thanks!
