logo       

rsnapshot not creating hard links?: msg#00082

sysutils.backup.rsnapshot.general

Subject: rsnapshot not creating hard links?

I just started using rsnapshot, but it's gone through a few hourly backups, and I'm not getting the results that I expected. From what I read, I'm supposed to have a hard link to every file in each of the hourly.0, hourly.1 , etc directories that points to the version of the file that was there when the snapshot was taken.

Instead, hourly.2 (the oldest at the moment) contains most of the files (~180GB), and hourly.1 and hourly.0 each contain ~30GB of files. Overall, around 210GB of files are being backed up, and no more than 1GB or so should have changed in between snapshots. In the hourly.0 and hourly.1 directories, there are no hard links to the previous copy of the files, and there are full copies of files that didn't change.

# rsnapshot du
31G     /backup/hourly.0/
29G     /backup/hourly.1/
182G    /backup/hourly.2/
241G    total

# du -csh hourly.0/ hourly.1/ hourly.2/
35G     hourly.0/
29G     hourly.1/
182G    hourly.2/
244G    total

# du -sh hourly.0/ hourly.1/ hourly.2/
35G     hourly.0/
30G     hourly.1/
211G    hourly.2/

# cat /etc/rsnapshot.conf | grep '^[^#]'
config_version  1.2
snapshot_root   /backup/
cmd_cp          /bin/cp
cmd_rm          /bin/rm
cmd_rsync       /usr/bin/rsync
cmd_ssh /usr/bin/ssh
cmd_logger      /usr/bin/logger
cmd_du          /bin/du
interval        hourly  4
interval        daily   7
interval        weekly  4
link_dest       1
verbose         2
loglevel        3
logfile /var/log/rsnapshot
lockfile        /var/run/rsnapshot.pid
backup  root@alpha:/home/       alpha/
backup  root@alpha:/etc/        alpha/
backup  root@alpha:/root/       alpha/
backup  /home/                  beta/

As you can see from the conf file, I'm backing files up from alpha onto beta, and also from beta onto a separate hard drive on beta. It seems to be making a full copy of the files on beta every time, and failing to do something else correctly on alpha. Both machines have been on the whole time. Can anyone provide some insight?

--
Matt Hansen
Electrical Engineering and Physics at MTU
Aerospace Enterprise - GNC Team Leader
(906) 370.3011
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise