BackupPC-users

Re: [BackupPC-users] cpool directory is using more than 500GB space.

2014-03-20 00:51:00
Subject: Re: [BackupPC-users] cpool directory is using more than 500GB space.
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 19 Mar 2014 23:49:37 -0500
On Wed, Mar 19, 2014 at 11:08 PM, Aravind R <aravind.r AT nocme DOT com> wrote:
>
> I am using BackupPC and I am very satisfied with it.  Currently my backup
> server is using 91%(1.7T/2.0T) of the total disk space.
>

> I could see a directory inside /backuppc/filesystem is using more than
> 500GB. However the filesystem backups are stored inside
> /backuppc/filesystem/pc I am not sure what contents are storing inside cpool
> directory. The directory structure is as follows.
>
> drwxr-x--- 18 backuppc backuppc 4096 Dec 27  2012 0
>
>[...]

> Can anyone help me to understand this?

The backups are stored under each pc/ directory and also hardlinked to
a name under cpool that is computed as a hash of the contents (and
distributed down a tree of subdirectories because a large  number of
files in a single directory has performance issues).    The hashed
names are used to allow matching files with identical content and
replacing them with more links.   Hard links are just different names
for the same copy of data and don't take additional space, although
'du' will show the space of each if you look at the directories
separately.

-- 
   Les Mikesell
     lesmikesell AT gmail DOT com

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/