BackupPC-users

Re: [BackupPC-users] status graph

2017-07-30 17:50:30
Subject: Re: [BackupPC-users] status graph
From: Craig Barratt via BackupPC-users <backuppc-users AT lists.sourceforge DOT net>
To: Alexey Safonov <asafonov AT kokomocapital DOT com>
Date: Sun, 30 Jul 2017 14:49:51 -0700
Alexey,

BackupPC's archive functionality shouldn't create extra hardlinks to the pool.

Can you tell us specifically where else you found the mystery hardlinks to the V3 pool files?  If you manually did something like cp -a or rsync -H to make a copy of one of the client backup trees than that could explain it.

Craig

On Tue, Jul 25, 2017 at 6:28 PM, Alexey Safonov <asafonov AT kokomocapital DOT com> wrote:
Hi, Craig

finally i was able to detect and find hardlinks. it's not under pool,
but in archive folder (may be i was playing with archive
functionalty). What is correct way to clean archive?

Alex

On 25 July 2017 at 12:22, Alexey Safonov <asafonov AT kokomocapital DOT com> wrote:
> Here is my findings. i can find some files in cpool, but not in pool
>
> first example:
> [root@backuppc cpool]# ls -li f/f/f/fff034be393e4f6c2007013e0e20812f
> 694558 -rw-r-----. 11 nobody nobody 975 Jun 15  2016
> f/f/f/fff034be393e4f6c2007013e0e20812f
>
> [root@backuppc pc]# find . -type f -inum 694558 -print
> return nothing
>
> second example:
>
> [root@backuppc cpool]# ls -li f/f/f/fff33b3ff92969f322863a4363a15f7a
> 71819 -rw-r-----. 3 nobody nobody 199706 Jun 16  2016
> f/f/f/fff33b3ff92969f322863a4363a15f7a
> [root@backuppc cpool]# cd -
> /mnt/backuppc/pc
> [root@backuppc pc]# find . -type f -inum 71819 -print
>
> what does it mean  ?
>
> Alex
>
>
> On 19 June 2017 at 01:54, Craig Barratt via BackupPC-users
> <backuppc-users@lists.sourceforge.net> wrote:
>> Without any more information, I can't suggest additional steps.
>>
>> So it's probably fine to just leave it as is.
>>
>> Craig
>>
>> On Thu, Jun 15, 2017 at 9:43 PM, Alexey Safonov <asafonov AT kokomocapital DOT com>
>> wrote:
>>>
>>> Still can't find what is using V3 pool
>>>
>>> should i leave it as is ? or better to find solution and delete unused
>>> data?
>>>
>>> On 11 June 2017 at 13:00, Craig Barratt via BackupPC-users
>>> <backuppc-users@lists.sourceforge.net> wrote:
>>> > Alex,
>>> >
>>> > First you should check to see what's left in the v3 cpool, eg:
>>> >
>>> >     cd /data/BackupPC/cpool
>>> >     ls -lR [0-9a-f]
>>> >     du -s ?/?/?
>>> >
>>> > Next you could pick a file and find its inode number and number of
>>> > links:
>>> >
>>> >     ls -li 0/1/2/1234567890abcdef
>>> >
>>> > Are there any files with >1 links?  If so, you could try to find where
>>> > else
>>> > that file is hardlinked to, eg:
>>> >
>>> >     cd /data/BackupPC/pc
>>> >     find . -type f -inum inodeNumber -print
>>> >
>>> > Craig
>>> >
>>> > On Tue, Jun 6, 2017 at 6:20 PM, Alexey Safonov
>>> > <asafonov AT kokomocapital DOT com>
>>> > wrote:
>>> >>
>>> >> My $Conf{PoolSizeNightlyUpdatePeriod} = 16; is 4
>>> >>
>>> >> and i already wait more than 2 weeks.
>>> >>
>>> >> i was trying to convert pool manually. process finished without any
>>> >> error.
>>> >> and i try nightly maintenance several times manually
>>> >>
>>> >> Alex
>>> >>
>>> >> On 6 June 2017 at 17:02, Alexander Moisseev via BackupPC-users
>>> >> <backuppc-users@lists.sourceforge.net> wrote:
>>> >>>
>>> >>> On 6/6/2017 4:24 AM, Alexey Safonov wrote:
>>> >>>>
>>> >>>> Alexander, Craig
>>> >>>>
>>> >>>> any ideas what can i check and how to find this V3 pool?
>>> >>>>
>>> >>> I don't know how exactly do this. I guess you need to find files with
>>> >>> hardlink count > 1 in the pool and cpool directories.
>>> >>>
>>> >>> Probably it's not necessary, you just need to wait.
>>> >>>
>>> >>> Make sure "$Conf{PoolV3Enabled} = 1;" until the last file deleted from
>>> >>> v3
>>> >>> pool.
>>> >>> By default "$Conf{PoolSizeNightlyUpdatePeriod} = 16;". This means you
>>> >>> need to wait 16 days while v3 pool will be emptied.
>>> >>>
>>> >>> See details in BackupPC_migrateV3toV4 section of
>>> >>>
>>> >>> https://backuppc.github.io/backuppc/BackupPC.html#Other-Command-Line-Utilities
>>> >>> BTW, This section says "You could do this manually". Craig, how'd you
>>> >>> suggest to find v3 files in pool and cpool?
>>> >>>
>>> >>> Since your pool is not big you can set
>>> >>> $Conf{PoolSizeNightlyUpdatePeriod}
>>> >>> = 1;
>>> >>>
>>> >>> Also it's not necessary to wait next BackupPC_nightly run. You can
>>> >>> start
>>> >>> it at any time.
>>> >>> # su -m backuppc -c 'BackupPC_serverMesg BackupPC_nightly run'
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> ------------------------------------------------------------------------------
>>> >>> Check out the vibrant tech community on one of the world's most
>>> >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> >>> _______________________________________________
>>> >>> BackupPC-users mailing list
>>> >>> BackupPC-users@lists.sourceforge.net
>>> >>> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
>>> >>> Wiki:    http://backuppc.wiki.sourceforge.net
>>> >>> Project: http://backuppc.sourceforge.net/
>>> >>
>>> >>
>>> >>
>>> >>
>>> >>
>>> >> ------------------------------------------------------------------------------
>>> >> Check out the vibrant tech community on one of the world's most
>>> >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> >> _______________________________________________
>>> >> BackupPC-users mailing list
>>> >> BackupPC-users@lists.sourceforge.net
>>> >> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
>>> >> Wiki:    http://backuppc.wiki.sourceforge.net
>>> >> Project: http://backuppc.sourceforge.net/
>>> >>
>>> >
>>> >
>>> >
>>> > ------------------------------------------------------------------------------
>>> > Check out the vibrant tech community on one of the world's most
>>> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> > _______________________________________________
>>> > BackupPC-users mailing list
>>> > BackupPC-users@lists.sourceforge.net
>>> > List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
>>> > Wiki:    http://backuppc.wiki.sourceforge.net
>>> > Project: http://backuppc.sourceforge.net/
>>> >
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> BackupPC-users mailing list
>>> BackupPC-users@lists.sourceforge.net
>>> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
>>> Wiki:    http://backuppc.wiki.sourceforge.net
>>> Project: http://backuppc.sourceforge.net/
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> BackupPC-users mailing list
>> BackupPC-users@lists.sourceforge.net
>> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
>> Wiki:    http://backuppc.wiki.sourceforge.net
>> Project: http://backuppc.sourceforge.net/
>>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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/
<Prev in Thread] Current Thread [Next in Thread>

ADSM.ORG Privacy and Data Security by KimLaw, PLLC