Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th March 2008, 17:11
RicochetPeter RicochetPeter is offline
Member
 
Join Date: Apr 2006
Posts: 41
Thanks: 3
Thanked 1 Time in 1 Post
Default Backup - Unchanged files

Hi all. While doing backups over time I have tried to analyse the space usage of these backups. What made me dig deeper is the fact that incrementals were constantly backing up rather old files... like
/var/www/web40/log/2006/12/web.log

looking at the stat output for this file:

Code:
Access: 2008-03-25 20:33:11.000000000 +0100
Modify: 2007-01-01 00:30:04.000000000 +0100
Change: 2008-03-26 00:30:06.000000000 +0100
The last access timestamp is the actual backup process (tar), but the change timestamp is a riddle to me... must be this ispconfig cron job:

Code:
30 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php &> /dev/null
Does the log cron job do something to the "old" files, and every time it runs?

If yes, can that behaviour be changed?
If no, what else could it be?
Reply With Quote
Sponsored Links
  #2  
Old 27th March 2008, 16:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

Quote:
Originally Posted by RicochetPeter
Does the log cron job do something to the "old" files, and every time it runs?
Yes, it greps all accesses for that web site from the overall Apache access log (in /var/log/httpd) and adds them to the web.log.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 27th March 2008, 17:38
RicochetPeter RicochetPeter is offline
Member
 
Join Date: Apr 2006
Posts: 41
Thanks: 3
Thanked 1 Time in 1 Post
 
Default

OK, so... I use tar with the --listed-incremental option. Does anyone know how to make tar backup only files that -in the wording of stat- habe been "modified", not "changed"?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig doesn't create anymore backup of configuration files since upgrade ADM Installation/Configuration 1 7th December 2007 19:24
Backup not all files included?? statiic General 19 23rd January 2007 21:03
Network questions regarding Ubuntu Server lubod Installation/Configuration 7 3rd January 2007 18:53
Backup missed files adamluz General 1 31st October 2006 09:49
Backup files windows <-> linux namit Server Operation 3 5th January 2006 18:30


All times are GMT +2. The time now is 22:45.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.