Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 09-30-2004, 01:36 AM   #1
Registered: Aug 2004
Distribution: Debian sarge 2.6.8-2-k7
Posts: 60

Rep: Reputation: 15
filesystem image backup to CD

Hi all, a quick question (which I hope is an easy one):

I'd like to backup certain directories /home and /var/lib/cvs to CD (how to burn a CD is not the question atm). I can make zip files of these folders but then I lose the file attributes, such as owner, group, etc. (don't I?)

Is there a way of capturing all the file system information and making one big file of a directory and all subdirectories?

Old 09-30-2004, 03:30 AM   #2
Registered: Sep 2004
Location: India
Distribution: Solaris 9, FreeBSD 4.10, Slackware, RedHat, Knoppix,
Posts: 84

Rep: Reputation: 15
do a
# tar czvpf filename.tar.gz /home/*
# tar czvpf filename2.tar.gz /var/lib/cvs/*

that would retain the permisssions too

Old 09-30-2004, 07:07 AM   #3
Registered: Aug 2004
Distribution: Debian sarge 2.6.8-2-k7
Posts: 60

Original Poster
Rep: Reputation: 15
Thank you!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Complete Hard-Disk & Root Filesystem Backup taylor_venable *BSD 1 11-18-2005 02:20 PM
filesystem backup to DVD auditude Linux - Software 3 12-18-2004 07:15 AM
sem has incomplete type error in building the filesystem image sudhirvemana Linux - Newbie 1 11-25-2004 01:45 PM
Backup image with DD prnull Linux - Newbie 3 10-26-2004 03:50 PM
Mount Loopback filesystem on an entire HD image? wartstew Linux - General 0 01-24-2003 07:46 PM

All times are GMT -5. The time now is 11:28 AM.

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