Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #202245

Re: Archiving content of a directory on a DVD-R.

From "Thomas Schmitt" <scdbackup@gmx.net>
Newsgroups linux.debian.user
Subject Re: Archiving content of a directory on a DVD-R.
Date 2018-11-08 09:00 +0100
Message-ID <wRNom-IE-7@gated-at.bofh.it> (permalink)
References <wREEq-3R0-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

Lee <ler762@gmail.com> wrote:
> > any chance there's a symlink in the directory? that you want archived?
> > tar -h
> >   Follow symlinks; archive and dump the files they point to.

peter@easthope.ca wrote:
> I can't think of a reason for a symlink to 
> exist but will keep the possibility in mind.  An exception is a likely 
> source of trouble.

Actually i think that symbolic links should be backuped as what they are.

Backing up link targets instead will prevent recreating of the link
relation at restore time. If the link target or link siblings are also part
of the backup, then they will be backuped and restored as duplicates.

Said this, if you use xorriso for making an ISO 9660 you can control this
by command -follow. Default is

  -follow pattern:mount:limit=100

which will follow links during resolving of search patterns (as would the
shell do), will follow a sub tree into a different mounted filesystem,
and limit link chain length to 100 in order to avoid link loops.

If you want to follow symbolic links inside tress, perform before the
first -map command:

  -follow link:mount:limit=100

If you do not want this but only want to record the link targets of
program arguments, like $SYMBOLIC_LINK_PATH in

  -map $SYMBOLIC_LINK_PATH $ISO_PATH

then perform

  -follow param:mount:limit=100


Have a nice day :)

Thomas

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Archiving content of a directory on a DVD-R. peter@easthope.ca - 2018-11-04 16:50 +0100
  Re: Archiving content of a directory on a DVD-R. "Thomas Schmitt" <scdbackup@gmx.net> - 2018-11-04 19:00 +0100
    Re: Archiving content of a directory on a DVD-R. Jonathan Dowland <jmtd@debian.org> - 2018-11-07 12:30 +0100
      Re: Archiving content of a directory on a DVD-R. "Thomas Schmitt" <scdbackup@gmx.net> - 2018-11-07 13:10 +0100
        Re: Archiving content of a directory on a DVD-R. Jonathan Dowland <jmtd@debian.org> - 2018-11-07 15:40 +0100
  Re: Archiving content of a directory on a DVD-R. David Christensen <dpchrist@holgerdanske.com> - 2018-11-05 00:20 +0100
  Re: Archiving content of a directory on a DVD-R. Greg Wooledge <wooledg@eeg.ccf.org> - 2018-11-05 15:10 +0100
    Re: Archiving content of a directory on a DVD-R. <tomas@tuxteam.de> - 2018-11-05 15:40 +0100
  Re : Archiving content of a directory on a DVD-R. peter@easthope.ca - 2018-11-07 23:40 +0100
    Re: Archiving content of a directory on a DVD-R. "Thomas Schmitt" <scdbackup@gmx.net> - 2018-11-08 09:00 +0100
  Re: Archiving content of a directory on a DVD-R. peter@easthope.ca - 2018-11-08 00:00 +0100
    pushd/podp (was Re: Archiving content of a directory on a DVD-R.) Jonathan Dowland <jmtd@debian.org> - 2018-11-08 10:50 +0100
      Re: pushd/popd peter@easthope.ca - 2018-11-09 16:10 +0100
        Re: pushd/popd Greg Wooledge <wooledg@eeg.ccf.org> - 2018-11-09 17:30 +0100
          Re: pushd/popd Jonathan Dowland <jmtd@debian.org> - 2018-11-09 21:50 +0100
        Re: pushd/popd Jonathan Dowland <jmtd@debian.org> - 2018-11-09 17:30 +0100
        Re: pushd/popd peter@easthope.ca - 2018-11-10 19:30 +0100
          Re: pushd/popd David Wright <deblis@lionunicorn.co.uk> - 2018-11-11 07:00 +0100
            Re: pushd/popd Greg Wooledge <wooledg@eeg.ccf.org> - 2018-11-12 14:50 +0100
              Re: pushd/popd David Wright <deblis@lionunicorn.co.uk> - 2018-11-12 21:40 +0100
    Re: Archiving content of a directory on a DVD-R. Greg Wooledge <wooledg@eeg.ccf.org> - 2018-11-08 14:20 +0100
      Re: Archiving content of a directory on a DVD-R. peter@easthope.ca - 2018-11-12 23:00 +0100
        Re: Archiving content of a directory on a DVD-R. Greg Wooledge <wooledg@eeg.ccf.org> - 2018-11-12 23:20 +0100
          Re: Archiving content of a directory on a DVD-R. peter@easthope.ca - 2018-11-13 03:40 +0100
            Re: Archiving content of a directory on a DVD-R. Greg Wooledge <wooledg@eeg.ccf.org> - 2018-11-13 14:20 +0100
              Re: Archiving content of a directory on a DVD-R. peter@easthope.ca - 2018-11-13 16:00 +0100
              Re: Archiving content of a directory on a DVD-R. Jonathan Dowland <jmtd@debian.org> - 2018-11-14 11:00 +0100
                Re: Archiving content of a directory on a DVD-R. Greg Wooledge <wooledg@eeg.ccf.org> - 2018-11-14 14:40 +0100
                Re: Archiving content of a directory on a DVD-R. Jonathan Dowland <jmtd@debian.org> - 2018-11-14 16:40 +0100

csiph-web