logo       

Re: Problem with Disk usage: msg#00044

sysutils.backup.rsnapshot.general

Subject: Re: Problem with Disk usage

Kunjan,

I'm not seeing an obvious problem. So I have some suggestions to gather
more information and something you can try.

Can you add
rsync_long_args --delete --numeric-ids --relative --delete-excluded
--stats
to your rsnapshot.conf (adding --stats to rsync). And unless there is a
good reason, can you reduce verbose to 4 or 3. Then can you send me/us
the output from rsnapshot hourly, and the end of the log file.

What does /home/sepia/sitebackups/postbackup.sh do?

Any ideas why daily.2 has linked files (where the others don't)?
And why daily.3 is missing? (I guess that would be daily.4 now.)

If you feel like experimenting, you could try setting
link_dest 0
But I suggest you don't change this at the same time as other changes.

On Sat, Jul 15, 2006 at 11:18:59PM -0500, Kunjan Shah wrote:
> David,
>
> Thanks a lot for your help...
>
> Here's the info you asked for:
>
> i am running CentOS(64bit), the filesystem is ext3
> rsync is rsync version 2.6.3 protocol version 28
>
> daily.2 seems to have linked files
>
> [kunjan@bunker ~]$sudo du -csh /home/sepia/sitebackups/daily.2/
> 1.7G /home/sepia/sitebackups/daily.2/
> 1.7G total
>
> [kunjan@bunker ~]$ sudo grep '^[^#]' /etc/rsnapshot.conf
> Password:
> config_version 1.2
> snapshot_root /home/sepia/sitebackups/
> cmd_cp /bin/cp
> cmd_rm /bin/rm
> cmd_rsync /usr/bin/rsync
> cmd_logger /usr/bin/logger
> cmd_du /usr/bin/du
> cmd_rsnapshot_diff /usr/bin/rsnapshot-diff
> cmd_postexec /home/sepia/sitebackups/postbackup.sh
> interval hourly 6
> interval daily 7
> interval weekly 4
> verbose 5
> loglevel 3
> logfile /var/log/rsnapshot
> lockfile /var/run/rsnapshot.pid
> link_dest 1
> backup /home/apache/ localhost/
> backup /etc/ localhost/
>
> On 7/15/06, David Keegel <djk@xxxxxxxxxxxxxxxxxx> wrote:
> >On Sat, Jul 15, 2006 at 10:54:23PM -0500, Kunjan Shah wrote:
> >> My disk usage looks like this below. isnt it supposed to be a lot less?
> >
> >Yes.
> >
> >> [kunjan@bunker ~]$ sudo rsnapshot du
> >
> >> 1.7G /home/sepia/sitebackups/hourly.0/
> >> 1.7G /home/sepia/sitebackups/hourly.1/
> >> 1.7G /home/sepia/sitebackups/hourly.2/
> >> 1.7G /home/sepia/sitebackups/hourly.3/
> >> 1.7G /home/sepia/sitebackups/hourly.4/
> >> 1.7G /home/sepia/sitebackups/hourly.5/
> >> 1.7G /home/sepia/sitebackups/daily.0/
> >> 1.7G /home/sepia/sitebackups/daily.1/
> >> 2.3M /home/sepia/sitebackups/daily.2/
> >> 1.7G /home/sepia/sitebackups/daily.4/
> >> 1.7G /home/sepia/sitebackups/daily.5/
> >> 17G total
> >
> >It looks like all your snapshots except daily.2 have individual
> >copies of the files. Which doesn't sound right unless almost all
> >your files change every 4 hours (or however often you do hourly
> >rsnapshots. daily.3 also seems to be missing.
> >
> >Can you start by sending to rsnapshot-discuss the output of
> > sudo grep '^[^#]' /etc/rsnapshot.conf
> >
> >Perhaps also
> > sudo du -csh /home/sepia/sitebackups/daily.2/
> >so we can see whether daily.2 has linked files (as it should)
> >or is an incomplete snapshot.
> >
> >Other generally useful information would be:
> >* What Operating System are you running rsnapshot on?
> >* What kind of file system is /home/sepia/sitebackups on?
> >
> >___________________________________________________________________________
> > David Keegel <djk@xxxxxxxxxxxxxxxxxx> http://www.cyber.com.au/users/djk/
> > Cybersource P/L: Linux/Unix Systems Administration Consulting/Contracting
> >
>
>
> --
> -------------------------
> Kunjan Shah
> http://kunjan.net

--
___________________________________________________________________________
David Keegel <djk@xxxxxxxxxxxxxxxxxx> http://www.cyber.com.au/users/djk/
Cybersource P/L: Linux/Unix Systems Administration Consulting/Contracting


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise