Find the answer to your Linux question:
Results 1 to 3 of 3
Hello and Help, I am trying to create incremental backup files with gtar and the -g option. The backup appears to be working but the restore is doing some rather ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2003
    Location
    Laurel, MD
    Posts
    27

    gtar -g option, incremental backups


    Hello and Help,

    I am trying to create incremental backup files with gtar and the -g option.
    The backup appears to be working but the restore is doing some rather strange things.

    I create the tar with the command

    gtar -cf test.tar -g test.snap .

    I have tried to restore with the command

    gtar -xvf test.tar
    or
    gtar -xvf test.tar -g test.snap

    What I get is numbered directories with the files in them. I do not get the original directory structure.

    Please help. What am I doing wrong?

    Thank you,
    Thomas L. Gossard
    thllgo

  2. #2
    Linux Enthusiast
    Join Date
    Jun 2004
    Location
    Windsor, CO
    Posts
    656
    I think you need to specify an option to get the directories archived, but I'm not sure which command. I'll check when I get home, school has no linux systems.
    Emotions are the key to the soul.
    Registered Linux User #375050

  3. #3
    Just Joined!
    Join Date
    Sep 2003
    Location
    Laurel, MD
    Posts
    27
    I appreciate your help. I figured there was an option I couldn't yet find that would need to be applied to the restore end of things.

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •