Find the answer to your Linux question:
Results 1 to 2 of 2
Hey Guys, I'm working on a backup solution, but I need a few ideas. I was hoping some of you could help me out, I can pay in E-Cookies. Basically ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2008
    Posts
    1

    RSync Help


    Hey Guys,

    I'm working on a backup solution, but I need a few ideas. I was hoping some of you could help me out, I can pay in E-Cookies.

    Basically I want to use RSync as a backup solution of only altered files from a base install as so-

    Base Install
    /install
    -/dir1
    --file1
    --file2
    -/dir2
    --file1
    -/dir3
    --file1
    --file2
    --file3

    Lets say they add this-
    /install
    -/dir1
    --newfile1
    --newfile2
    --file1
    --file2
    -/dir2
    --file1
    --newfile1
    -/dir3
    --file1
    --file2
    --file3
    -/newdir1
    --newfile1
    --newfile2

    Basically since I know the "Base Install" I want to only backup the new files/folders. So the only things rsynced would be this-

    /backup
    -/dir1
    --newfile1
    --newfile2
    -/dir2
    --newfile1
    -/newdir1
    --newfile1
    --newfile2

    I've been looking into --exclude, but it assumes I know what there is to exclude, where in this case I would not know. I would know what the base install is supposed to include though.

    Any ideas?

  2. #2
    Just Joined!
    Join Date
    Jan 2007
    Posts
    3
    Since you know the files that constututes your base install, you can use
    --exclude-from=exclude_file
    Where exclude_file is a text file which contains base install files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •