Re: Plan 9 style backup utility for FreeBSD?

2004-01-07 Thread Scott Mitchell
On Wed, Jan 07, 2004 at 03:08:24PM +0100, Martin Brecher wrote:
> Scott Mitchell wrote:
> [...]
> >>
> >>Is there some standard tool for doing this on FreeBSD?  You can't just
> >>do a direct copy cause this results in major disk space wastage so I'm
> >>imagining you need to use hard links or something to keep the size down.
> >
> >
> >Check out rsync and the "--link-dest=DIR" option.  This will hardlink
> >unchanged files to the previous copy in the link-dest directory, rather
> >than copying the data again.
> >
> 
> I just saw a project named rsnapshot on freshmeat.net:
> 
>   rsnapshot is a filesystem snapshot utility based on rsync. It
>   makes it easy to make periodic snapshots of local machines, and
>   remote machines over ssh. It uses hard links whenever possible,
>   to greatly reduce the disk space required.
> 
> Homepage is . Does not seem to be in the 
> ports collection, though.

Sounds like it could be useful.  Might look into this as a replacement for
the various scripts and command-lines-sribbled-on-bits-of-paper that do the
backups at the moment :-)

Scott

-- 
===
Scott Mitchell   | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into jet engines"
scott at fishballoon.org | 0xAA775B8B |  -- Anon
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Plan 9 style backup utility for FreeBSD?

2004-01-07 Thread Martin Brecher
Scott Mitchell wrote:
[...]
Is there some standard tool for doing this on FreeBSD?  You can't just
do a direct copy cause this results in major disk space wastage so I'm
imagining you need to use hard links or something to keep the size down.


Check out rsync and the "--link-dest=DIR" option.  This will hardlink
unchanged files to the previous copy in the link-dest directory, rather
than copying the data again.
I just saw a project named rsnapshot on freshmeat.net:

rsnapshot is a filesystem snapshot utility based on rsync. It
makes it easy to make periodic snapshots of local machines, and
remote machines over ssh. It uses hard links whenever possible,
to greatly reduce the disk space required.
Homepage is . Does not seem to be in the 
ports collection, though.

Greetings,
Martin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Plan 9 style backup utility for FreeBSD?

2004-01-03 Thread Scott Mitchell
On Fri, Jan 02, 2004 at 09:26:59AM -0800, Eric Rescorla wrote:
> I'm finally getting to the point where my disk capacity massively
> outruns my tape capacity, so I'm thinking of converting to removable
> disk-only backup. I could just use Amanda to backup to disk, but I'm
> intrigued by Plan 9's archival filesystem where backups from (say Jan 1,
> 1999) would go in /1999/1/1 and you could just find the files directly
> rather than grovelling through dump files. 
> 
> Is there some standard tool for doing this on FreeBSD?  You can't just
> do a direct copy cause this results in major disk space wastage so I'm
> imagining you need to use hard links or something to keep the size down.

Check out rsync and the "--link-dest=DIR" option.  This will hardlink
unchanged files to the previous copy in the link-dest directory, rather
than copying the data again.

Scott

-- 
===
Scott Mitchell   | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into jet engines"
scott at fishballoon.org | 0xAA775B8B |  -- Anon
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Plan 9 style backup utility for FreeBSD?

2004-01-02 Thread paul beard
On Jan 2, 2004, at 9:26 AM, Eric Rescorla wrote:

I'm finally getting to the point where my disk capacity massively
outruns my tape capacity, so I'm thinking of converting to removable
disk-only backup. I could just use Amanda to backup to disk, but I'm
intrigued by Plan 9's archival filesystem where backups from (say Jan 
1,
1999) would go in /1999/1/1 and you could just find the files directly
rather than grovelling through dump files.

Is there some standard tool for doing this on FreeBSD?  You can't just
do a direct copy cause this results in major disk space wastage so I'm
imagining you need to use hard links or something to keep the size 
down.

I followed this on your weblog and I may be missing something: I keep 
coming back to some cocktail of find(1), ctime(3), diff(1) and friends 
(pax, tar) to locate and mirror only changed files in a duplicated 
hierarchy. If I'm understanding it, in 1999/1/1 you might have a file 
tree that looks like the "live" one with only files that were modified 
on 1999/1/1, but all other files would be links back to their unchanged 
versions.

I like the idea of it.
--
Paul Beard

paulbeard [at] mac.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"