zeldor.biz

Linux, programming and more

Copyright © 2023
Log in

Diff two directories in Linux

December 23, 2020 by Igor Drobot Leave a Comment

For a couple of Linux/Unix systems I run daily backup over rsync.
The filesets are nearly static, so the the backup duration is nearly identical each day. Between 22 and 30 minutes for 21-systems. But there are also days, with a longer backup durations.

[Read more…]

Filed Under: Linux Tagged With: backup, rsync

Rsync over SSH

January 19, 2014 by Igor Drobot Leave a Comment

Rsync over SSH

In some special cases is a VM accessible over NAT and on different port as usually 22.
In this case – SSH is running on port 222.
This make the rsync operation little bit complexer:

1
rsync -vraze 'ssh -p 222' root@remote:/source/ /destination/

rsync -vraze 'ssh -p 222' root@remote:/source/ /destination/

Filed Under: Linux Tagged With: NAT, rsync, ssh

Linux Process Control

July 5, 2012 by Igor Drobot Leave a Comment

Last week I bought a new HDD for one friend and I started a rsync process on my tiny home-server to copy some stuff – it was around 190 GB of different stuff.

This command looks very simple and without unnecessary options but my 400 MHz CPU was pretty quick hot and I got a [Read more…]

Filed Under: Debian, Kernel, Linux, Ubuntu Tagged With: nice, PID, priority, Process, renice, rsync

Rsync Server

July 8, 2011 by Igor Drobot Leave a Comment

Another different method to create your backups over network, a client data establish a connection to a rsync daemon server.

I describe a simple method without authentication (trusted LAN). [Read more…]

Filed Under: Linux Tagged With: backup, rsync, rsync server, Squid, squid.conf, Webfilter

Rsync with progress bar

June 6, 2010 by Igor Drobot Leave a Comment

1
rsync -azv --progress /opt/Samba/* root@server:

rsync -azv --progress /opt/Samba/* root@server:

9142272 2% 2.86MB/s 0:01:48

Filed Under: Linux Tagged With: Linux, rsync