摘要: 导出用户清单查询脚本: su - gitlab-psql -c "echo 'select id,username,name,email,state,created_at,last_sign_in_at from users order by created_at desc;' |psql -h / 阅读全文