LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-06-2004, 12:02 PM   #1
tjay
LQ Newbie
 
Registered: Feb 2004
Location: texas
Distribution: slackware
Posts: 8

Rep: Reputation: 0
system backup with tar


hi, i've decided to shrink my win2k(fat32) partition to add to my / and /home partitions, i am thinking that using the tar utility would be my best bet for backing up my system, i would tar my / /home and /boot directories and place them on my windows drive, shrink my windows down to size, then re-do my linux partitions with partition magic, so heres what i'm wondering

when tar'ing up does it skip the directories with a "." in front of them, issuing the command tar cvzf <filename.tar.gz>

once i've backed up, in what kind of steps do i take after resizing the partitions?

any tips and trick are appreciated, thanks!


tjay
 
Old 06-09-2004, 10:36 AM   #2
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Rep: Reputation: 153Reputation: 153
Is it really safe to use your fat32 partition as a "backup" device then to shrink it?

How many hard drives?

AK
 
Old 06-09-2004, 11:13 AM   #3
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Yeah, that doesn't sound like a very good backup strategy to me. The whole point of making backups is to get them out of the main storage device, so that if anything happens you will have a safe copy elsewhere.

Saving backups on your primary HDD, and then resizing the partition that the backup is on is just a very, very bad idea.

I would suggest using a second HDD at the very least (though I don't usually approve of HDDs as backup devices, since after all, if HDDs didn't fail, you wouldn't need backups in the first place), or better yet put the backups on a CD or copy them over the network to a different machine.
 
Old 06-09-2004, 11:32 AM   #4
tjay
LQ Newbie
 
Registered: Feb 2004
Location: texas
Distribution: slackware
Posts: 8

Original Poster
Rep: Reputation: 0
i was planning on setting them on a cd as well, but as it turns out, i just said f*ck it if i loose everything i don't care, and resized just my / partition, booted to linux and everythings fine

i got lucky.....i wouldnt recommend it to anybody else

tjay
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tar backup TheRealDeal Linux - General 7 02-08-2005 03:25 PM
tar system backup...best pack/unpack order? mikeybsae Linux - Software 3 08-20-2004 10:12 AM
Using tar for backup. TheRealDeal Linux - General 2 08-10-2004 11:46 PM
Tar syntax to backup system... robbow52 Debian 5 08-05-2004 11:35 AM
Backup entire system with tar sln Linux - General 2 04-30-2004 03:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration