Hot answers tagged rotation
I wrestled with the same problem. My solution was to lock down the control panel and disable the Intel program. I disabled the Intel program with a startup script that ran a registry update: startup.bat: reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v IgfxTray /f
Amanda and BackupPC are both widely-used and well-respected F/OSS backup utilities. Either one of them could be configured to maintain the backup aging/rotation that you specified. If you wanted something more simple, you could look into rdiff-backup or rsnapshot.
Write a logrotate config to use copytruncate copytruncate Truncate the original log file in place after creating a copy, instead of moving the old log file and optionally creating a new one. It can be used when some program cannot be told to close its logfile and thus might continue writing (appending) to the previous log file forever. Note ...
Dumpcap should do what you need. dumpcap -w /tmp/output.pcap -b filesize:20000 -b files:10 will rotate through a maximum of 10 files with a maximum size of 20 MB. Each file has a unique name, e.g. output_00018_20100315122857.pcap. Daemonlogger should work as well, but I haven't used it.
A shell script can handle backups up to a certain point of complexity. You also have tools that leverage tar and rsync to accomplish even more convoluted tasks (rsnapshot, for example). However, it looks like you need a very fine-grained backup and retention policy that a shell script might not be well suited to handle unless it is unnecessarily complicated ...
I disagree with dawud and think simple backups are the best. What you really need is not a smarter way of deleting things (though that wouldn't be a bad idea, I wrote something similar which simply keeps the last N backups), but proper monitoring of your filesystem so you'll notice it filling up well before it does and you can take action. That way you ...
I've seen what you're looking for, but only with to-disk backups in the mix. How such a rotation generally works: Incrementals are spun to disk, daily. The disk-version of the incrementals are spun to tape, generally multiplexed for fast processing. The Incrementals are kept for a week. Once a week, a "virtual full" backup is created. A 'virtual full' ...
http://httpd.apache.org/docs/2.2/programs/rotatelogs.html rotatelogs is a simple program for use in conjunction with Apache's piped logfile feature This means that to use rotate logs the application you have must have the ability log to a pipe, be configured to send the logs to the rotatelogs stdin.
Students you say? Sounds like a job for Windows SteadyState. http://www.microsoft.com/windows/products/winfamily/sharedaccess/default.mspx Alternatively, you could uninstall the Intel driver package and use the standard VGA driver.
The touch /etc/crontouchtest bit is something I inserted to verify when the file is run successfully. It updates the last used time (ls -lut /etc/crontouchtest) when I execute the run-parts as root, but not when the cron.daily runs. If I read that correctly, /etc/crontouchtest does not get updated when cron runs the cron.daily tasks. This, coupled with ...
Only top voted, non community-wiki answers of a minimum length are eligible