LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   dump and restore (https://www.linuxquestions.org/questions/slackware-14/dump-and-restore-640798/)

ChrisAbela 05-08-2008 08:15 AM

dump and restore
 
It appears that there are no Slack packages for dump, so I installed from source at http://dump.sourceforge.net. Installation was easy and although I got some errors regarding the man pages, dump works fine.
My question is about restore. I need to restore data from a Logical Volume. My documentation gives the following command line as an example:

# restore -r -f /dev/vg00/backup /home

yet -r and -f options are not supported by the installed restore. From
# restore --help
usage: restore [OPTIONS] [PATTERN [PATTERN...]]
Options are:

-a, --all Restore all filesystems.
-l, --level=LEVEL Start restoring from the given backup LEVEL
(default 0).
-v, --verbose[=LEVEL] Set verbosity level. Default 100.

Informational options:
-h, --help Display this help message.
-V, --version Display program version.

I also tried:
# restore /dev/vg00/backup
Directory /usr/etc/backup is not found.
The following directories and files are needed for the backup to function:

1. Directory with configuration files and file lists:
/usr/etc/backup
2. Directory for backup log files
/usr/etc/backup/log
3. Main configuration file
/usr/etc/backup/backup-specs

Please, create these and invoke the script again.

I would appreciate any hints from experienced dump/restore users on Slack

Regards
Chris


All times are GMT -5. The time now is 06:29 PM.