Backing up multiple user data

Janina Sajka janina at rednote.net
Wed Sep 29 19:20:01 EDT 2004


Ah, yes, I understand your predicament now. I wondered where you were
coming from, because it seems you would be on top of doing this via tar.
But, one does need room to construct the archive.

Of course, I could offer you space to do it--and will if you'd like. But
that doesn't satisfy the problem directly.

I wonder if there's a way to set tar up on the target system to take its
input on some particular port and have rsync talk directly to that port?
I know you can do that with rsync, but don't know about tar.

But, something like that might work, it seems, especially if you first
put up the directory tree so there was the skelaton of a file system to
go to? I guess I don't understand enough of how tar works, so let me
take the app out of the picture.

Generically, it seems what you want is some kind of daemon listening on
the target machine that will faithfully accept data into a container.
And Isn't this the basic principle underlying network based backups?
Seems there's a way to do this. I just don't know what it is exactly.

Luke Davis writes:
> Janina
> 
> Yes, tar does have those capabilities, and I have used it for exactly this 
> purpose.  It's only drawback in this regard, is the need for the 
> intermediate step, of storing the archived data locally, while the copy is 
> in progress.
> Rsync does the transfer in (near) realtime, so does not have that problem.
> 
> Now, if I had a ten GB partition to backup, and 8 GB was available, then 
> there would be no problem using tar.  However, if you flip that, to 8 GB 
> used, even with compression, tar isn't going to cut it, without some 
> really intricate juggling.
> 
> 
>  On Tue, 28 Sep 2004, Janina Sajka wrote:
> 
> >Good morning, Luke,
> >
> >Isn't this another job for tar? I see a -p for preserve permissions, as
> >well as a --same-owner switch.
> >
> >It would seem that exactly this situation would have been a common user
> >requirement historically for tar.
> >
> >Luke Davis writes:
> >>If rsync is used to backup data for multiple users, on to a system whereon
> >>the recipient for the files, is a single user, rsync will, of course, set
> >>the user and group of all files, to the recipient user.
> >>
> >>If dealing with a large number of users, it is less than ideal, to create
> >>all of the users on the target backup server.
> >>
> >>Is there any way to do such backups, in the rsync method, while still
> >>preserving ownership data, but without creating all of the users involved?
> >>Some sort of meta ownership data.
> >>
> >>If not, what might be another method of doing this?
> >>
> >>_______________________________________________
> >>Speakup mailing list
> >>Speakup at braille.uwo.ca
> >>http://speech.braille.uwo.ca/mailman/listinfo/speakup
> >
> >
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
	
				Janina Sajka, Chair
				Accessibility Workgroup
				Free Standards Group (FSG)

janina at freestandards.org	Phone: +1 202.494.7040





More information about the Speakup mailing list