[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: backup tool



abel@bfr.co.il (Alexander L. Belikoff) 
|
|Can anybody recommend a free/commercial backup tool meeting the
|following requirements:
|
|1. Networked
|
|2. Not NFS-based.
|
|3. (If rsh/rlogin/rhosts/tcp wrappers -based) Should work in an
|environment without root rlogin/rsh facilities. As a non root user,
|rsh/rlogin is guaranteed not to prompt for password.
|
|4. Scenario-based. Must be customizeable enough to allow to
|include/exclude various parts of the filesystem, based on scenario
|
|5. Cron-friendly, so that it'd allow unattended backups.

Try looking at the level-0 and level-1 scripts which come with GNU
tar.  It sounds like it could answer those requirements.  Use ssh for
remote execution (i.e. give link rsh/rcp to ssh/scp in a way that will
cause GNU tar to call them instead of the traditional rsh/rcp) (I'd
recommand you to disable the original r* commands altogether,
especially the daemons).  Maybe you can exploit ssh compression to
speed things up a bit.

|The reasons are that the backup tool we used for a long time stopped
|working in RedHat 4.1/kernel 2.0.30. It was NFS based; primitively
|speaking:
|
|	'find ... > lst; tar -T lst ...'
|
|... with all machines NFS-mounted to the backup server.Now tar just
|dies with return code 2 in the middle of this list (always at the very
|same file). Even hard-mounted NFS doesn't help.

Hmm, strange.  What does?  find or tar?  Try checking for space on the
disk holding 'lst', the size of the tape, the amount of data writen to
the tape before it exits, how much does TAR think the tape can take
etc.  I believe you can also make tar read the list from its standard
input ("-T -").  Also another good precausion would be to use find's
'-print0' and tar's '-null', to avoid problems with newlines in file
names.

Then again, look at the scripts I mentioned above, even if just to get
some more ideas.

--Amos

--Amos Shapira                    | "Of course Australia was marked for
133 Shlomo Ben-Yosef st.          |  glory, for its people had been chosen
Jerusalem 93 805                  |  by the finest judges in England."
ISRAEL        amos@gezernet.co.il |                     -- Anonymous


References: