BackupPC-users

Re: [BackupPC-users] delete backup

2017-05-22 00:17:09
Subject: Re: [BackupPC-users] delete backup
From: Michael Huntley <michael AT huntley DOT net>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Sun, 21 May 2017 21:16:45 -0700

Yes v4 is more complex.  Each new backup is filled (copied forward) which is kinda like a full backup - but a moving full backup, as BackupPC calculates the diff from the prior backups.  If 135 is leaner (smaller) than 134 then BackupPC has already figured out what is going on.  By creating a semi-permanent filled backup through a Full backup for #136, then using BackupPC_deleteBackup, BackupPC should properly calculate what needs to remain within the pool when removing #134 (files associated with an attrib remain).  Orphaned files within the pool should be removed over time.

 

So if the pool is filled with files only associated with backup #134 and not tied to other backups you should be fine.  Nightly maintenance should remove them.  

Thought experiment (I think this is where you are going):

If #134 is treated like a new, original backup (as if all previous backups didn't exist) and #135 is based off that backup we have an interesting question to think about.  Would BackupPC leave many of the files behind with Filled #136?  If you remove #134 via BackupPC_deleteBackup will many files remain because they are tied to #135?  My thought is yes.  But only if BackupPC thinks #134 is an original backup. 

The answer then would be to remove #134 and #135.  Yes you lose two days of backups but you regain sanity and backup space.  This may be your best solution however unhappy it may make you.

Cheers!

mph

On 2017-05-21 20:49, Alexey Safonov wrote:

but if i do full backup for example 135 it will copy existing 134 and then do diff into 134
that's new in V4
so there are no way to delete data that was backup by mistake and preserver history.
 
V4 is good one but more complex according to V3.
 
and now i have 500GB used on /mnt/backup (and regular was about 100-1500GB :)
 
Alex

On 22 May 2017 at 11:45, Michael Huntley <michael AT huntley DOT net> wrote:

Ah, ok.  I would run a Full backup (now considered "Filled").  That's the safest move prior to removing 134.  The most recent backup is always Filled, but were talking about important data so I don't see a problem with doing on more Full (Filled) backup to ensure safety.

Craig - anything wrong with my logic here?

 

Cheers,

mph

On 2017-05-21 20:29, Alexey Safonov wrote:

Thanks for quick reply.
 
but as i understan in V4 full backup in last folder. My question is related to bug in 4.1.2 (that is now fixed). But because of that bug i have regular backup 133 , abnormal backup 134 (it's huge in size) and again normal backup 135
i need to really cleanup my NFS storage. So if i delete 134 it will not help? is it correct?
 
Alex

On 22 May 2017 at 11:26, Michael Huntley <michael AT huntley DOT net> wrote:

I would strongly suggest the use of BackupPC_backupDelete -n 134 to properly remove the backup.  It should be fine to remove.  You'll lose whatever changes occurred between 133 and 134.


Cheers,


mph

 


On 2017-05-21 19:36, Alexey Safonov wrote:

Hi, All
 
I'm usinv V4 backuppc. is it safe to delete one intermediate backup? for example we have in /pc/litspc123 dirs 133 135 and 135
 
is it safe to delete backup 134 directly from nfs? 
 
Alex

------------------------------------------------------------------------------
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
[email protected]ge.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
[email protected]ge.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

------------------------------------------------------------------------------
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/

ADSM.ORG Privacy and Data Security by KimLaw, PLLC