Thank you Ahmed. From what you say I believe its not a problem and the file can be used to restore to another server. On 5/3/2021 2:49:03 PM, Ahmed Rahal via observium observium@observium.org wrote: Hi Terry,
The 'tar' command strips the leading '/' to avoid overwriting an existing file in case you extract the archive into another folder.
It only means that if you're backing up a file with it's full path, you need to extract it in the root directory in order to get it back at the same location. Adding the --absolute-names option will remove the safegard at archive creation.
It actually only makes a difference at extraction time.
HTH,
Ahmed.
Le lun. 3 mai 2021, à 12 h 27, Terry Stone via observium <observium@observium.org [mailto:observium@observium.org]> a écrit :
The command I am actually using is tar zcvf /opt/backup/observium-rrd.tar.gz /opt/observium/rrd which I think is why I'm receiving the message. I am not clear what is rally happening so am not sure if the correct thing is been written into the archive. Perhaps someone can throw some light on it for me?
On 5/3/2021 8:55:23 AM, Terry Stone <terry@beach-works.com [mailto:terry@beach-works.com]> wrote: When backing up rrd with tar zcvf observium-rrd.tar.gz rrd I get the following message:
tar: Removing leading `/' from member names
Is this OK or should I use the --absolute-names option?
Also I am getting some messages saying file changed as we read it. This is understandable but do i need to do anything while running the backup to stop this from happening?
Thanks in advance. _______________________________________________ observium mailing list observium@observium.org [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
--
Ahmed Rahal
Administrateur de Systèmes / Systems Administrator
Fibrenoire - www.fibrenoire.ca [http://www.fibrenoire.ca/] A: 550 , avenue Beaumont, bureau 320, Montréal (Québec) H3N 1V1 arahal@fibrenoire.ca [mailto:arahal@fibrenoire.ca] Twitter: @fibrenoire _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium