BackupPC-users

Re: [BackupPC-users] Proper syntax to delete a particular directory within a share

2017-06-14 01:38:30
Subject: Re: [BackupPC-users] Proper syntax to delete a particular directory within a share
From: Craig Barratt via BackupPC-users <backuppc-users AT lists.sourceforge DOT net>
To: bobkatz AT dugido DOT com, "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 13 Jun 2017 22:37:17 -0700
Bob,

Try this (add a space after the share name, and add quotes around the path since it contains a space):

./BackupPC_backupDelete -h n6850.local -n 4 -s Backup-Data-Folder "/Time Machine"

Craig



On Tue, Jun 13, 2017 at 7:54 PM, Bob Katz <bobkatz AT digido DOT com> wrote:
I'm trying to delete an entire directory that should have been excluded
from all backups. (Ironically, this directory contains all OSX time
machine backups on the network so you can see why I need to exclude
it). I think (I hope) I've got the exclude syntax working but I want to
delete this extensive backup that's wasting space on the backup volume.

The host name is "n6850.local"
The rsync share name is "Backup-Data-Folder"
Method of backups is rsyncd if that's important.
It contains a directory called "Time Machine". In the CGI this shows up
as:
"Backup-Data-Folder/Time Machine"

I've run the following command chasing it down from the highest
numbered backup down, but the CGI gui still shows "Time Machine" as
containing data after I run it several times each time decrementing the
backup #. I ran it several times because each time the delete command
merges the backup into the next lower backup so I figured I need to run
the delete command once for each valid backup number. I don't fully
understand the progress indications that come up after I run the delete
command. Here's an example trying to delete the particular folder
within backup #4:


./BackupPC_backupDelete -h n6850.local -n 4 -s Backup-Data-Folder/Time
Machine

Any ideas? Thanks for the help!


--------------------------------------------------------------

P.S.

backuppc is a killer app! (meaning "I love it").
Status shows current CPool V4 is 7.78 T. Prior to pooling and
compression it would have taken up 63.37 T! I "only" have 22 T capacity
 storage so it's a damn good thing we have excellent de-
duplication!!!!!


Best wishes,


Bob


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

ADSM.ORG Privacy and Data Security by KimLaw, PLLC