LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 12-04-2013, 02:03 AM   #1
depam
Member
 
Registered: Sep 2005
Posts: 856

Rep: Reputation: 30
rsync multiple filesystem to one big FS


If let's say there are more than two filesystem /fs1 /fs2 /fs3 and I want to rsync it to /fs_new which is a bigger capacity. Is it possible to rsync those without deleting the previously rsync files to the destination?
 
Old 12-04-2013, 02:40 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2400Reputation: 2400Reputation: 2400Reputation: 2400Reputation: 2400Reputation: 2400Reputation: 2400Reputation: 2400Reputation: 2400Reputation: 2400Reputation: 2400
Quote:
Originally Posted by depam View Post
If let's say there are more than two filesystem /fs1 /fs2 /fs3 and I want to rsync it to /fs_new which is a bigger capacity. Is it possible to rsync those without deleting the previously rsync files to the destination?
What exactly are you trying to accomplish? Which files should not be deleted (source or target)?

The only possible problem I see is if, for example, /fs1 and /fs2 both have the same directory structure and file names (/fs1/foo/fubar.txt and /fs2/foo/fubar.txt) If both are rsynced to /fs_new then you end up with one /fs_new/foo/fubar.txt

rsync does have options to prevent overwriting or overwrite in special conditions (size vs time).
 
  


Reply


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
I need to combine 6 different filesystems into one filesystem using rsync. Help. kmagitz Linux - General 3 01-01-2011 06:24 AM
Need to rsync 8 different filesystems into one new filesystem - Help, please!! kmagitz Linux - Newbie 1 12-27-2010 07:20 PM
Migrating a live filesystem with rsync? ricbax Linux - General 11 12-18-2006 09:59 PM
Rsync Entire Filesystem? sutley Linux - Newbie 4 10-04-2006 06:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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