Welcome to the most active Linux Forum on the web.
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 10-21-2003, 06:25 PM   #1
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;

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;

rsync -arzlpxP --exclude=/dev/*  /  root@
what are your thoughts?


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

All times are GMT -5. The time now is 04:44 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
Open Source Consulting | Domain Registration