Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th August 2005, 22:32
Jellus Jellus is offline
Junior Member
 
Join Date: Aug 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default Backup /home keeping permissions

Hi,

I have been looking on the internet .. to figure out how to back my /home using tar ...
but when i do (as root)

cd /home

tar zcvpf /mnt/backup/home.150805.tgz . > /mnt/backup/home.150805.log

and untar it later

in this drive /mnt/backup

doing

tar zxvf home.150805.tgz

then i find out when comparing the ownership of the original files in /home to the untarred backup files in /mnt/backup ... that not all the files have preserved their ownership .. in /mnt/backup ... changed ownership to root while in /home .. they are still owned by their original owner .. e.g. 1000 ...

Can anybody point out to me what i am doing wrong here ... give me a clue how to solve ..
this .. what i want to achieve anyway .. is backup my /home so i can delete a few partitions (one of them is my original /home partition) and create a new bigger /home partition .. so i have less space issues .. where i have to untar my backed up /home ...
change /etc/fstab accordingly ... and boot up again .. off course i need to do the deleting while being live for example with knoppix or so ...

If anybody could help me out here .. i would appreciate it a lot ...

Thanx already

Jellus
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 14:14.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.