Rsync Preserve / Copy Hard Links ( Backup Rsnapshot Directory Tree )

in Categories , , , , , , , last updated February 14, 2018

I‘m using rsnapshot filesystem snapshot utility to make incremental snapshots of local and remote filesystems for 10 production servers running on RHEL 5.x system. The rsnapshot commands makes extensive use of hard links, so if the file doesn’t change, the next snapshot is simply a hard link to the exact same file. How do I use the rsync command to copy my the entire snapshot directory /raid6/rsnapshot/ (around 4TB) to a remote server for mirroring purpose?

Rsnapshot WARNING: Could not lchown() symlink "/path/to/file" Error and Solution

in Categories , , , , , , , , , , last updated November 3, 2009

I got rsnapshot based backup server up and running for my network under Debian Linux 5.x. But, whenever I run a backup job using the following command:

rsnapshot -v -c /root/rsnapshot.server1.conf hourly
I get the following messages on screen:

WARNING: Could not lchown() symlink “/nas/.rsnapshot/hourly.1/server1.example.com/etc/alternatives/locate”
WARNING: Could not lchown() symlink “/nas/.rsnapshot/hourly.1/server1.example.com/etc/alternatives/nc.1.gz”
WARNING: Could not lchown() symlink “/nas/.rsnapshot/hourly.1/server1.example.com/etc/alternatives/jexec-binfmt”
WARNING: Could not lchown() symlink “/nas/.rsnapshot/hourly.1/server1.example.com/etc/alternatives/servertool”

How do I fix this problem?

How to install rsnapshot remote backup server on Red Hat/CentOS Linux

in Categories , , , , , , , last updated December 4, 2017

I have HP server with hardware RAID 6 running RHEL/CentOS Linux 5.x/6.x/7.x. I would like to act this box as a backup server for my other servers, desktops and laptops computers all powered by Linux/macOS or Unix-like system The server must keep backup in hourly, daily and monthly format. How do I configure my Red Hat Enterprise Linux or CentOS Linux server as remote backup or snapshot server using rsnapshot?

Debian / Ubuntu Linux Install and Configure Remote Filesystem Snapshot with rsnapshot Incremental Backup Utility

in Categories , , , , , , last updated December 18, 2016

I would like to configure my Debian box to backup two remote servers using rsnapshot software. It should make incremental snapshots of local and remote filesystems for any number of machines on 2nd hard disk located at /disk1 ( /dev/sdb2). How do I install and use rsnapshot on a Ubuntu or Debian Linux server?