I have a dedicated server hosting a MySQL database, and want to use replication to have an always up-to-date backup somewhere.
I chose to use Amazon RDS as my replica, and I'm following this guide:
Replication with a MySQL Instance Running External to Amazon RDS
What I fail to understand however, is who/what is supposed to take care of purging binary logs. The only configuration I found is expire_logs_days, which the documentation describes as:
You can also set the expire_logs_days system variable to expire binary log files automatically after a given number of days (...). If you are using replication, you should set the variable no lower than the maximum number of days your slaves might lag behind the master.
Is this the standard procedure DBAs use?
Isn't it possible to have RDS, which is the only replica, purge the logs on the master as soon as it's processed them?