Hi,
This might differ between filesystems / versions of dump, but atleast in my
ubuntu 7.10, I saw the following in the man page of dump (for ext2/3):
-level#
The dump level (any integer). A level 0, full backup,
specified by -0 guarantees
the entire file system is copied (but see also the -h option
below). A level num-
ber above 0, incremental backup, tells dump to copy all
files new or modified
since the last dump of a lower level. The default level is
9. Historically only
levels 0 to 9 were usable in dump, this version is able to
understand any integer
as a dump level.
and from xfsdump manpage:
-l level
Specifies a dump level of 0 to 9. The dump level determines the
base dump to which
this dump is relative. The base dump is the most recent dump
at a lesser level. A
level 0 dump is absolute - all files are dumped. A dump level
where 1 <= level <= 9
is referred to as an incremental dump. Only files that have
been changed since the
base dump are dumped. Subtree dumps (see the -s option below)
cannot be used as the
base for incremental dumps.
On Feb 13, 2008 6:04 PM, Eran Tromer <[EMAIL PROTECTED]> wrote:
> Hi Geoff,
>
> On 2008-02-13 06:07, Geoff Shang wrote:
> > organise backups of the office machine on one of the servers.
> >
> > I was going to use a simple rsync process, but as far as I can see it,
> > it would have to run as root on my end in order to be able to write to
> > directories owned by other people. I'm rather disinclined to do this
>
> > I don't mind setting up processes to run as root on the machine to be
> > backed up, in fact I don't see that I've got much choice about that.
>
> How about using rexecsync (http://tromer.org/misc/rexecsync)?
>
> On the backup server, just do:
> $ rexecsync -v 'ssh [EMAIL PROTECTED]' 'tar czf - /home' /backups/client.tgz
>
> Better yet, you don't need to run anything other than 'tar' as root.
> Just put the 'tar czf - /home' command in a suid-root binary that's
> executable only be a dedicated user, say [EMAIL PROTECTED], and then:
> $ rexecsync -v 'ssh [EMAIL PROTECTED]' 'path-to-suid' /backups/client.tgz
>
> Eran
>
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>