Review your favorite Linux distribution.
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, 07:43 AM   #1
Registered: Jun 2007
Distribution: Debian Jessie, Bunsenlabs
Posts: 586

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 09:44 AM
backups using tar and rsync cucolin@ Linux - Server 2 04-03-2007 12:25 AM
Rsync backups gabsik Linux - General 3 11-24-2006 07:14 PM
Rsync backups gabsik Linux - Networking 1 03-30-2006 10:31 AM
Rsync for incremental backups? Phaethar Linux - Software 3 12-04-2003 01:27 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:16 PM.

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
Open Source Consulting | Domain Registration