LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Thread Tools
Old 09-30-2004, 02:36 AM   #1
malbery
Member
 
Registered: Aug 2004
Distribution: Debian sarge 2.6.8-2-k7
Posts: 60
Thanked: 0
filesystem image backup to CD


[Log in to get rid of this advertisement]
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?

Thanks!
malbery is offline     Reply With Quote
Old 09-30-2004, 04:30 AM   #2
SiLiCoN
Member
 
Registered: Sep 2004
Location: India
Distribution: Solaris 9, FreeBSD 4.10, Slackware, RedHat, Knoppix,
Posts: 84
Thanked: 0
hi,
do a
# tar czvpf filename.tar.gz /home/*
# tar czvpf filename2.tar.gz /var/lib/cvs/*

that would retain the permisssions too

regards
SiLiCoN is offline     Reply With Quote
Old 09-30-2004, 08:07 AM   #3
malbery
Member
 
Registered: Aug 2004
Distribution: Debian sarge 2.6.8-2-k7
Posts: 60
Thanked: 0

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


All times are GMT -5. The time now is 12:53 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