Re: [BackupPC-users] ssh+rsync and known_hosts

2023-08-27 Thread Norbert Hoeller via BackupPC-users




>On 7/22/23 11:59 AM, Kenneth Porter wrote:
>> I'm setting up some Raspberry Pis and I set up BackupPC to back them up 
>> using ssh+rsync. I installed the key in ~backuppc/.ssh/authorized_keys but 
>> the initial backup was still failing. So I tried manually ssh'ing into the 
>> Pi and discovered I was hitting the question to add the Pi to known_hosts. I 
>> don't see this mentioned in the documentation. I'm not sure where it would 
>> even go, but I wanted to mention it as I'll likely forget this a year from 
>> now.
>
>

I have learned from past experience to login to the backuppc user and SSH to 
the remote client using the client host name from the client configuration 
file.  This ensures I have everything set up properly and also adds the client 
to known_hosts.  


___
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] Deleting backups

2022-08-30 Thread Norbert Hoeller via BackupPC-users
After excluding /home/backuppc from the localhome backup, I did a successful 
incremental backup of /home on the 24th.  However, I noticed that the file 
server was very slow on the morning of the 25th and a number of overnight 
backups were still running.  I suspect BackupPC_refCountUpdate was the culprit, 
driving high disk seek rates.  I ended up renaming 
/var/lib/backuppc/pc/localhome and started a new localhome backup series.

I am running 4.3.0 (manual build for Serbian on ARM).  I have held off 
upgrading until an official build but it appears I need to upgrade to 64bit 
Bullseye which is not trivial. 

On August 23, 2022 11:38:53 AM EDT, Norbert Hoeller via BackupPC-users 
 wrote:
>I have a home file server that also runs backuppc for a number of other 
>servers. Backuppc backs up /home (host localhome) on the file server so I can 
>recover from accidentally deleted files.
>
>Originally, /var/lib/backuppc was mapped to its own partition which 
>periodically caused space issues. I recently moved the backuppc data folder to 
>/home/backuppc and mapped it to /var/lib/backuppc but forgot to exclude the 
>/home/backuppc folder from backups of /home. Backuppc completed backup 325 and 
>part of 326 before I noticed the problem. I excluded /home/backuppc from 
>further backups and did a manual incremental backup which created 327 (partial 
>backup 326 disappeared).  
>
>Although the cpool size did not increase, pc/localhome is over 2GB bigger. I 
>tried running "BackupPC_Delete -h localhome -n 327 -s home backuppc" in the 
>hope that would clean up the pointers but it merged #327/home/backuppc -> 
>#325/home/backuppc.  I repeated the process with backup 325 which merged 
>#325/home/backuppc -> #324/home/backuppc.  Right now, pc/localhome/324 takes 
>up 644MB while pc/localhome/327 takes up 1015MB, compared to under 15MB before.
>
>Is there a way to get rid of the unnecessary pointers to /home/backuppc or do 
>I just wait for them to age out?___
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] Deleting backups

2022-08-23 Thread Norbert Hoeller via BackupPC-users
I have a home file server that also runs backuppc for a number of other 
servers. Backuppc backs up /home (host localhome) on the file server so I can 
recover from accidentally deleted files.

Originally, /var/lib/backuppc was mapped to its own partition which 
periodically caused space issues. I recently moved the backuppc data folder to 
/home/backuppc and mapped it to /var/lib/backuppc but forgot to exclude the 
/home/backuppc folder from backups of /home. Backuppc completed backup 325 and 
part of 326 before I noticed the problem. I excluded /home/backuppc from 
further backups and did a manual incremental backup which created 327 (partial 
backup 326 disappeared).  

Although the cpool size did not increase, pc/localhome is over 2GB bigger. I 
tried running "BackupPC_Delete -h localhome -n 327 -s home backuppc" in the 
hope that would clean up the pointers but it merged #327/home/backuppc -> 
#325/home/backuppc.  I repeated the process with backup 325 which merged 
#325/home/backuppc -> #324/home/backuppc.  Right now, pc/localhome/324 takes up 
644MB while pc/localhome/327 takes up 1015MB, compared to under 15MB before.

Is there a way to get rid of the unnecessary pointers to /home/backuppc or do I 
just wait for them to age out?___
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/