Backing up files

Peter Ulrich Kruppa root at pukruppa.de
Sun Jul 11 10:35:14 PDT 2004


On Sun, 11 Jul 2004, Doug Paquette wrote:

> Group,
>
> I am extremely new to Free BSD and Im sorry for the probably basic questions but I need to know.
>
> I am installing some mods to my phpbb message board and I have been told to "backup" my stuff before I install these mods incase something should go wrong.
>
> I am wondering what the command line would be to accomplish this?
>
> My current webmaster who has been doing the work for me has been extremely busy the past few weeks and has no time to help me right now so im forced to learn this on my own.
>
> The files he has been creating end in .tar.gz and .bak.
To backup a directory in .tar.gz format you can do
# tar -c directory -f directory.tar
# gzip directory.tar
To decompress and unpack it  do
# tar zxf directory.tar.gz

Regards,

Uli.

>
> Any help on this would be greatly appreciated.
>
> Thanks much
>
> Doug
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>

 	+---------------------------+
 	|    Peter Ulrich Kruppa    |
         |         Wuppertal         |
         |          Germany          |
         +---------------------------+


More information about the freebsd-questions mailing list