Opened 9 years ago

Closed 8 years ago

#3293 closed defect (fixed)

bridgedb backs up assignments.log file but has no rotation strategy

Reported by: arma Owned by:
Priority: Medium Milestone:
Component: Circumvention/BridgeDB Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


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.

Child Tickets

Change History (1)

comment:1 Changed 8 years ago by weasel

Resolution: fixed
Status: newclosed

the bridgedb user on ponticum now runs logrotate with dateext. things should all get synced properly. if not, create a new ticket.

Note: See TracTickets for help on using tickets.