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?

UNIX / Linux Dump Command Exclude Directories / Files

in Categories , , , , , , , , , , last updated June 20, 2009

I‘m using dump command to backup file systems to tape and remote server. However, I’m not able to find any option that will allow me to exclude files or directories from backup. How do I force UNIX / Linux / FreeBSD dump command to exclude selected files (such as /var/cache or /usr/basejails) which I don’t want to backup?

Tar Extract a Single File(s) From a Large Tarball

in Categories , , , , , , , , , , , , , last updated December 6, 2008

Q. I’ve couple of large tarballs such as www.tar and images.tar. Is it possible to extract a single file or a list of files from a large tarball such as images.tar instead of extracting the entire tarball? How do I extract specific files under Linux / UNIX operating systems?

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?