BackupPC-users

Re: [BackupPC-users] Delete oldest backup

2014-03-09 14:24:54
Subject: Re: [BackupPC-users] Delete oldest backup
From: Adam Goryachev <mailinglists AT websitemanagers.com DOT au>
To: "absolutely_free AT libero DOT it" <absolutely_free AT libero DOT it>, "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>, "absolutely_free AT libero DOT it" <absolutely_free AT libero DOT it>
Date: Mon, 10 Mar 2014 05:23:08 +1100
On March 10, 2014 5:00:39 AM AEDT, "absolutely_free AT libero DOT it" 
<absolutely_free AT libero DOT it> wrote:
>Hi,
>
>my pool is running out of space.
>is there a way to manually delete some backup from pool?
>
>server1:/backuppc/pc# ls -l localhost/
>total 892
>drwxr-x--- 3 backuppc backuppc   4096 Feb  2 18:11 15   <---------
>drwxr-x--- 3 backuppc backuppc   4096 Feb  7 23:06 16
>drwxr-x--- 3 backuppc backuppc   4096 Feb 13 00:08 17
>drwxr-x--- 3 backuppc backuppc   4096 Feb 18 10:03 18
>drwxr-x--- 3 backuppc backuppc   4096 Feb 20 16:01 19
>drwxr-x--- 3 backuppc backuppc   4096 Feb 23 17:28 20
>drwxr-x--- 3 backuppc backuppc   4096 Feb 27 13:25 21
>drwxr-x--- 3 backuppc backuppc   4096 Mar  3 21:08 22
>drwxr-x--- 3 backuppc backuppc   4096 Mar  8 02:48 23
>-rw-r----- 1 backuppc backuppc   1083 Mar  8 23:47 backups
>-rw-r----- 1 backuppc backuppc   1063 Mar  8 02:48 backups.old
>-rw-r----- 1 backuppc backuppc      0 Dec  5 20:48 LOCK
>-rw-r----- 1 backuppc backuppc    456 Jan 30 22:18 LOG.012014.z
>-rw-r----- 1 backuppc backuppc    443 Feb 27 13:25 LOG.022014.z
>-rw-r----- 1 backuppc backuppc    512 Mar  8 02:48 LOG.032014
>-rw-r----- 1 backuppc backuppc    420 Dec 31 01:24 LOG.122013.z
>-rw-r----- 1 backuppc backuppc 173497 Feb  2 18:11 XferLOG.15.z
>-rw-r----- 1 backuppc backuppc  12655 Feb  7 23:06 XferLOG.16.z
>-rw-r----- 1 backuppc backuppc 187459 Feb 13 00:08 XferLOG.17.z
>-rw-r----- 1 backuppc backuppc  12585 Feb 18 10:03 XferLOG.18.z
>-rw-r----- 1 backuppc backuppc 197453 Feb 20 16:01 XferLOG.19.z
>-rw-r----- 1 backuppc backuppc   8829 Feb 23 17:28 XferLOG.20.z
>-rw-r----- 1 backuppc backuppc  15162 Feb 27 13:25 XferLOG.21.z
>-rw-r----- 1 backuppc backuppc 211850 Mar  3 21:08 XferLOG.22.z
>-rw-r----- 1 backuppc backuppc  11744 Mar  8 02:48 XferLOG.23.z
>
>I mean: can I safely delete the entire "15" directory in order to save
>space 
>on disk?
>Thank you very much


First, you need to confirm that the next backup is a full backup, because an 
incremental backup will require the previous full. Assuming backup 16 is also a 
full backup, then you can safely rm -rf 15
However, this won't actually get you any space until the daily pool cleanup 
process is completed. This might actually take a number of days if you have 
configured it to only clean part of the pool each day.

Hope that this helps.


Regards,
Adam

--
Adam Goryachev
Website Managers
www.websitemanagers.com.au

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
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>