View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-21-2008, 08:43 AM   #1
Registered: Jun 2007
Distribution: Debian Wheezy, CrunchBang Waldorf
Posts: 539

Rep: Reputation: 38
Problem using rsync for backups: link-dest

I'm trying to learn to use rsync to make incremental backups.
I tried to do this in a practice and have problems:

I have a couple of files in a directory: prac.
I ran the following commands:
cp -ar prac prac2.
rsync -avh --link-dest=prac2 prac/ prac3/
I then made changes to the files in prac2, but the changes weren't applied
to the files in prac3.
From what I've studied --link-dest should hard link the files in prac2 and prac3 together.
All these files are in my home directory.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rsync for incremental backups Meson Linux - General 1 10-30-2007 10:44 AM
backups using tar and rsync cucolin@ Linux - Server 2 04-03-2007 01:25 AM
Rsync backups gabsik Linux - General 3 11-24-2006 08:14 PM
Rsync backups gabsik Linux - Networking 1 03-30-2006 11:31 AM
Rsync for incremental backups? Phaethar Linux - Software 3 12-04-2003 02:27 PM

All times are GMT -5. The time now is 10:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration