Next badge 0/1
~1k people reached
- 0 posts edited
- 0 helpful flags
- 5 votes cast
What's the best way to automate backing-up of PostgreSQL databases?
Great script, but I found I needed to tweak the regex such that it didn't include pipes and blank lines as database names.
Prioritise ssh logins (nice)
I'll look into cgroups. Re limits.conf, I guess that would only come into effect once sshd has accepted the connection and launched a shell process under my username. I wonder if I should also edit /etc/init/ssh.conf (upstart) and add a nice -15 to sshd to prioritise the actual sshd daemon?