Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Thursday, August 25, 2011

Backup & Bulk Copy(Linux)

The best  Linux utility to synchronize data is rsync.
 rsync allows you to copy recursively inside the machine and even on remote machines.
As the name suggests, the synchronization utility, which means to copy only the changes rather than the entire file, and also maintain a property and file permissions

The operation is quite simple

$ Rsync [options] source target

 example

$ Rsync-arh / home / clubhack / / mnt / backup

Now if you want to use the same rsync to transfer the file on the remote machine would be the best solution
$ Rsync-aH / my_dir / remoteip: / path / to / dir /

In order to preserve permissions, ownership, group and time stamp, you can choose to use switches like-p,-o,-g,-t etc.

You can also choose which files to include or exclude the synchronization settings.





READ MORE - Backup & Bulk Copy(Linux)

splash on firewalls(linux)

Linux is much easier on the command line

For a complete configuration, the simplest

iptables-L

You can do a little 'fast

iptables-nL

-N by the order to stop a reverse lookup and thus increase performance.

You can make it

iptables-t nat-L

iptables-t missing NL

iptables-t filter-L

iptables-t raw-NL

This list (-L), in particular, (t) of the chain, no reverse lookup (n).

READ MORE - splash on firewalls(linux)