LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-08-2005, 01:14 PM   #1
Garibaldi3489
Member
 
Registered: Oct 2004
Posts: 172

Rep: Reputation: 30
Backing up my slack partition - what app to use?


Hello,

Here is my current hard drive setup:
140 GB NTFS with Windows XP installed
4 GB (its full) Fat32 with HP Recovery Software
20 GB reseirfs Slackware -current installed

I would like to backup my entire slackware install, so I could try out a couple other distros and then if I don't like them restore my slackware install. I'm looking for an app that can backup my 20 GB install into a gzipped file or image file on my linux partition that I can then just burn to cds or dvds. Does anyone know of a free app that would do this?

I don't want to resize my windows partition because I don't have it all backed up and have some valuable data on it.

Thanks,
Garibaldi
 
Old 06-08-2005, 01:23 PM   #2
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Rep: Reputation: 31
tar
 
Old 06-08-2005, 01:26 PM   #3
Garibaldi3489
Member
 
Registered: Oct 2004
Posts: 172

Original Poster
Rep: Reputation: 30
So how would I do that, just create a new targz file in a directory and then add the root directory to it? What about restoring, how would I restore an install from such a backup?
 
Old 06-08-2005, 01:29 PM   #4
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Rep: Reputation: 31
Make tarballs consisting of everything under / .
When installing Slackware again, after the install, get your cd's/dvd's and untar everything in the appropriate places.

I've never tried this myself, but I see no reason why this would fail?
 
Old 06-08-2005, 01:36 PM   #5
Garibaldi3489
Member
 
Registered: Oct 2004
Posts: 172

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by merchtemeagle
Make tarballs consisting of everything under / .
When installing Slackware again, after the install, get your cd's/dvd's and untar everything in the appropriate places.

I've never tried this myself, but I see no reason why this would fail?
So could I just make a targz file for every directory in the root folder? I think this would work, but I wonder if there are any apps that might do this (like even a live-cd)?
 
Old 06-08-2005, 01:52 PM   #6
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
take a live cd mount your slack partition cd to the / of your slack partition

tar cjvpf /xxx/slackbackup.tar.bz2

xxx is where you want the bz2 file to go

you could do from within slack but you'd have to exclude /proc /mnt and /sys directory's

Last edited by Boow; 06-08-2005 at 01:54 PM.
 
Old 06-08-2005, 01:54 PM   #7
Garibaldi3489
Member
 
Registered: Oct 2004
Posts: 172

Original Poster
Rep: Reputation: 30
Why would I have to exclude the /proc /mnt and /sys directories?
 
Old 06-08-2005, 02:51 PM   #8
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
/proc /sys are virtual file systems. tar would descend into any mounted file systems is why we exclude /mnt
 
Old 06-08-2005, 02:59 PM   #9
Garibaldi3489
Member
 
Registered: Oct 2004
Posts: 172

Original Poster
Rep: Reputation: 30
I tried bz2zipping all the folders other than those 3 but it ran out of hard drive space, even though my drive was less than half full!!
 
Old 06-08-2005, 03:11 PM   #10
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
you dont have another partition with enough space to save the file to.
 
Old 06-08-2005, 03:15 PM   #11
Garibaldi3489
Member
 
Registered: Oct 2004
Posts: 172

Original Poster
Rep: Reputation: 30
The only other partition I have is an NTFS partition, and linux CANNOT write to NTFS (as you're probably already aware). This is my predicament. What I can try to do is clean up my home dir to make it so the files are less than 4.3 GB, and then just burn the normal unzipped folders onto a dvd.
 
Old 06-08-2005, 06:52 PM   #12
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
sure you could do this with tar - but based on your goal, it may just be easier to throw any valuable stuff into /home and burn that, or just burn media files, etc., then just do a full reinstall later. assuming you don't have a huge quantity of additional apps, the time difference probably wouldn't be much either way, but Patrick's already done all the work to assemble the packages

Last edited by Genesee; 06-08-2005 at 06:56 PM.
 
Old 06-08-2005, 07:00 PM   #13
Garibaldi3489
Member
 
Registered: Oct 2004
Posts: 172

Original Poster
Rep: Reputation: 30
Ok, I'll give that a try. Thanks a lot!
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
What app can REALLY delete a partition? (not fdisk, parted, etc...) kornerr Linux - General 4 05-28-2005 12:14 PM
backing up a partition nkoplm Linux - General 2 05-26-2005 11:53 PM
norton ghost type app for slack? slackb0t Slackware 2 04-21-2005 11:27 PM
way to run one app from a different partition? questionasker Linux - General 6 04-21-2004 10:07 PM
Backing up entire Linux System (partition) podollb Linux - Software 4 10-14-2003 10:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:57 PM.

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