Similar Posts
Protected: How to Configure Cpanel/WHM to Backup to Amazon S3 (Step by Step of Enabling Permissions in AWS)
BySamThere is no excerpt because this is a protected post.
/bin/rm: Argument list too long
BySamIf you have too many files to remove, try this trick: find . -name ‘*’ | xargs rm -v
How to configure the passive ports range for ProFTPd on a Plesk server behind a firewall
BySamQuestion How to configure the passive ports range for ProFTPd on a server behind a firewall? Answer Note: When configuring the passive port range, a selected port range must be in the non-privileged range (e.g., greater than or equal to 1024). It is strongly recommended that the chosen range should be large enough to handle…
OpenVZ useful commands
BySamOpenVZ useful commands Here is the list of some useful OpenVZ commands which should be run from the main node : 1. To fetch the consumption of disk for each container in the node along its it’s hostname and ctid vzlist -H -o veid,hostname,diskspace | awk ‘{ printf(“%d\t%s\t%.2f GB\n”, $1, $2, $3/(1024*1024))}’ 2. To…
Protected: Bash scripts to backup all databases in a MySQL server with the option to exclude some databases.
BySamThere is no excerpt because this is a protected post.
- General | Plesk | WHM / cpanel
How can I BACKUP a MySQL database from the command line?
BySamPerforming a MySQL Database Dump From your SSH command prompt type … mysqldump -u {username} -p {password} {databasename} > {databasename.sql} Replace the parameters with the appropriate values {username} – this is your database username {password} – this is the password for your database {databasename} – the name of your database {databasename.sql} – the file to…
