Questions with rsync

L yuanlux at gmail.com
Wed Jun 3 12:55:43 UTC 2009


On Wed, Jun 3, 2009 at 8:02 PM, GMS S <gmspro at yahoo.com> wrote:
>
> Will this command do the job for backup?
>
> rsync -vpa / /home/user/backup
>
> How would I exclude these files below:
>
> /lost+found
> /media
> /mnt
>


if you man rsync , you can see two options for you:

            --exclude=PATTERN       exclude files matching PATTERN
            --exclude-from=FILE     read exclude patterns from FILE



> and others which I do not need.
>
> And what is the compression lever by rsync (using -a option)?
>
>
>
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>




More information about the fedora-list mailing list