在Ubuntu上回收数据库数据,因数据库类型不同方法有所差异,以下是MySQL和PostgreSQL的常见方法:
mysql
mysql -u root -p database_name < backup.sql
mysqlbinlog
ROLLBACK
VACUUM FULL