Re: [BackupPC-users] BackupPC_deleteFile immediate exit

2021-07-02 Thread Omar Speranza via BackupPC-users

Il 02/07/2021 10:54, Omar Speranza via BackupPC-users ha scritto:

The same command on host2 immediately exit without errors
and it doesn't remove anything :-(

My host2 contains many .git dirs, but they seems to be ignored by script 
:-(


I found (studying) the answer
In the host2 .git dirs al placed in differente path so I must declare 
the correct path name after -m option


RTFM is the answer as usual :-)

Thanks!




--
Omar


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


[BackupPC-users] BackupPC_deleteFile immediate exit

2021-07-02 Thread Omar Speranza via BackupPC-users

Hi,
sorry for my english

I'm running 3.3.2 version

I have succesfully deleted any .git directory from any share of my 
hostname1


with this command

BackupPC_deleteFile -d 4 -h host -n - -s - -r -m .git

The same command on host2 immediately exit without errors
and it doesn't remove anything :-(

My host2 contains many .git dirs, but they seems to be ignored by script :-(


This is the output:

[host2][][20 37 43 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 
131 132 133 134 135][]

  ANTE[host2]:
  BAKS[host2]: 20 37 43 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 
68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 
130 131 132 133 134 135

  POST[host2]:
  LOOKING AT: [host2] [][20 37 43 52 53 54 55 56 57 58 59 60 61 62 63 
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 
127 128 129 130 131 132 133 134 135][] **NO DELETIONS ON THIS HOST**



Files/directories deleted: 0(0) Files/directories copied: 0
Delete attrib set: 0Attributes cleared: 0
Empty attrib files deleted: 0   Errors: 0

What I'm wrong?

Any help would be appreciated, thanks :-)



--
Omar


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Deltacopy - Cant' backup subdir

2018-08-31 Thread Omar Speranza

Il 31/08/2018 18:31, Michael Stowe ha scritto:
In this case, however, your picture illustrates fairly well what 
happened — the “BackupFilesOnly” directory isn't associated with the 
rsyncsharename. You either need to add ‘*’ (to have it apply to all 
shares) or “MyShareTest” to have it apply to that one share.


IT WORKS! YOU ARE GREAT!

$Conf{BackupFilesOnly} = {
  '*' => [
'/photos',
'/docs'
  ]
};


Thank you!




--
Omar

--
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] Deltacopy - Cant' backup subdir

2018-08-31 Thread Omar Speranza

Il 31/08/2018 18:31, Michael Stowe ha scritto:
Excellent — that helps quite a bit, though it would also help to see the 
“BackupFilesOnly” sections of your config.pl (if any) and the 
machine-specific config. One possibility is that there are updates to 
those files that don't show up on the web interface.

Is this?


$Conf{RsyncShareName} = [
  'MyShareTest'
];
$Conf{RsyncdPasswd} = 'mypasswd';
$Conf{RsyncdUserName} = 'omar';
$Conf{XferMethod} = 'rsyncd';
$Conf{RsyncArgs} = [
  '--numeric-ids',
  '--perms',
  '--owner',
  '--group',
  '-D',
  '--links',
  '--hard-links',
  '--times',
  '--block-size=2048',
  '--recursive'
];
$Conf{BackupFilesOnly} = {
  'MyShareTest/docs' => [
''
  ],
  'MyShareTest/photos' => [
''
  ]
};




--
Omar


--
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] Deltacopy - Cant' backup subdir

2018-08-31 Thread Omar Speranza

Il 31/08/2018 18:31, Michael Stowe ha scritto:
Excellent — that helps quite a bit, though it would also help to see the 
“BackupFilesOnly” sections of your config.pl (if any) and the 
machine-specific config. One possibility is that there are updates to 
those files that don't show up on the web interface.


In this case, however, your picture illustrates fairly well what 
happened — the “BackupFilesOnly” directory isn't associated with the 
rsyncsharename. You either need to add ‘*’ (to have it apply to all 
shares) or “MyShareTest” to have it apply to that one share.


N.B.: this *should* also be clear in the machine-specific config


Thanks for you help

Actually "MyShareTest" point to a directory that contains various dirs 
and files

Like this https://c2n.me/3Wp0xxL

I would like to backup *only* /photos and /docs

Following your suggest I've put these "BackupFilesOnly" values
MyShareTest/docs
MyShareTest/photos
https://c2n.me/3Wp0Opt


But it copy all directory recursively :-(
https://c2n.me/3Wp0Iqi






--
Omar



--
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] Deltacopy - Cant' backup subdir

2018-08-31 Thread Omar Speranza

Il 31/08/2018 18:01, Michael Stowe ha scritto:
Of course, the usual way of doing this is to specify which directories 
you want to back up, in the web interface.



Thank you
Sorry for my english

In the web interface I've set the "BackupFilesOnly" parameter writing 
"/photos" as directory of "MyShareTest"


But BackupPc backups *all* sharename "MyShareTest" and not only "photos"


Here is a screenshot with my parameters
https://c2n.me/3WoZesf

And the result of backup :-(
https://c2n.me/3WoZgel





--
Omar

--
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] Deltacopy - Cant' backup subdir

2018-08-31 Thread Omar Speranza

Hi,
I'd like to use backuppc to backup some subdir of C drive of my Windows PC.

I've installed DeltaCopy on Windows machine and I've created a sharename 
called "DriveC" that points to C:\ path


On backuppc of my Linux server I've created RsyncD xfer profile with 
user/pass of deltacopy share.


But seems that is not possibile to backup only certains subdir of 
"DriveC" (ex: DriveC/Doc, DriveC/Photos)


I can only get *entire" share DriveC


Can you help me?





--
Omar

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