tar cvzf rpmdb-backup.tar.gz /var/lib/rpm
rpm -qa | sort
The first line is to backup your database
The second to remove locks
The third to rebuild your database
The fourth to check if all is ok
Here is the best article I read on how to secure REST API and even make a full stateless architecture by using JWT token to store all user d...