Linux incremental backup

Linux Incremental Backup: Create Backups with tar

How do I create a true incremental backup without using rsync? Try: tar --listed-incremental=/backup/snapshot.snar -czf /backup/incr_$(date +%Y%m%d).tar.gz /home/linuxteck Info: tar --listed-incremental tracks file state in a .snar metadata file. The initial run produces a full backup, while subsequent runs only capture modified files. Examples: $ tar --listed-incremental=/dev/null -czf full.tar.gz /data […]

Read More
DNS lookup time

DNS Lookup Time: Measure Network Latency with curl

How do I measure DNS lookup, connect, and download time separately? Try: curl -w '@-' -o /dev/null -s https://google.com <<'EOF'   time_namelookup: %{time_namelookup}s   time_connect: %{time_connect}s   time_appconnect: %{time_appconnect}s   time_pretransfer: %{time_pretransfer}s   time_starttransfer: %{time_starttransfer}s   time_total: %{time_total}s EOF Info: curl -w customizes output formatting using predefined variables. Breaking down […]

Read More