Linux Archive

Linux Archive (
-   Ubuntu User (
-   -   Do not cache during backup (

Loïc Grenié 07-05-2010 09:49 AM

Do not cache during backup

I use BackupPC for my backup and am rather happy about the

I have a small problem though: once a week BackupPC does a
nearly complete

tar -czf - /

on my computer (and sends the result to the backup host) (Note:
the tar command is more complicated because it does not read
/proc, /sys and some other filesystems but the idea is the same).
This tar obviously reads all the files in memory and thus invalidate
the file cache. I would like that this "tar" does not pollute too much
the file cache.

Is it possible to limit (or even disable) file cache for
*this specific* command ? I have 4G of RAM, so that limiting to
100-300M of page cache should be enough.

Thanks for any help,


ubuntu-users mailing list
Modify settings or unsubscribe at:

All times are GMT. The time now is 05:07 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.