[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

logrotate: olddir on different device?



Hi!

I'd like logrotate to move old (compressed) logfiles to a directory on a different device (from SD card to hard disk in this case). Unfortunately the "olddir" config option only works if both directories are on the same device (probably for easier handling of the first rotate step). Lastaction would be an option, but then I'd need to duplicate the entire rotation / removal logic (configured per logfile).
Maybe someone has a better idea?

CU Sascha

--
http://sascha.silbe.org/
http://www.infra-silbe.de/

Attachment: signature.asc
Description: Digital signature


Reply to: