Backup and entire dir using tar?

Sean Miller sean at seanmiller.net
Fri Jan 21 14:01:11 UTC 2005


I guess the point here is what use is the log?

tar cvf ....

If you want to know what files you've backed up then it's obviously 
worth using the "v" option; perhaps to save it to a logfile. But if you 
don't you can leave it out... then you'll only see the errors.

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 !

:-)

Sean




More information about the ubuntu-users mailing list