is this command right for backup the tools directory ?
I finished my LFS system and it is booted.
I want to backup from my /tools directory then delete it from my LFS system , is below command right for bachup ? is it preserve symliks and all attributes are in /tools ?
tar --preserve-permissions --preserve-order -jc /mnt/lfs/tools > /root/backup_tools.tar.bz2
I am log in as root user from host system to run above command.
if it is wrong, please tell me right one.
# cd /mnt/lfs/tools
# tar -cvjf /root/backup_tools.tar.bz2 .
Don't forget the period at the end of the tar command to backup the current directory.
are you use again /tools backup to construct another lfs ?
I want to construct lfs7.2 with /tools from lfs7.1
up to now, I build just lfs7.1, and enjoy to build again lfs to overcome its contents. I want to use /tools from lfs7.1 to build lfs7.2 . please help me how to transfer this directory that the symlinks and permissions and other attr be saved.
- Did you finish LFS 7.1 and do you now want to use $LFS/tools to build another LFS? You can't (you should have made a backup at the end of chapter 5)
- You seem to want to use the $LFS/tools you build for LFS 7.1 to build LFS 7.2? You can't (not the same book version)
Both are mentioned right here: http://www.linuxfromscratch.org/lfs/...gingowner.html
|All times are GMT -5. The time now is 11:23 PM.|