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

2017-06-13 Thread Craig Barratt via BackupPC-users
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  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@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


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

2017-06-13 Thread Bob Katz
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/


Re: [BackupPC-users] acls and xattrs attributes

2017-06-13 Thread Robert Wooden
Wanted to let you know that removing the "--one-file-system" has solved the
problem.

After I rebuilt to v4.1.3, I removed the "--one-file-system" from
$Conf{RsyncArgs} and ran a full backup. When finished all the /home
directory structure now appears when "browsing backups." Previously it had
always been "empty."

This is great. You started me on this quest about four years ago and
finally, I can backup our Samba4 active directory system member
servers.(You had just released v4.0beta and then took a break for your day
job.)

Thanks.

On Sun, Jun 11, 2017 at 5:44 PM, Craig Barratt via BackupPC-users <
backuppc-users@lists.sourceforge.net> wrote:

> Bob,
>
> Upgrading is unlikely to change anything.  If the problem is because
> -one-file-system was added during the 3.x -> 4.1.2 upgrade, upgrading to
> 4.1.3 won't remove it.  You'll need to edit $Conf{RsyncArgs} and remove it.
>
> Please look in the XferLOG file and look at the exact rsync_bpc command
> arguments.  That should allow us to figure out why /home is empty.
>
> Craig
>
> On Sun, Jun 11, 2017 at 8:24 AM, Robert Wooden 
> wrote:
>
>> Thanks, Craig. I will update to 4.1.3 and see what happens.
>>
>> Suggestion, perhaps in documentation, regarding log level you could add
>> that the range is 1 through 10. (I was uncomfortable, guessing that 10 was
>> the limit.)
>>
>> I have said it before and many others have also, GREAT JOB!! Backuppc is
>> very good!!!
>>
>> On Sat, Jun 10, 2017 at 9:17 PM, Craig Barratt via BackupPC-users <
>> backuppc-users@lists.sourceforge.net> wrote:
>>
>>> Bob,
>>>
>>> There doesn't seem to be anything untoward in the log information you
>>> sent.
>>>
>>> To figure out why /home is empty, you should post the specific rsync_bpc
>>> commands (that are in the XferLOG file).
>>>
>>> Note that for 4.1.2, I added --one-file-system to the default
>>> $Conf{RsyncArgs}, and it also adds that argument for 3.x upgrades.  In
>>> 4.1.3, it's still in the default $Conf{RsyncArgs}, but it no longer adds to
>>> 3.x upgrades.  This could explain why /home is empty.
>>>
>>> Craig
>>>
>>> On Thu, Jun 8, 2017 at 4:01 AM, Robert Wooden 
>>> wrote:
>>>
 I have a second Samba4 member file server (that was replaced by the
 newer one I have having issues with that BackupPC v4.1.2 will NOT backup
 the /home directory) that has been "shutoff" for a while. It's /home
 directory contains the same "acls" and "xattrs" file attributes adjustments
 as the newer one. I created a backup host listing and started a
 'full-backup'. The result for this machine was the same as the newer
 machine, no backup of /home despite no exclusion of the /home directory.
 "Browsing the backup" shows the same /home is empty as the newer member
 file server.

 Log level set to "10" results in a huge file of repeatitive dialog
 similar to this:

 2017-06-01 06:03:45 incr backup started for directory /
 2017-06-01 06:03:48 incr backup 8 complete, 56760 files, 56760 bytes, 0 
 xferErrs (0 bad files, 0 bad shares, 0 other)
 2017-06-02 21:00:01 incr backup started for directory /
 2017-06-02 21:02:01 incr backup 9 complete, 56764 files, 56764 bytes, 0 
 xferErrs (0 bad files, 0 bad shares, 0 other)
 2017-06-03 21:00:01 full backup started for directory /
 2017-06-03 21:00:21 full backup 10 complete, 56766 files, 56766 bytes, 0 
 xferErrs (0 bad files, 0 bad shares, 0 other)
 2017-06-04 21:00:00 bpc_attrib_backwardCompat: WriteOldStyleAttribFile = 
 0, KeepOldAttribFiles = 0
 2017-06-04 21:00:00 Copying backup #10 to #11
 2017-06-04 21:00:00 Creating directory /var/lib/backuppc/pc/192.168.16.55 
 /11/.
 2017-06-04 21:00:00 Creating directory /var/lib/backuppc/pc/192.168.16.55 
 /11/./refCnt
 2017-06-04 21:00:00 Creating directory /var/lib/backuppc/pc/192.168.16.55 
 /11/./f%2f
 2017-06-04 21:00:00 Creating directory /var/lib/backuppc/pc/192.168.16.55 
 /11/./f%2f/fbin

  snipped for brevity . . .

 2017-06-05 06:45:02 
 bpc_path_refCountAll(/var/lib/backuppc/pc/192.168.16.55 
 /12/f%2f/fusr/fshare/fterminfo/fr)
 2017-06-05 06:45:02 bpc_path_refCountAll: got 
 /var/lib/backuppc/pc/192.168.16.55 
 /12/f%2f/fusr/fshare/fterminfo/fr/attrib_a4e4f3a0960d98eb76dab41e493bed4d
 2017-06-05 06:45:02 bpc_attrib_dirRead(/var/lib/backuppc/pc/192.168.16.55 
 /12/f%2f/fusr/fshare/fterminfo/fr/attrib_a4e4f3a0960d98eb76dab41e493bed4d);
  dirPath =