Bug 1574674 - cannot restore many things from restore file(s)
Summary: cannot restore many things from restore file(s)
Alias: None
Product: Fedora
Classification: Fedora
Component: dump
Version: 28
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Josef Ridky
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2018-05-03 20:02 UTC by Ray Holme
Modified: 2018-05-03 21:31 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2018-05-03 21:31:15 UTC
Type: Bug

Attachments (Terms of Use)

Description Ray Holme 2018-05-03 20:02:22 UTC
Description of problem: when I restore a directory containing real dirs and symbolic links to the dir, the sym links are not restored;
 also all files in sub-directories chosen are not there, just the directory
   chosen and it's sub-directories are restored; NO FILES

Version-Release number of selected component (if applicable):

How reproducible: 100%

Steps to Reproduce:
1. cd /opt; mkdir something; ln -s something anything
2. dump the file system ( using zip and file splitting)
     cd someplace_to_dump_to
   (dump -u0 -f - -A home.toc -L home -z2 /home | split -b 2GB -d - home.dmp)
3. restore (interactively or full fails too)
     cd dump_dir_above
     zcat home* | (cd /someplace_to_restore; restore -if -)

Actual results: the link anything fails
  I also had tons of files under Pictures and did a full restore as well as an interactive restore.
   the files show as list in the "restore>" prompt
   but adding Pictures (interactively) only gets directories
       in a full restore (someplace else), I am also missing all the pictures.
     some files work fine, but for sub-directoris, they are all empty
     e.g. the top level "Pictures" was chosen in interactive mode
            all sub-directories are there, but NO files

Expected results: dump/restore used to work correctly

Additional info: This make ALL of my backups irrelevant and useless. It also makes it very hard to do a clean install and upate to a new release.

Comment 1 Ray Holme 2018-05-03 21:31:15 UTC
problem was zcat

 needed to

  cat home.dmp* | zcat | (cd ....; restore -if -)


Note You need to log in before you can comment on or make changes to this bug.