Quantcast
Channel: Linux eGuides » Example
Browsing all 4 articles
Browse latest View live

mysqldump example

You can use mysqldump to create a simple backup of your database using the following syntax. mysqldump -u username -ppassword database_name > dump.sql Replace username with a valid MySQL user ID,...

View Article



rsync examples

Suppose you have a directory called source, and you want to back it up into the directory destination. To accomplish that, you’d use: rsync -a source/ destination/ Just to whet your appetite, here’s a...

View Article

Sample logrotate configurations

Logrotate is a great utility to manage and administer log files in a system. It provides you with a lot of options, namely, automatic rotation, compression and mailing of log files. Each log file can...

View Article

Save and Restore Iptables

Use : iptables-save > somefile iptables-restore < somefile

View Article
Browsing all 4 articles
Browse latest View live




Latest Images