LinuxQuestions.org
Social Bookmarking all things Linux and Open Source
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General
User Name
Password
Linux - General This 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
 
Thread Tools
Old 06-06-2004, 01:02 PM   #1
tjay
LQ Newbie
 
Registered: Feb 2004
Location: texas
Distribution: slackware
Posts: 8
Thanked: 0
system backup with tar


[Log in to get rid of this advertisement]
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
tjay is offline     Reply With Quote
Old 06-09-2004, 11:36 AM   #2
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 318
Thanked: 0
Is it really safe to use your fat32 partition as a "backup" device then to shrink it?

How many hard drives?

AK
aikempshall is offline     Reply With Quote
Old 06-09-2004, 12:13 PM   #3
MS3FGX
Senior Member
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 4,218
Thanked: 80
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.
MS3FGX is offline     Reply With Quote
Old 06-09-2004, 12:32 PM   #4
tjay
LQ Newbie
 
Registered: Feb 2004
Location: texas
Distribution: slackware
Posts: 8
Thanked: 0

Original Poster
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
tjay is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 Off
HTML code is Off


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


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

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration