Re: [BackupPC-users] Large rsyncTmp files

2020-05-01 Thread Marcelo Ricardo Leitner
On Fri, May 01, 2020 at 10:17:19AM -0700, Craig Barratt wrote:
> It could also be a sparse file (eg, below /proc or /var/log/wtmp) that
> isn't being excluded.

Spot on!

[root@linux ~]# ls -lahs /var/log/lastlog
52K -rw-r--r--. 1 root root 409G Mai  1 15:11 /var/log/lastlog

Thanks folks.


___
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] Large rsyncTmp files

2020-05-01 Thread Craig Barratt via BackupPC-users
It could also be a sparse file (eg, below /proc or /var/log/wtmp) that
isn't being excluded.

Craig

On Fri, May 1, 2020 at 10:14 AM Alexander Kobel  wrote:

> Hi Marcelo,
>
> On 5/1/20 4:15 PM, Marcelo Ricardo Leitner wrote:
> > Hi,
> >
> > Is it expected for rsync-bpc to be writting such large temporary files?
>
> If and only if there is such a big file to be backed up, AFAIK.
>
> > It seems they are as big as the full backup itself:
> > # ls -la */*/rsync*
> > -rw--- 1 112 122 302598406144 May  1 10:54
> HOST/180/rsyncTmp.4971.0.29
>
> Did you double-check whether there really is no file of that size on the
> HOST? (Try running `find $share -size +10M` on it, or something like
> that.)
>
> Do you use the -x (or --one-file-system) option for rsync?
> I recently ran into a similar issue because I didn't. A chrooted process
> suddenly received its own copy of /proc under
> /var/lib//proc after a system update, and proc has the
> 128T-huge kcore. Not a good idea trying to back up that directory.
> (Running dhcpcd on Arch by any chance?)
> It also got other mounts, like sysfs and some tmpfs, but those were
> mostly harmless.
>
> > That's a 300GB file, it filled the partition, and the full size for
> > this host is 337GB.
> >
> > Thanks,
> > Marcelo
>
>
> HTH,
> Alex
>
>
> ___
> 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 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] Large rsyncTmp files

2020-05-01 Thread Alexander Kobel

Hi Marcelo,

On 5/1/20 4:15 PM, Marcelo Ricardo Leitner wrote:

Hi,

Is it expected for rsync-bpc to be writting such large temporary files?


If and only if there is such a big file to be backed up, AFAIK.


It seems they are as big as the full backup itself:
# ls -la */*/rsync*
-rw--- 1 112 122 302598406144 May  1 10:54 HOST/180/rsyncTmp.4971.0.29


Did you double-check whether there really is no file of that size on the 
HOST? (Try running `find $share -size +10M` on it, or something like 
that.)


Do you use the -x (or --one-file-system) option for rsync?
I recently ran into a similar issue because I didn't. A chrooted process 
suddenly received its own copy of /proc under 
/var/lib//proc after a system update, and proc has the 
128T-huge kcore. Not a good idea trying to back up that directory. 
(Running dhcpcd on Arch by any chance?)
It also got other mounts, like sysfs and some tmpfs, but those were 
mostly harmless.



That's a 300GB file, it filled the partition, and the full size for
this host is 337GB.

Thanks,
Marcelo



HTH,
Alex


___
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] Large rsyncTmp files

2020-05-01 Thread Marcelo Ricardo Leitner
Hi,

Is it expected for rsync-bpc to be writting such large temporary files?
It seems they are as big as the full backup itself:
# ls -la */*/rsync*
-rw--- 1 112 122 302598406144 May  1 10:54 HOST/180/rsyncTmp.4971.0.29

That's a 300GB file, it filled the partition, and the full size for
this host is 337GB.

Thanks,
Marcelo


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