[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #3293 [BridgeDB]: bridgedb backs up assignments.log file but has no rotation strategy
#3293: bridgedb backs up assignments.log file but has no rotation strategy
----------------------+-----------------------------------------------------
Reporter: arma | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: BridgeDB | Version:
Keywords: | Parent:
Points: | Actualpoints:
----------------------+-----------------------------------------------------
The bridgedb user has this cron tab line:
{{{
@hourly rsync -e 'ssh -i .ssh/id_sync_assign' -av run/assignments.log
bridges@xxx:assignments> /dev/null
}}}
But if assignments.log gets huge, we'll want to mv it somewhere and
compress it, like I did today.
Then the next time bridgedb appends to assignments.log, the cron will blow
away all the lines in the backup version of the file.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3293>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs