Hi Paul,
On Thu, Dec 29, 2016 at 10:59:56AM +0000, Paul Dart wrote:
Personally I've got:
/home/ - because it obviously has files I want there
I do tend to back this up but I am careful to make sure I have
temporary and scratch directories where I can dump files. We all
need to find somewhere to put a large file from time to time, or
unpack some large archive. Then forget about it for a few hours and
it gets backed up and stays in there for 6 months.
So I'll have a ~/tmp and a few other things and exclude them with:
- tmp/
in ~/.bitfolk-rsync-filter
I know you IRC from your VPS so what about IRC logs? If you're using
irssi then every time there's anything said in any channel you'll
get a whole new copy of the unrotated IRC log in its entirety, kept
in the backups for 6 months.
/root/ - similar to /home, although I could probably
move that
Again be careful about leaving large files lying around.
You might want to look at what you are putting in /root and think
about if there is somewhere else more appropriate. /root shouldn't
really have anything in it except for perhaps
/root/.ssh/authorized_keys if you have some things logging in as
root by public key.
Binaries and scripts that only root will run make more sense in
/sbin, /usr/sbin, or /usr/local/sbin.
/var/ - I think this is probably the cause of the
problem. I initially
thought /var/log would be useful and things like that. Do I need all of
/var? Probably not.
Very likely you don't want to be backing up /var/log and /var/cache.
Is there anything obvious I've missed? Do many
people just do /?
I don't backup /.
I've had a look at your backup usage at
https://panel.bitfolk.com/backups/ and your differential usage
bounces around quite a lot.
If I were you I'd mount weekly.1 and weekly.2 and do an
rsnapshot-diff between them as described at:
https://tools.bitfolk.com/wiki/Backups#Is_there_any_easy_way_to_see_which_f…
Especially if you do the sort thing to show the biggest changes I
bet you will quickly find what is taking up a lot of space and isn't
worth backing up.
If you're backing up /var and /home and haven't done any excluding
then my hunch is you are burning space on copies of unrotated IRC
and other logs.
Cheers,
Andy
--
https://bitfolk.com/ -- No-nonsense VPS hosting