Skip to contentSkip to conversation

The best way to backup a Linux workstation?

DISCUSSION Ola Theander 2 participants 4 messages Mar 18, 2003

lore
Share & tools
lore
#0 lore raw

Dear subscribers.

I would like to know the recommended way to backup a Linux workstation. Currently I use tar to pack a number of directories to a single file which I save on a CD. One problem I've noticed with this approach is that tar seems to ignore all hidden files i.e. files beginning with a '.' and there doesn't seem to be a switch to change this. This is a problem for me since some files, such as .profile, that I want to backup is ignored.

Any help on this matter would be greatly appreciated.

Kind regards, Ola Theander

-------------------------------------
Ola Theander System & Konsult
Essingetorget 46
SE-112 66 STOCKHOLM
SWEDEN

Mobile +46 (0)733 529395

Mail [email protected]
WWW http://www.otsystem.com
-------------------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#1 lore raw
Quoted 9 lines · Ola Theander

Dear subscribers.

I would like to know the recommended way to backup a Linux workstation. Currently I use tar to pack a number of directories to a single file which I save on a CD. One problem I've noticed with this approach is that tar seems to ignore all hidden files i.e. files beginning with a '.' and there doesn't seem to be a switch to change this. This is a problem for me since some files, such as .profile, that I want to backup is ignored.

Quoted 4 lines

Any help on this matter would be greatly appreciated.

Kind regards, Ola Theander

What does your tar line look like? My tar backs up anything starting with a ., it's just a matter of having the right syntax.

Mike

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#2 lore raw

Hi Mike.

My tar line looks like this: tar zcvf dest-file source-dirs

/Ola

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Mike Dresser
Sent: den 18 mars 2003 19:05
To: Ola Theander
Cc: [email protected]
Subject: Re: The best way to backup a Linux workstation?

Quoted 10 lines · Ola Theander

Dear subscribers.

I would like to know the recommended way to backup a Linux workstation. Currently I use tar to pack a number of directories to a single file which I save on a CD. One problem I've noticed with this approach is that tar seems to ignore all hidden files i.e. files beginning with a '.' and there doesn't seem to be a switch to change this. This is a problem for me since some files, such as .profile, that I want to backup is ignored.

Quoted 4 lines

Any help on this matter would be greatly appreciated.

Kind regards, Ola Theander

What does your tar line look like? My tar backs up anything starting with a ., it's just a matter of having the right syntax.

Mike

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#3 lore raw
Quoted 6 lines · Ola Theander

Hi Mike.

My tar line looks like this: tar zcvf dest-file source-dirs

/Ola

That's rather strange, because when i do a:

tar zcvf test.tar /home/mdresser, I get all my dot files in the tar file

Sounds like something specific to your distribution/version of tar.

what does tar --version say?, and which distro?

Mike

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs