Backup and entire dir using tar?

Martijn van de Streek martijn at foodfight.org
Fri Jan 21 14:11:51 UTC 2005


On Fri, 21 Jan 2005, Sean Miller wrote:

> Personally I'd send it to a file...
> 
> tar cvf x.tar /myfiles >/tmp/backup.log 2>&1
> 
> ...then I'd look for the errors manually *and* keep a log of my backup !
> 
> :-)

How about this one:

tar cvf x.tar /myfiles 2>&1 | tee /tmp/backup.log | less

Martijn
-- 
<Spike> Hey just because I know absoulutly nothing doesn't I'm stupid
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050121/6e47c800/attachment.sig>


More information about the ubuntu-users mailing list