Re: [SLE] Can anyone recommend a backup program/script for home user?
From: Bruce Marshall (bmarsh_at_bmarsh.com)
Date: 11/23/03
- Previous message: Henne Vogelsang: "Re: [SLE] question about config.gz"
- In reply to: Bernd: "Re: [SLE] Can anyone recommend a backup program/script for home user?"
- Next in thread: Bernd: "Re: [SLE] Can anyone recommend a backup program/script for home user?"
- Reply: Bernd: "Re: [SLE] Can anyone recommend a backup program/script for home user?"
- Reply: Tom Nielsen: "Re: [SLE] Can anyone recommend a backup program/script for home user?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: SLE <suse-linux-e@suse.com> Date: Sun, 23 Nov 2003 12:32:57 -0500
On Sunday 23 November 2003 12:09 pm, Bernd wrote:
> I've been seeing the responses on this thread, yet I wonder if I would
> also have success with rsync.
>
> I'm on a standalone, using 9.0 pro. I would like to backup modified
> and new files to a seperate partition. Rsync appears to be for
> 'sync'ing files over a network.
>
> Would it work for me, or is there something better?
I think rsync is just what you want. Let's assume you want to keep a
backup of the /home/foo/ directory. So you make a directory
(hopefully on another drive but for the sake of this example) at /usr/
local/foo2/
Then run the command:
rsync -auvzr --delete /foo/ /usr/local/foo2/
This is exactly what I use between machines or locally. If to another
machine I add the parm: -e ssh to use ssh to do the connection.
The above, run every <once in awhile> will keep /foo2/ in sync with /
foo/, and it would only copy the new and updated files once you made
your initial run at it.
The --delete will delete from /foo2/ anything you have deleted from /
foo/
Note the use of the trailing slash. It's important when using rsync to
copy directories...
By the way, if you add an 'n' to the mix (-auvzrn) it will show you the
files that it WOULD copy but it won't actually copy them. For testing.
man rsync is your friend.
-- +---------------------------------------------------------------------------- + + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 11/23/03 12:28 + +---------------------------------------------------------------------------- + 'If truth is beauty, how come no one has their hair' 'done in the library?' -- Lily Tomlin -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
- Previous message: Henne Vogelsang: "Re: [SLE] question about config.gz"
- In reply to: Bernd: "Re: [SLE] Can anyone recommend a backup program/script for home user?"
- Next in thread: Bernd: "Re: [SLE] Can anyone recommend a backup program/script for home user?"
- Reply: Bernd: "Re: [SLE] Can anyone recommend a backup program/script for home user?"
- Reply: Tom Nielsen: "Re: [SLE] Can anyone recommend a backup program/script for home user?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|