LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-21-2008, 09:46 AM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Rsync Command Destroyed my Server = :(


So I am replacing a server with a new one however I wanted to move all the data from my /builds partition on old server (lt2fs3) to the new server (lt2fs4) and when I ran the following command - I basically destroyed the entire new server (lt2fs4).

The command I ran was:

Code:
rsync -ave ssh --stats --delete-after /builds/ lt2fs4:/
I am running the above command from the old server obviously.

Anyone know what I did wrong? The new server was completely hosed...

Last edited by carlosinfl; 02-21-2008 at 09:52 AM.
 
Old 02-21-2008, 10:00 AM   #2
0.o
Member
 
Registered: May 2004
Location: Raleigh, NC
Distribution: Debian, Solaris, HP-UX, AIX
Posts: 208

Rep: Reputation: 35
rsync -ave ssh --stats --delete-after /builds lt2fs4:/
 
Old 02-21-2008, 10:27 AM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
Quote:
Originally Posted by 0.o View Post
rsync -ave ssh --stats --delete-after /builds lt2fs4:/
Oh, so that trailing "/" after builds is what did it for me?
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Exclude function On rsync command its_joy Linux - Server 5 01-18-2008 04:25 AM
Help with rsync command (or script) multiple file backups luis14 Linux - Software 3 11-08-2007 10:07 PM
excluding folders in a rsync command troubles cucolin@ Linux - Server 18 04-10-2007 10:59 AM
Rsync server vs rsync over ssh humbletech99 Linux - Networking 1 10-18-2006 12:10 PM
win98after login on SAMBA server destroyed the HOME dir ShurV Linux - Networking 0 11-02-2003 07:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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