Backup Script weird tar message

Gerald Dachs ubuntu at dachsweb.de
Sun Feb 3 21:52:38 UTC 2008


Am Sun, 03 Feb 2008 13:38:17 -0500
schrieb Dubh Aingeal <ubuntu at dubh-aingeal.com>:

> So I am working on a shell script to do a incremental backups. The 
> script basically makes a full monthly backup then once a week makes 
> another full back up with daily incremental backups. To limit the 
> storage amount of backups, the script rewrites the weekly/daily
> backups. Eventually I want to add exclusions into it but that will be
> later (unless someone has some suggestions now). :p When I run the
> script to test it I get this message:
> 
> /bin/tar: Removing leading `/' from member names

This is no error, it is a feature. If tar wouldn't do this and
you would unpack this archive later in a subdir then tar would
ignore the subdir and overwrite you / file system.

Gerald   




More information about the ubuntu-users mailing list