LinuxQuestions.org
Help answer threads with 0 replies.
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 10-21-2003, 07:25 PM   #1
bkeating
Member
 
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Rep: Reputation: 38
rsync - need some argument help


I would like to copy all paritions from computer1 to a directory on a backup partition on computer2 except for /proc /tmp /usr/home (but still copy the rest of /usr).


I have been dealing with this problem all day and have a few backups but would like to rsync the ENTIRE system over to a remote directory, just to play it safe.

my paritions are this;


Code:
Filesystem         Size   Used  Avail Capacity  Mounted on
/dev/da0s1a        252M    93M   138M    40%    /
/dev/da0s1e       1008M   140K   927M     0%    /tmp
/dev/da0s1g        301M   179M    99M    64%    /oldusr
/dev/vinum/usr      90G   4.8G    78G     6%    /usr
/dev/da0s1f        5.9G   630M   4.8G    11%    /var
procfs             4.0K   4.0K     0B   100%    /proc
second:/usr/home    56G    49G   2.1G    96%    /usr/home
Again, I'd like to copy all but(!) /tmp /proc /usr/home

and within / I have no need to copy /dev



So far, this is what im considering using at the cmd line;

Code:
rsync -arzlpxP --exclude=/dev/*  /  root@192.168.1.5:/backup
what are your thoughts?
 
  


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
argument to sighandler new user Programming 1 11-17-2005 08:29 AM
Windows Rsync Upload to Linux Rsync - permissions inspleak Linux - Software 0 10-12-2004 03:49 PM
Argument Arrays saiz66 Programming 3 09-29-2004 11:55 PM
I need help in an argument! cleorobrepixbox General 11 09-23-2004 09:29 PM
C++ Function Argument gamehack Programming 1 09-13-2004 09:50 AM


All times are GMT -5. The time now is 06:18 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration